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

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new b5fd6eb8917 HDDS-17830. Run populate-cache before build (#12100)
b5fd6eb8917 is described below

commit b5fd6eb8917a9ebf0e05d26b5d44c20822f3687d
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Fri Nov 20 16:06:41 2026 +0100

    HDDS-17830. Run populate-cache before build (#12100)
---
 .github/workflows/populate-cache.yml | 2 --
 .github/workflows/post-commit.yml    | 8 ++++++++
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/populate-cache.yml 
b/.github/workflows/populate-cache.yml
index 4238d26353e..040408994e2 100644
--- a/.github/workflows/populate-cache.yml
+++ b/.github/workflows/populate-cache.yml
@@ -21,8 +21,6 @@ on:
   push:
     branches:
       - master
-      - ozone-2.1
-      - ozone-2.2
     paths:
       - 'pom.xml'
       - '**/pom.xml'
diff --git a/.github/workflows/post-commit.yml 
b/.github/workflows/post-commit.yml
index d5900da387c..7365413dab2 100644
--- a/.github/workflows/post-commit.yml
+++ b/.github/workflows/post-commit.yml
@@ -45,6 +45,7 @@ on:
       - '!.github/actions/setup-java-with-cache/**'
       - '!.github/workflows/check.yml'
       - '!.github/workflows/ci.yml'
+      - '!.github/workflows/populate-cache.yml'
       - '!.github/workflows/post-commit.yml'
       - '!.github/workflows/generate-config-doc.yml'
       - '!.github/workflows/update-ozone-site-config-doc.yml'
@@ -55,7 +56,14 @@ concurrency:
 permissions:
   contents: read
 jobs:
+  cache:
+    uses: $/.github/workflows/populate-cache.yml
+    if: github.event_name != 'pull_request'
+
   CI:
+    needs:
+      - cache
+    if: ${{ !cancelled() }} # even if cache is skipped or fails
     uses: $/.github/workflows/ci.yml
     secrets:
       DEVELOCITY_ACCESS_KEY: ${{ secrets.OZONE_DEVELOCITY_ACCESS_KEY }}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to