forked from molecule-ai/molecule-core
Merge pull request #290 from Molecule-AI/chore/ci-e2e-api-concurrency-group
chore(ci): serialize e2e-api across runs to prevent docker collision
This commit is contained in:
commit
ea68b5a378
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -77,6 +77,14 @@ jobs:
|
||||
name: E2E API Smoke Test
|
||||
runs-on: [self-hosted, macos, arm64]
|
||||
timeout-minutes: 15
|
||||
# Serialize across ALL CI runs globally. With multiple self-hosted
|
||||
# runners, two e2e-api jobs could otherwise execute concurrently and
|
||||
# collide on the fixed docker container names ($PG_CONTAINER /
|
||||
# $REDIS_CONTAINER) and host ports 15432/16379. `cancel-in-progress:
|
||||
# false` means later runs queue rather than cancel the current one.
|
||||
concurrency:
|
||||
group: e2e-api
|
||||
cancel-in-progress: false
|
||||
# `services:` is Linux-only on self-hosted runners — we start postgres
|
||||
# and redis via `docker run` instead. Ports 15432/16379 avoid collision
|
||||
# with anything the host may already have on the standard ports.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user