Set Cache-Control header on latest green information.
diff --git a/buildkite/bazelci.py b/buildkite/bazelci.py
index 941aacd..ddda4f0 100755
--- a/buildkite/bazelci.py
+++ b/buildkite/bazelci.py
@@ -2593,7 +2593,10 @@
# commits, otherwise the output should be empty.
if not last_green_commit or result:
execute_command(
- ["echo %s | %s cp - %s" % (current_commit, gsutil_command(), last_green_commit_url)],
+ [
+ "echo %s | %s -h 'Cache-Control: no-store' cp - %s"
+ % (current_commit, gsutil_command(), last_green_commit_url)
+ ],
shell=True,
)
else: