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:
Tracewebstudio Dev 2026-04-13 20:21:41 +02:00
parent 3432d67cc4
commit 23587cdc63

View file

@ -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