Skip to content

Commit 0b1d134

Browse files
committed
ci: twister: Use Redis remote storage for ccache
This commit updates the twister workflow to, when available, use Redis remote storage backend for the ccache compilation cache data. The Redis cache server is hosted in the Kubernetes cluster in which the zephyr-runner pods run -- the Redis remote storage backend will be ignored if the server is unavailable. Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent 4353b56 commit 0b1d134

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/twister.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ jobs:
145145
subset: ${{fromJSON(needs.twister-build-prep.outputs.subset)}}
146146
env:
147147
CCACHE_DIR: /node-cache/ccache-zephyr
148+
CCACHE_REMOTE_STORAGE: "redis://cache-*.keydb-cache.svc.cluster.local|shards=1,2,3"
148149
BSIM_OUT_PATH: /opt/bsim/
149150
BSIM_COMPONENTS_PATH: /opt/bsim/components
150151
TWISTER_COMMON: ' --force-color --inline-logs -v -N -M --retry-failed 3 '

0 commit comments

Comments
 (0)