This is an automated email from the ASF dual-hosted git repository.
zhouyuan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gluten.git
The following commit(s) were added to refs/heads/main by this push:
new 302e086d09 [GLUTEN-12599][VL] Seed Apache Stash CI caches (#12602)
302e086d09 is described below
commit 302e086d0971fdb0b8c36bdf1a552e7ce8054bad
Author: Han-Yin Chang <[email protected]>
AuthorDate: Thu Jul 23 22:16:47 2026 +0800
[GLUTEN-12599][VL] Seed Apache Stash CI caches (#12602)
This is part 1 of the Apache Stash migration for #12599.
save a second copy of each cache produced by velox_backend_cache.yml to
Apache Stash
keep all existing actions/cache restore/save steps unchanged
leave the ARM, x86, and enhanced Velox consumer workflows unchanged, so
other PRs continue using the existing cache path
use stable architecture/configuration-specific Stash keys
include hidden files when saving the .ccache directory
pin Apache Stash to an immutable commit SHA
After this merges, the Apache main cache workflow can run and confirm that
all Stash artifacts are stored correctly. Part 2 will be submitted separately
to enable Stash restores in CI jobs only after that verification.
---
.github/workflows/velox_backend_cache.yml | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/.github/workflows/velox_backend_cache.yml
b/.github/workflows/velox_backend_cache.yml
index 927980c33a..dae09f7a9e 100644
--- a/.github/workflows/velox_backend_cache.yml
+++ b/.github/workflows/velox_backend_cache.yml
@@ -55,6 +55,12 @@ jobs:
with:
path: '${{ env.CCACHE_DIR }}'
key: ccache-centos7-release-default-${{github.sha}}
+ - name: Save Ccache to Apache Stash
+ uses:
apache/infrastructure-actions/stash/save@0ba14156c9f4c3cfbe4b0c9f36339ab0f8d81e53
+ with:
+ path: '${{ env.CCACHE_DIR }}'
+ key: ccache-centos7-release-default-${{
hashFiles('ep/build-velox/src/**') }}
+ include-hidden-files: true
cache-native-lib-centos-8:
if: ${{ startsWith(github.repository, 'apache/') }}
@@ -82,6 +88,12 @@ jobs:
with:
path: '${{ env.CCACHE_DIR }}'
key: ccache-centos8-release-default-${{runner.arch}}-${{github.sha}}
+ - name: Save Ccache to Apache Stash
+ uses:
apache/infrastructure-actions/stash/save@0ba14156c9f4c3cfbe4b0c9f36339ab0f8d81e53
+ with:
+ path: '${{ env.CCACHE_DIR }}'
+ key: ccache-centos8-release-default-${{runner.arch}}-${{
hashFiles('ep/build-velox/src/**') }}
+ include-hidden-files: true
cache-shared-lib-centos-9:
if: ${{ startsWith(github.repository, 'apache/') }}
@@ -111,6 +123,12 @@ jobs:
with:
path: '${{ env.CCACHE_DIR }}'
key: ccache-centos9-release-shared-${{runner.arch}}-${{github.sha}}
+ - name: Save Ccache to Apache Stash
+ uses:
apache/infrastructure-actions/stash/save@0ba14156c9f4c3cfbe4b0c9f36339ab0f8d81e53
+ with:
+ path: '${{ env.CCACHE_DIR }}'
+ key: ccache-centos9-release-shared-${{runner.arch}}-${{
hashFiles('ep/build-velox/src/**') }}
+ include-hidden-files: true
cache-enhanced-native-lib-centos-7:
if: ${{ startsWith(github.repository, 'apache/') }}
@@ -138,6 +156,12 @@ jobs:
with:
path: '${{ env.CCACHE_DIR }}'
key: ccache-enhanced-centos7-release-default-${{github.sha}}
+ - name: Save Ccache to Apache Stash
+ uses:
apache/infrastructure-actions/stash/save@0ba14156c9f4c3cfbe4b0c9f36339ab0f8d81e53
+ with:
+ path: '${{ env.CCACHE_DIR }}'
+ key: ccache-enhanced-centos7-release-default-${{
hashFiles('ep/build-velox/src/**') }}
+ include-hidden-files: true
cache-shared-lib-centos-9-cudf:
if: ${{ startsWith(github.repository, 'apache/') }}
@@ -189,3 +213,10 @@ jobs:
with:
path: '${{ env.CCACHE_DIR }}'
key:
ccache-centos9-cudf-release-shared-${{runner.arch}}-${{github.sha}}
+ - name: Save Ccache to Apache Stash
+ if: always()
+ uses:
apache/infrastructure-actions/stash/save@0ba14156c9f4c3cfbe4b0c9f36339ab0f8d81e53
+ with:
+ path: '${{ env.CCACHE_DIR }}'
+ key: ccache-centos9-cudf-release-shared-${{runner.arch}}-${{
hashFiles('ep/build-velox/src/**') }}
+ include-hidden-files: true
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]