Skip to content

Commit 6e45dcf

Browse files
authored
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
1 parent b16e1e5 commit 6e45dcf

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ jobs:
4949
run: docker compose -f docker-compose.test-mariadb.yml run -e CI=1 bugzilla6.test test_bmo -q -f t/bmo/*.t
5050

5151
test_bugzilla6_pg:
52-
runs-on: ubuntu-latest
52+
runs-on: ubuntu-20.04
5353
steps:
5454
- uses: actions/checkout@v4
5555
- name: Install docker-compose
56-
run: sudo apt update && sudo apt install -y docker-compose
56+
run: sudo apt update && sudo apt install -y docker-compose docker.io
5757
- name: Build the Docker images
58-
run: docker compose -f docker-compose.test-pg.yml build
58+
run: docker-compose -f docker-compose.test-pg.yml build
5959
- name: Run bmo specific tests
60-
run: docker compose -f docker-compose.test-pg.yml run -e CI=1 bugzilla6.test test_bmo -q -f t/bmo/*.t
60+
run: docker-compose -f docker-compose.test-pg.yml run -e CI=1 bugzilla6.test test_bmo -q -f t/bmo/*.t
6161

6262
test_bugzilla6_sqlite:
6363
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)