ci: add concurrency limit to Woodpecker pipeline
Limit concurrent pipeline runs to 4 to control resource usage while maintaining parallel matrix builds for all 21 services
This commit is contained in:
parent
3432d67cc4
commit
23587cdc63
1 changed files with 8 additions and 0 deletions
|
|
@ -1,7 +1,14 @@
|
|||
# Woodpecker CI - All 21 services + migrate run in parallel via matrix
|
||||
# Woodpecker executes each matrix entry as a separate pipeline concurrently
|
||||
|
||||
when:
|
||||
branch: [main, high-performance]
|
||||
event: push
|
||||
|
||||
# Limit concurrent pipelines to avoid overwhelming resources
|
||||
concurrency:
|
||||
limit: 4
|
||||
|
||||
matrix:
|
||||
SERVICE:
|
||||
- gateway
|
||||
|
|
@ -50,6 +57,7 @@ steps:
|
|||
cache: false
|
||||
|
||||
---
|
||||
# Separate pipeline for database migrations (runs independently)
|
||||
when:
|
||||
branch: [main, high-performance]
|
||||
event: push
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue