From 8b90c550cd36db954836c2299d59540a7a3e29f8 Mon Sep 17 00:00:00 2001 From: Matias Garcia Isaia Date: Wed, 6 Mar 2024 15:49:00 -0300 Subject: [PATCH] Drop temporary DB connection test --- .github/workflows/build.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a679650e..af2cd9be 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,18 +8,6 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Test internal connectivity - run: | - cp docker-compose.ci.yml docker-compose.override.yml - docker compose up --wait db - docker compose run --rm -e PGPASSWORD="${POSTGRES_PASSWORD}" db psql --host db --username planwise --list || true - timeout 60s sh -c "while ! nc -z $(docker inspect planwise-db-1 | jq -r '.[0].NetworkSettings.Networks.planwise_default.IPAddress') 5432; do sleep 1; done" || true - docker inspect planwise-db-1 - docker compose run --rm -e PGPASSWORD="${POSTGRES_PASSWORD}" db psql --host db --username planwise --list || true - docker compose ps - docker compose logs db - exit 1 - - name: Set environment up run: | mv docker-compose.ci.yml docker-compose.override.yml