Skip to content

Commit 1d87379

Browse files
authored
Adjust CI for PG17 after rename from PG17_prepare (#2182)
Adjusted the following CI files (workflows) for PG17, they originally pointed to PG17_prepare - modified: .github/workflows/go-driver.yml modified: .github/workflows/installcheck.yaml modified: .github/workflows/jdbc-driver.yaml modified: .github/workflows/nodejs-driver.yaml modified: .github/workflows/python-driver.yaml modified: drivers/docker-compose.yml modified: .github/labeler.yml
1 parent 1d95780 commit 1d87379

File tree

8 files changed

+20
-14
lines changed

8 files changed

+20
-14
lines changed

.github/labeler.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@ PG14:
1313
PG15:
1414
- base-branch: 'PG15'
1515

16+
PG16:
17+
- base-branch: 'PG16'
18+
1619
PG17:
1720
- base-branch: 'PG17'
1821

1922
master:
20-
- base-branch: 'master'
23+
- base-branch: 'master'

.github/workflows/go-driver.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: Go Driver Tests
22

33
on:
44
push:
5-
branches: [ "PG17_prepare" ]
5+
branches: [ "PG17" ]
66

77
pull_request:
8-
branches: [ "PG17_prepare" ]
8+
branches: [ "PG17" ]
99

1010
jobs:
1111
build:

.github/workflows/installcheck.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Build / Regression
22

33
on:
44
push:
5-
branches: [ "PG17_prepare" ]
5+
branches: [ "PG17" ]
66
pull_request:
7-
branches: [ "PG17_prepare" ]
7+
branches: [ "PG17" ]
88

99
jobs:
1010
build:
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414
- name: Get latest commit id of PostgreSQL 17
1515
run: |
16-
echo "PG_COMMIT_HASH=$(git ls-remote git://git.postgresql.org/git/postgresql.git refs/heads/REL_17_STABLE | awk '{print $1}')" >> $GITHUB_ENV
16+
echo "PG_COMMIT_HASH=$(git ls-remote https://git.postgresql.org/git/postgresql.git refs/heads/REL_17_STABLE | awk '{print $1}')" >> $GITHUB_ENV
1717
1818
- name: Cache PostgreSQL 17
1919
uses: actions/cache@v3
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install PostgreSQL 17 and some extensions
3131
if: steps.pg17cache.outputs.cache-hit != 'true'
3232
run: |
33-
git clone --depth 1 --branch REL_17_STABLE git://git.postgresql.org/git/postgresql.git ~/pg17source
33+
git clone --depth 1 --branch REL_17_STABLE https://git.postgresql.org/git/postgresql.git ~/pg17source
3434
cd ~/pg17source
3535
./configure --prefix=$HOME/pg17 CFLAGS="-std=gnu99 -ggdb -O0" --enable-cassert
3636
make install -j$(nproc) > /dev/null

.github/workflows/jdbc-driver.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: JDBC Driver Tests
22

33
on:
44
push:
5-
branches: [ "PG17_prepare" ]
5+
branches: [ "PG17" ]
66

77
pull_request:
8-
branches: [ "PG17_prepare" ]
8+
branches: [ "PG17" ]
99

1010
jobs:
1111
build:

.github/workflows/labeler.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ jobs:
1010
issues: write
1111
runs-on: ubuntu-latest
1212
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v3
15+
1316
- name: Apply branch labels
1417
uses: actions/[email protected]
1518

.github/workflows/nodejs-driver.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: Nodejs Driver Tests
22

33
on:
44
push:
5-
branches: [ "PG17_prepare" ]
5+
branches: [ "PG17" ]
66

77
pull_request:
8-
branches: [ "PG17_prepare" ]
8+
branches: [ "PG17" ]
99

1010
jobs:
1111
build:

.github/workflows/python-driver.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: Python Driver Tests
22

33
on:
44
push:
5-
branches: [ "PG17_prepare" ]
5+
branches: [ "PG17" ]
66

77
pull_request:
8-
branches: [ "PG17_prepare" ]
8+
branches: [ "PG17" ]
99

1010
jobs:
1111
build:

drivers/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: "3.3"
22
services:
33
db:
4-
image: apache/age:dev_snapshot_PG17_prepare
4+
image: apache/age:dev_snapshot_PG17
55
environment:
66
- POSTGRES_USER=postgres
77
- POSTGRES_PASSWORD=agens

0 commit comments

Comments
 (0)