Skip to content

Commit ac13274

Browse files
boomanaiden154vvereschaka
authored andcommitted
[CI] Also set CACHE_GCS_BUCKET in premerge buildbot containers
Otherwise the cache_lit_timing_files.py script will not work.
1 parent d6f7e75 commit ac13274

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

zorg/buildbot/builders/annotated/premerge/dispatch_job.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ def start_build_linux(commit_sha: str, bucket_name: str, k8s_client) -> str:
106106
"export CXX=clang++",
107107
"export POSTCOMMIT_CI=1",
108108
f"export SCCACHE_GCS_BUCKET={bucket_name}",
109+
f"export CACHE_GCS_BUCKET={bucket_name}",
109110
"export SCCACHE_GCS_RW_MODE=READ_WRITE",
110111
"export SCCACHE_IDLE_TIMEOUT=0",
111112
"sccache --start-server",
@@ -130,6 +131,7 @@ def start_build_windows(commit_sha: str, bucket_name: str, k8s_client):
130131
f"git checkout {commit_sha}",
131132
"export POSTCOMMIT_CI=1",
132133
f"export SCCACHE_GCS_BUCKET={bucket_name}",
134+
f"export CACHE_GCS_BUCKET={bucket_name}",
133135
"export SCCACHE_GCS_RW_MODE=READ_WRITE",
134136
"export SCCACHE_IDLE_TIMEOUT=0",
135137
"sccache --start-server",

0 commit comments

Comments
 (0)