stack-orchestrator/tests
Prathamesh Musale c835ad7fdf test(k8s-deploy): cover caddy cert backup install + full backup/restore
Two new test blocks in the existing k8s-deploy run-deploy-test.sh:

1. After first --perform-cluster-management start, assert that
   caddy-cert-backup SA/Role/RoleBinding/CronJob were deployed by
   install_ingress_for_kind.

2. Before final teardown, a full backup→restore cycle: seed a fake
   manager=caddy Secret, trigger the CronJob immediately (kubectl
   create job --from=cronjob), verify the backup file appeared under
   {kind-mount-root}/caddy-cert-backup/caddy-secrets.yaml with the
   seeded value, then stop --perform-cluster-management (destroys
   Kind cluster), start --perform-cluster-management (fresh cluster,
   runs restore before Caddy Deployment), assert the seeded Secret
   was recreated with matching data.

kind-mount-root points at ~/stack-orchestrator-test/kind-mount
(sibling of CERC_REPO_BASE_DIR, outside any deployment dir).
Previous runs' root-owned files are cleaned via sudo rm -rf at start.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 08:55:56 +00:00
..
container-registry Fix failing k8s and external-stack CI test scripts (#739) 2026-04-02 15:00:57 +05:30
database Fix failing k8s and external-stack CI test scripts (#739) 2026-04-02 15:00:57 +05:30
deploy fix: resolve stack path from repo root + update deploy test 2026-03-20 15:14:47 +00:00
external-stack Fix failing k8s and external-stack CI test scripts (#739) 2026-04-02 15:00:57 +05:30
fixturenet-laconicd Update fixturenet-laconicd stack for renaming changes (#891) 2024-07-25 08:50:15 +00:00
k8s-deploy test(k8s-deploy): cover caddy cert backup install + full backup/restore 2026-04-17 08:55:56 +00:00
k8s-deployment-control Fix failing k8s and external-stack CI test scripts (#739) 2026-04-02 15:00:57 +05:30
laconic-network Apply pre-commit linting fixes 2026-01-20 23:16:44 -05:00
mainnet-eth Apply pre-commit linting fixes 2026-01-20 23:16:44 -05:00
scripts Add Job and secrets support for k8s-kind deployments (#995) 2026-03-11 03:56:21 +00:00
smoke-test rename laconic-sdk to registry-sdk (#897) 2024-07-31 08:01:02 +00:00
webapp-test Fix invalid docker command in webapp-test 2026-01-24 16:39:00 -05:00