Skip to content

Commit 1f88c8b

Browse files
Nicolas Brieusselclaude
authored andcommitted
docs: add local dev workflow + gitops_revision gotcha to README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent d628f0a commit 1f88c8b

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,33 @@ The `platform` App-of-Apps picks it up automatically.
172172

173173
---
174174

175+
## Local development workflow
176+
177+
**Smoke test** (destroy + rebuild everything from scratch):
178+
```bash
179+
# from the infrastructure repo
180+
mise run reset && mise run dev
181+
```
182+
183+
ArgoCD takes a few minutes to reconcile all apps — be patient. The difference between "still syncing" and "actually stuck" is visible in:
184+
```bash
185+
kubectl --context minikube get applications -n argocd
186+
```
187+
188+
**Important:** before running, check `infrastructure/02-cluster/local/nico.auto.tfvars` — it contains the `gitops_revision` variable that controls which branch of this repo ArgoCD will deploy from. If you're testing a feature branch, set it there:
189+
```hcl
190+
gitops_revision = "feat/your-branch"
191+
```
192+
If it points to `main` and your changes aren't merged yet, ArgoCD will deploy the old code.
193+
194+
**Validate OpenBao is up:**
195+
```bash
196+
kubectl --context minikube get clustersecretstore openbao
197+
# READY=True → OpenBao running, unsealed, ESO connected
198+
```
199+
200+
---
201+
175202
## Accessing the demo app (local)
176203

177204
After `mise run reset && mise run dev` in the infrastructure repo:

0 commit comments

Comments
 (0)