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

kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 7454dec376c GH-55261: [CI] Stop running Extra CI jobs on push to main 
and push docker images on scheduled trigger events (#55262)
7454dec376c is described below

commit 7454dec376c0fbc7c7086784336367204fd6be87
Author: Raúl Cumplido <[email protected]>
AuthorDate: Mon Oct 26 13:57:27 2026 +0100

    GH-55261: [CI] Stop running Extra CI jobs on push to main and push docker 
images on scheduled trigger events (#55262)
    
    ### Rationale for this change
    
    We are using too many CI resources from the shared pool. Running Linux 
Packaging jobs and other Extra CI jobs on main currently seems a waste of 
resources.
    
    ### What changes are included in this PR?
    
    Remove the ability to run Extra CI jobs when we push to main and push the 
docker images on the scheduled events.
    
    ### Are these changes tested?
    
    No.
    
    ### Are there any user-facing changes?
    
    No
    
    ### Was AI used for this PR?
    
    In accordance to the [AI generation 
guidelines](https://arrow.apache.org/docs/dev/developers/overview.html#ai-generated-code),
 please disclose below whether and how AI was used in this PR.
    
    **PR code and description written by:**
    
    - [x] Human
    - [ ] AI
    
    **Reviewed before submission by:**
    
    - [x] Human
    - [ ] AI
    - [ ] Not reviewed
    
    * GitHub Issue: #55261
    
    Authored-by: Raúl Cumplido <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 .github/workflows/cpp_extra.yml     | 17 +++--------------
 .github/workflows/cuda_extra.yml    |  8 +-------
 .github/workflows/package_linux.yml |  7 +------
 .github/workflows/r_extra.yml       |  8 +-------
 4 files changed, 6 insertions(+), 34 deletions(-)

diff --git a/.github/workflows/cpp_extra.yml b/.github/workflows/cpp_extra.yml
index 6e6e4a61d1a..d47b74ac306 100644
--- a/.github/workflows/cpp_extra.yml
+++ b/.github/workflows/cpp_extra.yml
@@ -85,9 +85,6 @@ jobs:
       - id: set_enabled
         if: >-
           github.ref_type == 'tag' ||
-          (github.event_name == 'push' &&
-           github.repository == 'apache/arrow' &&
-           github.ref_name == 'main') ||
           (github.event_name == 'schedule' && github.repository == 
'apache/arrow') ||
           contains(fromJSON(needs.check-labels.outputs.ci-extra-labels || 
'[]'), 'CI: Extra') ||
           contains(fromJSON(needs.check-labels.outputs.ci-extra-labels || 
'[]'), 'CI: Extra: C++')
@@ -185,10 +182,7 @@ jobs:
           include-hidden-files: true
       - name: Docker Push
         if: >-
-          success() &&
-          github.event_name == 'push' &&
-          github.repository == 'apache/arrow' &&
-          github.ref_name == 'main'
+          success() && github.event_name == 'schedule'
         env:
           ARCHERY_DOCKER_USER: ${{ secrets.DOCKERHUB_USER }}
           ARCHERY_DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -267,9 +261,7 @@ jobs:
           include-hidden-files: true
       - name: Docker Push
         if: >-
-          success() &&
-          github.event_name == 'push' &&
-          github.ref_name == 'main'
+          success() && github.event_name == 'schedule'
         env:
           ARCHERY_DOCKER_USER: ${{ github.actor }}
           ARCHERY_DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
@@ -547,10 +539,7 @@ jobs:
           include-hidden-files: true
       - name: Docker Push
         if: >-
-          success() &&
-          github.event_name == 'push' &&
-          github.repository == 'apache/arrow' &&
-          github.ref_name == 'main'
+          success() && github.event_name == 'schedule'
         env:
           ARCHERY_DOCKER_USER: ${{ secrets.DOCKERHUB_USER }}
           ARCHERY_DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}
diff --git a/.github/workflows/cuda_extra.yml b/.github/workflows/cuda_extra.yml
index ad3f9c740a9..5267266f7c3 100644
--- a/.github/workflows/cuda_extra.yml
+++ b/.github/workflows/cuda_extra.yml
@@ -63,9 +63,6 @@ jobs:
       - id: set_enabled
         if: >-
           github.ref_type == 'tag' ||
-          (github.event_name == 'push' &&
-           github.repository == 'apache/arrow' &&
-           github.ref_name == 'main') ||
           (github.event_name == 'schedule' && github.repository == 
'apache/arrow') ||
           contains(fromJSON(needs.check-labels.outputs.ci-extra-labels || 
'[]'), 'CI: Extra') ||
           contains(fromJSON(needs.check-labels.outputs.ci-extra-labels || 
'[]'), 'CI: Extra: CUDA')
@@ -146,10 +143,7 @@ jobs:
           include-hidden-files: true
       - name: Docker Push
         if: >-
-          success() &&
-          github.event_name == 'push' &&
-          github.repository == 'apache/arrow' &&
-          github.ref_name == 'main'
+          success() && github.event_name == 'schedule'
         env:
           ARCHERY_DOCKER_USER: ${{ secrets.DOCKERHUB_USER }}
           ARCHERY_DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}
diff --git a/.github/workflows/package_linux.yml 
b/.github/workflows/package_linux.yml
index 8cc6de3a9f7..3da39e0a8e4 100644
--- a/.github/workflows/package_linux.yml
+++ b/.github/workflows/package_linux.yml
@@ -72,9 +72,6 @@ jobs:
       - id: set_enabled
         if: >-
           github.ref_type == 'tag' ||
-          (github.event_name == 'push' &&
-           github.repository == 'apache/arrow' &&
-           github.ref_name == 'main') ||
           (github.event_name == 'schedule' && github.repository == 
'apache/arrow') ||
           contains(fromJSON(needs.check-labels.outputs.ci-extra-labels || 
'[]'), 'CI: Extra') ||
           contains(fromJSON(needs.check-labels.outputs.ci-extra-labels || 
'[]'), 'CI: Extra: Package: Linux')
@@ -265,9 +262,7 @@ jobs:
       - name: Docker Push
         continue-on-error: true
         if: >-
-          success() &&
-          github.event_name == 'push' &&
-          github.ref_name == 'main'
+          success() && github.event_name == 'schedule'
         run: |
           rake -C dev/tasks/linux-packages/apache-arrow docker:push:${TARGET}
       - name: Build artifact tarball
diff --git a/.github/workflows/r_extra.yml b/.github/workflows/r_extra.yml
index 52d804d7df2..4abcc538369 100644
--- a/.github/workflows/r_extra.yml
+++ b/.github/workflows/r_extra.yml
@@ -75,9 +75,6 @@ jobs:
       - id: set_enabled
         if: >-
           github.ref_type == 'tag' ||
-          (github.event_name == 'push' &&
-           github.repository == 'apache/arrow' &&
-           github.ref_name == 'main') ||
           (github.event_name == 'schedule' && github.repository == 
'apache/arrow') ||
           contains(fromJSON(needs.check-labels.outputs.ci-extra-labels || 
'[]'), 'CI: Extra') ||
           contains(fromJSON(needs.check-labels.outputs.ci-extra-labels || 
'[]'), 'CI: Extra: R')
@@ -183,10 +180,7 @@ jobs:
           archery docker run ${{ matrix.run-options || '' }} ${{ matrix.image 
}}
       - name: Docker Push
         if: >-
-          success() &&
-          github.event_name == 'push' &&
-          github.repository == 'apache/arrow' &&
-          github.ref_name == 'main'
+          success() && github.event_name == 'schedule'
         env:
           ARCHERY_DOCKER_USER: ${{ secrets.DOCKERHUB_USER }}
           ARCHERY_DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}

Reply via email to