stack-orchestrator/.github/workflows
pranav d141546cdd add e2e test for hook re-copy on restart
Covers two scenarios on a single Kind cluster:
- Single-repo: deploy create copies commands.py into hooks/, deployment
  start runs it, mutating the stack-source working tree to v2 + deployment
  restart re-copies and re-executes v2.
- Multi-repo: stack with two pod repos produces hooks/commands_0.py +
  commands_1.py, deployment start invokes both pod start() hooks.

The test stages stack files into a temp git clone (bare + working) so
restart's git pull has a real upstream. busybox pods keep the harness
trivial. Phase 2 uses kubectl wait directly because deployment ps's
substring filter (deploy_k8s.py:1366) doesn't list multi-pod stacks.

Also tightens the _copy_hooks docstring to spell out that only
call_stack_deploy_start loads from the copied location.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-28 10:32:18 +00:00
..
triggers Migrate canonical source from Gitea to GitHub (#738) 2026-04-02 10:58:14 +05:30
fixturenet-eth.yml Migrate canonical source from Gitea to GitHub (#738) 2026-04-02 10:58:14 +05:30
fixturenet-laconicd.yml Migrate canonical source from Gitea to GitHub (#738) 2026-04-02 10:58:14 +05:30
lint.yml Add flake8 lint check in CI (#522) 2023-09-04 12:46:16 -06:00
publish.yml merge upstream: resolve test-k8s-deploy.yml conflict, add workflow_call 2026-04-02 05:30:14 +00:00
test-container-registry.yml Migrate canonical source from Gitea to GitHub (#738) 2026-04-02 10:58:14 +05:30
test-database.yml Migrate canonical source from Gitea to GitHub (#738) 2026-04-02 10:58:14 +05:30
test-deploy.yml Migrate canonical source from Gitea to GitHub (#738) 2026-04-02 10:58:14 +05:30
test-external-stack.yml Migrate canonical source from Gitea to GitHub (#738) 2026-04-02 10:58:14 +05:30
test-k8s-deploy.yml add e2e test for hook re-copy on restart 2026-04-28 10:32:18 +00:00
test-k8s-deployment-control.yml Migrate canonical source from Gitea to GitHub (#738) 2026-04-02 10:58:14 +05:30
test-webapp.yml Migrate canonical source from Gitea to GitHub (#738) 2026-04-02 10:58:14 +05:30
test.yml Migrate canonical source from Gitea to GitHub (#738) 2026-04-02 10:58:14 +05:30