From 99706850de65884955022bc715c713dd1e5e1ad6 Mon Sep 17 00:00:00 2001 From: Kombiz Lavasany Date: Fri, 25 Sep 2026 02:38:04 -0500 Subject: [PATCH] ci: tear down Postgres/Redis/MinIO fixtures at job end The owner registered these as ephemeral per-job CI fixtures on 2026-09-25 (self-hosted-ci-buzz): job-scoped containers, destroyed at job end, nothing persistent. The two ci.yml jobs that start them with `docker compose up -d postgres redis minio minio-init` (desktop-e2e-integration-shard, backend-integration) now end with an always() step that runs `docker compose down --volumes --remove-orphans`, so the containers and the buzz-postgres-data / buzz-minio-data volumes are removed even on failure or cancellation. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index acdf5237bd8..87f20bc82c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -540,6 +540,11 @@ jobs: with: path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} key: pnpm-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }} + - name: Tear down ephemeral integration fixtures + # Job-scoped CI fixtures: remove the Postgres/Redis/MinIO containers + # and their named volumes at job end so nothing persists on the runner. + if: always() + run: docker compose down --volumes --remove-orphans desktop-e2e-integration: name: Desktop E2E Integration @@ -698,6 +703,11 @@ jobs: name: backend-integration-relay-log path: /tmp/buzz-relay.log if-no-files-found: ignore + - name: Tear down ephemeral integration fixtures + # Job-scoped CI fixtures: remove the Postgres/Redis/MinIO containers + # and their named volumes at job end so nothing persists on the runner. + if: always() + run: docker compose down --volumes --remove-orphans relay-e2e: name: Relay E2E