Commit 9911e4c
fix: add concurrency control to sharing-server deploy workflow
Prevent concurrent Terraform runs from conflicting on the same Azure Blob
Storage state file. Without concurrency serialization, two pushes to the
same branch can trigger simultaneous deploy jobs that both try to acquire
the same state lock, causing 'state blob is already locked' failures.
- For branch pushes (testing): cancel-in-progress so new commits don't
wait behind stale deploys.
- For main (production): queue (cancel-in-progress=false) so production
deploys always complete rather than being cancelled mid-apply.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 2a773a7 commit 9911e4c
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
14 | 22 | | |
15 | 23 | | |
16 | 24 | | |
| |||
0 commit comments