Skip to content

Commit 49c2569

Browse files
committed
Normalize use of cache busters in curl commands.
1 parent 8968154 commit 49c2569

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

buildkite/terraform/bazel-testing/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ resource "buildkite_pipeline" "upb" {
2727
resource "buildkite_pipeline" "bcr-presubmit" {
2828
name = "BCR Presubmit"
2929
repository = "https://github.com/meteorcloudy/bazel-central-registry.git"
30-
steps = templatefile("pipeline.yml.tpl", { envs = jsondecode("{\"USE_BAZEL_VERSION\": \"last_green\"}"), steps = { commands = ["curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/pcloudy-bcr-test/buildkite/bazelci.py\" -o bazelci.py", "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/pcloudy-bcr-test/buildkite/bazel-central-registry/bcr_presubmit.py\" -o bcr_presubmit.py", "python3.6 bcr_presubmit.py bcr_presubmit"] } })
30+
steps = templatefile("pipeline.yml.tpl", { envs = jsondecode("{\"USE_BAZEL_VERSION\": \"last_green\"}"), steps = { commands = ["curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/pcloudy-bcr-test/buildkite/bazelci.py?$(date +%s)\" -o bazelci.py", "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/pcloudy-bcr-test/buildkite/bazel-central-registry/bcr_presubmit.py?$(date +%s)\" -o bcr_presubmit.py", "python3.6 bcr_presubmit.py bcr_presubmit"] } })
3131
description = "The presubmit for adding new Bazel module into the Bazel Central Registry"
3232
default_branch = "main"
3333
provider_settings {

buildkite/terraform/bazel-trusted/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ resource "buildkite_pipeline" "build-embedded-minimized-jdk" {
225225
resource "buildkite_pipeline" "bcr-postsubmit" {
226226
name = "BCR Postsubmit"
227227
repository = "https://github.com/bazelbuild/bazel-central-registry.git"
228-
steps = templatefile("pipeline.yml.tpl", { envs = {}, steps = { commands = ["curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazel-central-registry/bcr_postsubmit.py\" -o bcr_postsubmit.py", "python3.6 bcr_postsubmit.py"] } })
228+
steps = templatefile("pipeline.yml.tpl", { envs = {}, steps = { commands = ["curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazel-central-registry/bcr_postsubmit.py?$(date +%s)\" -o bcr_postsubmit.py", "python3.6 bcr_postsubmit.py"] } })
229229
description = "Tasks to run after merging a change for the Bazel Central Registry"
230230
default_branch = "main"
231231
branch_configuration = "main"

buildkite/terraform/bazel/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ provider "buildkite" {
2121
resource "buildkite_pipeline" "bcr-presubmit" {
2222
name = "BCR Presubmit"
2323
repository = "https://github.com/bazelbuild/bazel-central-registry.git"
24-
steps = templatefile("pipeline.yml.tpl", { envs = jsondecode("{\"USE_BAZEL_VERSION\": \"latest\"}"), steps = { commands = ["curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py\" -o bazelci.py", "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazel-central-registry/bcr_presubmit.py\" -o bcr_presubmit.py", "python3.6 bcr_presubmit.py bcr_presubmit"] } })
24+
steps = templatefile("pipeline.yml.tpl", { envs = jsondecode("{\"USE_BAZEL_VERSION\": \"latest\"}"), steps = { commands = ["curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?$(date +%s)\" -o bazelci.py", "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazel-central-registry/bcr_presubmit.py?$(date +%s)\" -o bcr_presubmit.py", "python3.6 bcr_presubmit.py bcr_presubmit"] } })
2525
description = "The presubmit for adding new Bazel module into the Bazel Central Registry"
2626
default_branch = "main"
2727
team = [{ access_level = "MANAGE_BUILD_AND_READ", slug = "bazel-sheriffs" }, { access_level = "MANAGE_BUILD_AND_READ", slug = "bcr-maintainers" }]

0 commit comments

Comments
 (0)