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

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


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

commit 84130961db58352743391ab5f6c8cb3ab061b716
Author: Muhammad Taha Naveed <[email protected]>
AuthorDate: Tue Jan 2 21:50:14 2024 +0500

    Remove redundant job from CIs (#1474)
    
    - 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  |  4 ++--
 .github/workflows/jdbc-driver.yaml   | 24 ++++--------------------
 .github/workflows/nodejs-driver.yaml | 24 ++++--------------------
 .github/workflows/python-driver.yaml | 24 ++++--------------------
 5 files changed, 18 insertions(+), 82 deletions(-)

diff --git a/.github/workflows/go-driver.yml b/.github/workflows/go-driver.yml
index d9f69a5e..359da8c5 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", "PG14" ]
+    branches: [ "PG14" ]
 
   pull_request:
-    branches: [ "master", "PG14" ]
+    branches: [ "PG14" ]
 
 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/PG14" ]]; then
-            echo "TAG=PG14_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" == "PG14" ]]; then
-            echo "TAG=PG14_latest" >> $GITHUB_ENV
-          fi
-        fi
-
     - name: Run apache/age docker image
       run: |
-        export TAG=$TAG
+        export TAG=PG14_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 9e831494..09c3d824 100644
--- a/.github/workflows/installcheck.yaml
+++ b/.github/workflows/installcheck.yaml
@@ -2,9 +2,9 @@ name: Build / Regression
 
 on:
   push:
-    branches: [ 'master', 'PG14' ]
+    branches: [ "PG14" ]
   pull_request:
-    branches: [ 'master', 'PG14' ]
+    branches: [ "PG14" ]
 
 jobs:
   build:
diff --git a/.github/workflows/jdbc-driver.yaml 
b/.github/workflows/jdbc-driver.yaml
index 9be72f8c..735a0d0b 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", "PG14" ]
+    branches: [ "PG14" ]
 
   pull_request:
-    branches: [ "master", "PG14" ]
+    branches: [ "PG14" ]
 
 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/PG14" ]]; then
-            echo "TAG=PG14_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" == "PG14" ]]; then
-            echo "TAG=PG14_latest" >> $GITHUB_ENV
-          fi
-        fi
-
     - name: Build and Test
       run: |
-        export TAG=$TAG
-        gradle build
+        export TAG=PG14_latest
+        gradle build
\ No newline at end of file
diff --git a/.github/workflows/nodejs-driver.yaml 
b/.github/workflows/nodejs-driver.yaml
index 78303591..e85091e5 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", "PG14" ]
+    branches: [ "PG14" ]
 
   pull_request:
-    branches: [ "master", "PG14" ]
+    branches: [ "PG14" ]
 
 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/PG14" ]]; then
-            echo "TAG=PG14_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" == "PG14" ]]; then
-            echo "TAG=PG14_latest" >> $GITHUB_ENV
-          fi
-        fi
-
     - name: Run apache/age docker image
       run: |
-        export TAG=$TAG
+        export TAG=PG14_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 2bb6206f..3aaeb407 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", "PG14" ]
+    branches: [ "PG14" ]
 
   pull_request:
-    branches: [ "master", "PG14" ]
+    branches: [ "PG14" ]
 
 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/PG14" ]]; then
-            echo "TAG=PG14_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" == "PG14" ]]; then
-            echo "TAG=PG14_latest" >> $GITHUB_ENV
-          fi
-        fi
-
     - name: Run apache/age docker image
       run: |
-        export TAG=$TAG
+        export TAG=PG14_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