Add Railiance promote rollback tooling

This commit is contained in:
tegwick 2026-06-27 17:01:11 +02:00
parent 6d862e68be
commit 87bd73b26b
9 changed files with 484 additions and 15 deletions

View file

@ -152,7 +152,7 @@ digest_policy = "preferred"
[rollback]
strategy = "helm-revision"
command = "bin/railiance rollback ${APP_ID}"
command = "railiance rollback . --plan"
verification = "Stable release health check returns 200 after rollback."
[platform]
@ -197,7 +197,7 @@ observation_minutes = 30
enabled = true
namespace = "${APP_ID}"
release = "${APP_ID}"
commands = ["bin/railiance promote ${APP_ID}", "bin/railiance observe ${APP_ID}"]
commands = ["railiance promote . --plan", "railiance rollback . --plan"]
checks = ["stage2-accepted", "rollback-target", "cluster-health"]
evidence = ["promotion command id", "new stable digest", "post-promotion smoke"]
requires_approval = true
@ -748,7 +748,9 @@ change \`railiance.traffic.mode\` to \`weighted\`, set \`provider: traefik\`,
and choose explicit stable/canary weights in \`values/stage2-canary.yaml\`.
Before Stage 2 apply, fill in real image repositories, platform dependencies,
observability endpoints, rollback target details, and approval evidence.
observability endpoints, rollback target details, and approval evidence. Before
Stage 3, run \`railiance promote . --plan\` and \`railiance rollback . --plan\`
so stable promotion and rollback evidence can be reviewed together.
EOF
cat > "${OUT_DIR}/.gitignore" <<'EOF'