Repository navigation
P4: quickstart, runbook and an end-to-end test on kind - #10
Merged
Merged
Conversation
…t server; e2e workflow Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…l ntfy step for a prod cluster Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
P4: the newcomer path.
scripts/e2e.shinstantiates the template end to end on a throwaway kind clusterslo-e2e, with no GitHub token and no external repository.initcreates an instance with sample-app (clustere2e: lab, kind).tofu apply -target=kind_cluster.thiscreates the cluster. An in-cluster git server (scripts/e2e/git-server.yaml) gets two repos.product.gitis this checkout's working tree as one parentless commit on branche2e, built with a temporary index, so the checkout is never touched and shallow CI checkouts work.instance.gitis the instance. A fulltofu applyfollows.scripts/e2e/wait.pythen waits until every Application is Synced+Healthy: the root, what it renders, and what the ApplicationSet generates.--experimentruns sample-app-down, which must PASS. A diagnosis runs on failure. Cleanup always runs (trap) unless--keep. TF_DATA_DIR and the kubeconfig stay in the temp dir, so~/.kube/configand other clusters are never touched.python:3.13-alpine3.22plusapk add git git-daemon. It runsgit http-backend(smart HTTP, protocol v0/v2) behind about 50 lines of stdlib Python. Repos are copied in withkubectl exec … tar. It is read-only and uses ~32 Mi..github/workflows/e2e.ymlruns weekly and onv*tags (with the experiment), on PRs that change the e2e (with the experiment), and on dispatch. It uploads diagnostics on failure and the experiment report always.docs/quickstart.md: prerequisites; init → push → bootstrap → watch Argo CD (15 apps) → first experiment → reading the verdict → clean up; an optional ntfy step on a prod cluster (lab clusters notify nobody); troubleshooting.docs/runbook.md: a generic runbook per alert, adapted from the blueprint.Results: CI e2e (2 vCPU / 8 GB): converged in 7–8 min, sample-app-down PASS (page after 2.4–2.6 min, resolved 4.8–5.0 min after the fault), 16–17 min total. Local macOS (Docker Desktop): converged in 10 min, PASS, 20 min total.
🤖 Generated with Claude Code