Skip to content

Commit

Permalink
Bug 1905521: Temporary fix for deprecated Postgres Docker image (#137)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
justdave authored Aug 26, 2024
1 parent b16e1e5 commit 6e45dcf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e45dcf

Please sign in to comment.