From: Dave Miller Date: Mon, 26 Aug 2024 01:38:11 +0000 (-0400) Subject: Bug 1905521: Temporary fix for deprecated Postgres Docker image (#137) X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=6e45dcf0fc6b311bd3b17e922be212d435ec97b4;p=thirdparty%2Fbugzilla.git Bug 1905521: Temporary fix for deprecated Postgres Docker image (#137) Docker in Ubuntu 22.04 and 24.04 no longer supports version 1 docker images, which the Postgres 9 image we use to run tests is. Long term fix is to up our minimum Postgres requirement to Postgres 12. Short term fix here is to run the Pg test on ubuntu-20.04 instead of ubuntu-latest. a=dylan --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ade4be025..c0aa0354d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,15 +49,15 @@ jobs: run: docker compose -f docker-compose.test-mariadb.yml run -e CI=1 bugzilla6.test test_bmo -q -f t/bmo/*.t test_bugzilla6_pg: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v4 - name: Install docker-compose - run: sudo apt update && sudo apt install -y docker-compose + run: sudo apt update && sudo apt install -y docker-compose docker.io - name: Build the Docker images - run: docker compose -f docker-compose.test-pg.yml build + run: docker-compose -f docker-compose.test-pg.yml build - name: Run bmo specific tests - run: docker compose -f docker-compose.test-pg.yml run -e CI=1 bugzilla6.test test_bmo -q -f t/bmo/*.t + run: docker-compose -f docker-compose.test-pg.yml run -e CI=1 bugzilla6.test test_bmo -q -f t/bmo/*.t test_bugzilla6_sqlite: runs-on: ubuntu-latest