From c8883d0e40f24b22c437ce3654ad5d48ad53af22 Mon Sep 17 00:00:00 2001 From: Marcel Date: Fri, 15 May 2026 16:33:07 +0200 Subject: [PATCH] fix(ci): isolate compose-idempotency network from archiv-net collisions The name: archiv-net declaration (needed so docker-compose.observability.yml can join the network as external: true) caused the compose-idempotency CI job to collide with any archiv-net left on the runner from staging or a previous run. mc would resolve 'minio' to the wrong container and fail with a signature mismatch. Make the network name interpolable via COMPOSE_NETWORK_NAME (default: archiv-net so production/staging behaviour is unchanged). Inject COMPOSE_NETWORK_NAME= test-idem-archiv-net into the stub env file so the idempotency test always gets a fully isolated network. Co-Authored-By: Claude Sonnet 4.6 --- .gitea/workflows/ci.yml | 1 + docker-compose.prod.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 1cdb92e9..8052a602 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -305,6 +305,7 @@ jobs: MAIL_PORT=1025 APP_MAIL_FROM=noreply@local IMPORT_HOST_DIR=/tmp/dummy-import + COMPOSE_NETWORK_NAME=test-idem-archiv-net EOF - name: Bring up minio diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 73139252..b677d11e 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -39,7 +39,7 @@ networks: archiv-net: driver: bridge - name: archiv-net + name: ${COMPOSE_NETWORK_NAME:-archiv-net} volumes: postgres-data: