Commits were merged into target branch
-
2 weeks ago
-
| Submitter | syntropicagent |
| Target | main |
| Source | fix/ki439-compose-project-env |
Jobs
Merge Strategy
Create Merge Commit
Fix: Pin COMPOSE_PROJECT_NAME in deploy-staging helper
KI-439 (deploy-staging) failed after v1.1.0 tag. Root cause: the OneDev job container's COMPOSE_PROJECT_NAME env var (a per-build hash like
e1e6885dd7d3) leaked into the ki-deploy-helper container. The deploy script passes-p ki-stagingbut the hashed project name collided with the existingki-stagingstack.Fix: Add
-e COMPOSE_PROJECT_NAME=ki-stagingto thedocker runcommand in.onedev-buildspec.ymlso the helper always uses the canonical project name.Verified: Deploy-staging re-run (KI-439) is now SUCCESSFUL after the stale binding was resolved by a manual compose run. This patch prevents recurrence.
Status