Skip to content

Commit 6e2d90a

Browse files
Remove redundant job from CIs
- Removed the job for setting the appropriate tag of docker image because it is not required anymore.
1 parent 140c3a7 commit 6e2d90a

5 files changed

Lines changed: 14 additions & 78 deletions

File tree

.github/workflows/go-driver.yml

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

33
on:
44
push:
5-
branches: [ "master", "PG16" ]
5+
branches: [ "master" ]
66

77
pull_request:
8-
branches: [ "master", "PG16" ]
8+
branches: [ "master" ]
99

1010
jobs:
1111
build:
@@ -21,25 +21,9 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v3
2323

24-
- name: Set tag based on branch
25-
run: |
26-
if [[ "$GITHUB_EVENT_NAME" == "push" ]]; then
27-
if [[ "$GITHUB_REF" == "refs/heads/master" ]]; then
28-
echo "TAG=latest" >> $GITHUB_ENV
29-
elif [[ "$GITHUB_REF" == "refs/heads/PG16" ]]; then
30-
echo "TAG=PG16_latest" >> $GITHUB_ENV
31-
fi
32-
elif [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
33-
if [[ "$GITHUB_BASE_REF" == "master" ]]; then
34-
echo "TAG=latest" >> $GITHUB_ENV
35-
elif [[ "$GITHUB_BASE_REF" == "PG16" ]]; then
36-
echo "TAG=PG16_latest" >> $GITHUB_ENV
37-
fi
38-
fi
39-
4024
- name: Run apache/age docker image
4125
run: |
42-
export TAG=$TAG
26+
export TAG=latest
4327
docker-compose up -d
4428
4529
- name: Set up Go

.github/workflows/installcheck.yaml

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

33
on:
44
push:
5-
branches: [ 'master', 'PG16' ]
5+
branches: [ "master" ]
66
pull_request:
7-
branches: [ 'master', 'PG16' ]
7+
branches: [ "master" ]
88

99
jobs:
1010
build:

.github/workflows/jdbc-driver.yaml

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

33
on:
44
push:
5-
branches: [ "master", "PG16" ]
5+
branches: [ "master" ]
66

77
pull_request:
8-
branches: [ "master", "PG16" ]
8+
branches: [ "master" ]
99

1010
jobs:
1111
build:
@@ -23,23 +23,7 @@ jobs:
2323
distribution: 'zulu'
2424
java-version: '17'
2525

26-
- name: Set tag based on branch
27-
run: |
28-
if [[ "$GITHUB_EVENT_NAME" == "push" ]]; then
29-
if [[ "$GITHUB_REF" == "refs/heads/master" ]]; then
30-
echo "TAG=latest" >> $GITHUB_ENV
31-
elif [[ "$GITHUB_REF" == "refs/heads/PG16" ]]; then
32-
echo "TAG=PG16_latest" >> $GITHUB_ENV
33-
fi
34-
elif [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
35-
if [[ "$GITHUB_BASE_REF" == "master" ]]; then
36-
echo "TAG=latest" >> $GITHUB_ENV
37-
elif [[ "$GITHUB_BASE_REF" == "PG16" ]]; then
38-
echo "TAG=PG16_latest" >> $GITHUB_ENV
39-
fi
40-
fi
41-
4226
- name: Build and Test
4327
run: |
44-
export TAG=$TAG
28+
export TAG=latest
4529
gradle build

.github/workflows/nodejs-driver.yaml

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

33
on:
44
push:
5-
branches: [ "master", "PG16" ]
5+
branches: [ "master" ]
66

77
pull_request:
8-
branches: [ "master", "PG16" ]
8+
branches: [ "master" ]
99

1010
jobs:
1111
build:
@@ -18,25 +18,9 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v3
2020

21-
- name: Set tag based on branch
22-
run: |
23-
if [[ "$GITHUB_EVENT_NAME" == "push" ]]; then
24-
if [[ "$GITHUB_REF" == "refs/heads/master" ]]; then
25-
echo "TAG=latest" >> $GITHUB_ENV
26-
elif [[ "$GITHUB_REF" == "refs/heads/PG16" ]]; then
27-
echo "TAG=PG16_latest" >> $GITHUB_ENV
28-
fi
29-
elif [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
30-
if [[ "$GITHUB_BASE_REF" == "master" ]]; then
31-
echo "TAG=latest" >> $GITHUB_ENV
32-
elif [[ "$GITHUB_BASE_REF" == "PG16" ]]; then
33-
echo "TAG=PG16_latest" >> $GITHUB_ENV
34-
fi
35-
fi
36-
3721
- name: Run apache/age docker image
3822
run: |
39-
export TAG=$TAG
23+
export TAG=latest
4024
docker-compose up -d
4125
4226
- name: Set up Node

.github/workflows/python-driver.yaml

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

33
on:
44
push:
5-
branches: [ "master", "PG16" ]
5+
branches: [ "master" ]
66

77
pull_request:
8-
branches: [ "master", "PG16" ]
8+
branches: [ "master" ]
99

1010
jobs:
1111
build:
@@ -18,25 +18,9 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v3
2020

21-
- name: Set tag based on branch
22-
run: |
23-
if [[ "$GITHUB_EVENT_NAME" == "push" ]]; then
24-
if [[ "$GITHUB_REF" == "refs/heads/master" ]]; then
25-
echo "TAG=latest" >> $GITHUB_ENV
26-
elif [[ "$GITHUB_REF" == "refs/heads/PG16" ]]; then
27-
echo "TAG=PG16_latest" >> $GITHUB_ENV
28-
fi
29-
elif [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
30-
if [[ "$GITHUB_BASE_REF" == "master" ]]; then
31-
echo "TAG=latest" >> $GITHUB_ENV
32-
elif [[ "$GITHUB_BASE_REF" == "PG16" ]]; then
33-
echo "TAG=PG16_latest" >> $GITHUB_ENV
34-
fi
35-
fi
36-
3721
- name: Run apache/age docker image
3822
run: |
39-
export TAG=$TAG
23+
export TAG=latest
4024
docker-compose up -d
4125
4226
- name: Set up python

0 commit comments

Comments
 (0)