You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by da...@apache.org on 2025/02/26 19:18:09 UTC

(beam) branch users/damccorm/splitRepublish created (now 428b69ce224)

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

damccorm pushed a change to branch users/damccorm/splitRepublish
in repository https://gitbox.apache.org/repos/asf/beam.git


      at 428b69ce224 Update republish workflow to split docker pushes

This branch includes the following new commits:

     new 428b69ce224 Update republish workflow to split docker pushes

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(beam) 01/01: Update republish workflow to split docker pushes

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

damccorm pushed a commit to branch users/damccorm/splitRepublish
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 428b69ce224dbd969b6779718c40b7ce87dde5f7
Author: Danny Mccormick <da...@google.com>
AuthorDate: Wed Feb 26 14:17:51 2025 -0500

    Update republish workflow to split docker pushes
---
 .github/workflows/republish_released_docker_containers.yml | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/republish_released_docker_containers.yml b/.github/workflows/republish_released_docker_containers.yml
index f87f4af220c..27a1df95826 100644
--- a/.github/workflows/republish_released_docker_containers.yml
+++ b/.github/workflows/republish_released_docker_containers.yml
@@ -39,6 +39,15 @@ jobs:
 
   build:
     runs-on: ubuntu-22.04
+    strategy:
+      fail-fast: false
+      matrix:
+        images_to_publish: [
+          {"gradle_task": ":pushAllRunnersDockerImages", "skip_flags": ""},
+          {"gradle_task": ":sdks:python:container:pushAll", "skip_flags": ""},
+          {"gradle_task": ":pushAllSdkDockerImages", "skip_flags": "-Pskip-python-images"},
+          {"gradle_task": ":pushAllDockerImages", "skip_flags": "-Pskip-runner-images -Pskip-sdk-images"}
+        ]
     steps:
       - name: Checkout
         uses: actions/checkout@v4
@@ -73,10 +82,10 @@ jobs:
           gcloud auth configure-docker ${{ env.docker_registry }}
       - name: Push docker images
         run: |
-          ./gradlew :pushAllDockerImages \
+          ./gradlew ${{ matrix.images_to_publish.gradle_task }} \
           -PisRelease \
           -Pdocker-pull-licenses \
-          -Pprune-images \
+          -Pprune-images ${{ matrix.images_to_publish.skip_flags }} \
           -Pdocker-repository-root=gcr.io/apache-beam-testing/updated_released_container_images \
           -Pdocker-tag-list=${{ env.release }},${{ github.sha }},$(date +'%Y-%m-%d') \
           --no-daemon \