The local development environment is powered by Tilt.dev. Tilt manages the building, testing, and running of kubechecks within a local Kubernetes cluster. It also handles deploying ArgoCD, demo applications, and ngrok for webhook testing.
1. Store secrets in your OS keychain
It is highly recommended to store secrets in your OS keychain rather than using a .secret file to avoid keeping plaintext on disk.
Required: You must provide either GITLAB_TOKEN or GITHUB_TOKEN.
Optional: KUBECHECKS_WEBHOOK_SECRET, OPENAI_API_TOKEN, or ANTHROPIC_API_KEY.
macOS (Keychain Access):
Use the security command. Use the -w flag without a value to prompt for the secret interactively, which prevents the secret from appearing in your shell history.
Linux (pass):
Install pass (e.g., sudo apt install pass), initialize it with your GPG key using pass init "your-email@example.com", and then use pass insert to add secrets.
2. Configure VCS type
If testing with GitHub, create a tilt_config.json file in the root directory to specify the version control system (the default is gitlab).
3. Start Tilt
Run tilt up from the root directory of the repository. You can then press the space bar in the terminal to open the Tilt web UI.
// tilt_config.json
{
"vcs-type": "github"
}