Skip to content

Commit

Permalink
Use a different GCS bucket for storing last green commits (#2040)
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorcloudy authored Sep 25, 2024
1 parent 8ec9f98 commit a225f4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildkite/bazelci.py
Original file line number Diff line number Diff line change
Expand Up @@ -3644,14 +3644,14 @@ def bazelci_builds_metadata_url(git_commit):


def bazelci_last_green_commit_url(git_repository, pipeline_slug):
bucket_name = "bazel-testing-builds" if THIS_IS_TESTING else "bazel-untrusted-builds"
bucket_name = "bazel-testing-builds" if THIS_IS_TESTING else "bazel-untrusted-last-green-commits"
return "gs://{}/last_green_commit/{}/{}".format(
bucket_name, git_repository[len("https://") :], pipeline_slug
)


def bazelci_last_green_downstream_commit_url():
bucket_name = "bazel-testing-builds" if THIS_IS_TESTING else "bazel-untrusted-builds"
bucket_name = "bazel-testing-builds" if THIS_IS_TESTING else "bazel-untrusted-last-green-commits"
return "gs://{}/last_green_commit/downstream_pipeline".format(bucket_name)


Expand Down

0 comments on commit a225f4f

Please sign in to comment.