This is an automated email from the ASF dual-hosted git repository.

jgemignani pushed a commit to branch PG15
in repository https://gitbox.apache.org/repos/asf/age.git


The following commit(s) were added to refs/heads/PG15 by this push:
     new f44dfa00 Remove redundant job from CIs (#1475)
f44dfa00 is described below

commit f44dfa005974f27a2b83a0106788901aab507ed6
Author: Muhammad Taha Naveed <[email protected]>
AuthorDate: Tue Jan 2 22:02:07 2024 +0500

    Remove redundant job from CIs (#1475)
    
    - Removed the job for setting the appropriate tag of docker image
      because it is not required anymore.
---
 .github/workflows/go-driver.yml      | 24 ++++--------------------
 .github/workflows/installcheck.yaml  |  6 +++---
 .github/workflows/jdbc-driver.yaml   | 24 ++++--------------------
 .github/workflows/nodejs-driver.yaml | 24 ++++--------------------
 .github/workflows/python-driver.yaml | 24 ++++--------------------
 5 files changed, 19 insertions(+), 83 deletions(-)

diff --git a/.github/workflows/go-driver.yml b/.github/workflows/go-driver.yml
index adbacc93..2edb9df2 100644
--- a/.github/workflows/go-driver.yml
+++ b/.github/workflows/go-driver.yml
@@ -2,10 +2,10 @@ name: Go Driver Tests
 
 on:
   push:
-    branches: [ "master", "PG15" ]
+    branches: [ "PG15" ]
 
   pull_request:
-    branches: [ "master", "PG15" ]
+    branches: [ "PG15" ]
 
 jobs:
   build:
@@ -21,25 +21,9 @@ jobs:
     steps:
     - uses: actions/checkout@v3
 
-    - name: Set tag based on branch
-      run: |
-        if [[ "$GITHUB_EVENT_NAME" == "push" ]]; then
-          if [[ "$GITHUB_REF" == "refs/heads/master" ]]; then
-            echo "TAG=latest" >> $GITHUB_ENV
-          elif [[ "$GITHUB_REF" == "refs/heads/PG15" ]]; then
-            echo "TAG=PG15_latest" >> $GITHUB_ENV
-          fi
-        elif [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
-          if [[ "$GITHUB_BASE_REF" == "master" ]]; then
-            echo "TAG=latest" >> $GITHUB_ENV
-          elif [[ "$GITHUB_BASE_REF" == "PG15" ]]; then
-            echo "TAG=PG15_latest" >> $GITHUB_ENV
-          fi
-        fi
-
     - name: Run apache/age docker image
       run: |
-        export TAG=$TAG
+        export TAG=PG15_latest
         docker-compose up -d
 
     - name: Set up Go
@@ -54,4 +38,4 @@ jobs:
       run: go build -v ./...
 
     - name: Test
-      run: go test . -v
+      run: go test . -v
\ No newline at end of file
diff --git a/.github/workflows/installcheck.yaml 
b/.github/workflows/installcheck.yaml
index 3709c974..0b2e5ce7 100644
--- a/.github/workflows/installcheck.yaml
+++ b/.github/workflows/installcheck.yaml
@@ -2,9 +2,9 @@ name: Build / Regression
 
 on:
   push:
-    branches: [ 'master', 'PG15' ]
+    branches: [ "PG15" ]
   pull_request:
-    branches: [ 'master', 'PG15' ]
+    branches: [ "PG15" ]
 
 jobs:
   build:
@@ -49,4 +49,4 @@ jobs:
           echo "Dump section begin."
           cat $HOME/work/age/age/regress/regression.diffs
           echo "Dump section end."
-          exit 1
+          exit 1
\ No newline at end of file
diff --git a/.github/workflows/jdbc-driver.yaml 
b/.github/workflows/jdbc-driver.yaml
index 7dda51a4..1ebd8be7 100644
--- a/.github/workflows/jdbc-driver.yaml
+++ b/.github/workflows/jdbc-driver.yaml
@@ -2,10 +2,10 @@ name: JDBC Driver Tests
 
 on:
   push:
-    branches: [ "master", "PG15" ]
+    branches: [ "PG15" ]
 
   pull_request:
-    branches: [ "master", "PG15" ]
+    branches: [ "PG15" ]
 
 jobs:
   build:
@@ -23,23 +23,7 @@ jobs:
         distribution: 'zulu'
         java-version: '17'
 
-    - name: Set tag based on branch
-      run: |
-        if [[ "$GITHUB_EVENT_NAME" == "push" ]]; then
-          if [[ "$GITHUB_REF" == "refs/heads/master" ]]; then
-            echo "TAG=latest" >> $GITHUB_ENV
-          elif [[ "$GITHUB_REF" == "refs/heads/PG15" ]]; then
-            echo "TAG=PG15_latest" >> $GITHUB_ENV
-          fi
-        elif [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
-          if [[ "$GITHUB_BASE_REF" == "master" ]]; then
-            echo "TAG=latest" >> $GITHUB_ENV
-          elif [[ "$GITHUB_BASE_REF" == "PG15" ]]; then
-            echo "TAG=PG15_latest" >> $GITHUB_ENV
-          fi
-        fi
-
     - name: Build and Test
       run: |
-        export TAG=$TAG
-        gradle build
+        export TAG=PG15_latest
+        gradle build
\ No newline at end of file
diff --git a/.github/workflows/nodejs-driver.yaml 
b/.github/workflows/nodejs-driver.yaml
index 36356a7c..ea851d0b 100644
--- a/.github/workflows/nodejs-driver.yaml
+++ b/.github/workflows/nodejs-driver.yaml
@@ -2,10 +2,10 @@ name: Nodejs Driver Tests
 
 on:
   push:
-    branches: [ "master", "PG15" ]
+    branches: [ "PG15" ]
 
   pull_request:
-    branches: [ "master", "PG15" ]
+    branches: [ "PG15" ]
 
 jobs:
   build:
@@ -18,25 +18,9 @@ jobs:
     steps:
     - uses: actions/checkout@v3
 
-    - name: Set tag based on branch
-      run: |
-        if [[ "$GITHUB_EVENT_NAME" == "push" ]]; then
-          if [[ "$GITHUB_REF" == "refs/heads/master" ]]; then
-            echo "TAG=latest" >> $GITHUB_ENV
-          elif [[ "$GITHUB_REF" == "refs/heads/PG15" ]]; then
-            echo "TAG=PG15_latest" >> $GITHUB_ENV
-          fi
-        elif [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
-          if [[ "$GITHUB_BASE_REF" == "master" ]]; then
-            echo "TAG=latest" >> $GITHUB_ENV
-          elif [[ "$GITHUB_BASE_REF" == "PG15" ]]; then
-            echo "TAG=PG15_latest" >> $GITHUB_ENV
-          fi
-        fi
-
     - name: Run apache/age docker image
       run: |
-        export TAG=$TAG
+        export TAG=PG15_latest
         docker-compose up -d
 
     - name: Set up Node
@@ -51,4 +35,4 @@ jobs:
       run: npm run build
 
     - name: Test
-      run: npm test
+      run: npm test
\ No newline at end of file
diff --git a/.github/workflows/python-driver.yaml 
b/.github/workflows/python-driver.yaml
index 9a7f3559..d5a15e53 100644
--- a/.github/workflows/python-driver.yaml
+++ b/.github/workflows/python-driver.yaml
@@ -2,10 +2,10 @@ name: Python Driver Tests
 
 on:
   push:
-    branches: [ "master", "PG15" ]
+    branches: [ "PG15" ]
 
   pull_request:
-    branches: [ "master", "PG15" ]
+    branches: [ "PG15" ]
 
 jobs:
   build:
@@ -18,25 +18,9 @@ jobs:
     steps:
     - uses: actions/checkout@v3
 
-    - name: Set tag based on branch
-      run: |
-        if [[ "$GITHUB_EVENT_NAME" == "push" ]]; then
-          if [[ "$GITHUB_REF" == "refs/heads/master" ]]; then
-            echo "TAG=latest" >> $GITHUB_ENV
-          elif [[ "$GITHUB_REF" == "refs/heads/PG15" ]]; then
-            echo "TAG=PG15_latest" >> $GITHUB_ENV
-          fi
-        elif [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
-          if [[ "$GITHUB_BASE_REF" == "master" ]]; then
-            echo "TAG=latest" >> $GITHUB_ENV
-          elif [[ "$GITHUB_BASE_REF" == "PG15" ]]; then
-            echo "TAG=PG15_latest" >> $GITHUB_ENV
-          fi
-        fi
-
     - name: Run apache/age docker image
       run: |
-        export TAG=$TAG
+        export TAG=PG15_latest
         docker-compose up -d
 
     - name: Set up python
@@ -56,4 +40,4 @@ jobs:
     - name: Test
       run: |
         python test_age_py.py -db "postgres" -u "postgres" -pass "agens"
-        python -m unittest -v test_agtypes.py
+        python -m unittest -v test_agtypes.py
\ No newline at end of file

Reply via email to