Limit github checkout time in bazel & bazel-trusted org (#2705)
Following #2604 add the same limits to the other orgs
diff --git a/buildkite/terraform/bazel-trusted/pipeline.yml.tpl b/buildkite/terraform/bazel-trusted/pipeline.yml.tpl
index e8a078b..5bf09b6 100644
--- a/buildkite/terraform/bazel-trusted/pipeline.yml.tpl
+++ b/buildkite/terraform/bazel-trusted/pipeline.yml.tpl
@@ -1,8 +1,11 @@
----%{ if length(envs) > 0 }
-env:%{ for key, value in envs }
- ${key}: "${value}"%{ endfor ~}
+---
+env:
+ GIT_HTTP_LOW_SPEED_LIMIT: "102400"
+ GIT_HTTP_LOW_SPEED_TIME: "180"
+%{ for key, value in envs ~}
+ ${key}: "${value}"
+%{ endfor ~}
-%{ endif }
steps:
- command: |-%{ for command in steps.commands }
${command}%{ endfor }%{ if try(steps.retry, false) }
diff --git a/buildkite/terraform/bazel/pipeline.yml.tpl b/buildkite/terraform/bazel/pipeline.yml.tpl
index b3f6407..1042a93 100644
--- a/buildkite/terraform/bazel/pipeline.yml.tpl
+++ b/buildkite/terraform/bazel/pipeline.yml.tpl
@@ -1,8 +1,11 @@
----%{ if length(envs) > 0 }
-env:%{ for key, value in envs }
- ${key}: "${value}"%{ endfor ~}
+---
+env:
+ GIT_HTTP_LOW_SPEED_LIMIT: "102400"
+ GIT_HTTP_LOW_SPEED_TIME: "180"
+%{ for key, value in envs ~}
+ ${key}: "${value}"
+%{ endfor ~}
-%{ endif }
steps:
- command: |-
%{ for command in steps.commands ~}