Skip to content

Commit

Permalink
Address CI lab outage
Browse files Browse the repository at this point in the history
1. Skip all MacOS builds
2. Show emergency banner

bazelbuild#1800
  • Loading branch information
fweikert committed Nov 17, 2023
1 parent eb435bb commit 5c1cecb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
31 changes: 16 additions & 15 deletions buildkite/bazelci.py
Original file line number Diff line number Diff line change
Expand Up @@ -2822,21 +2822,22 @@ def print_project_pipeline(
except ValueError:
raise BuildkiteException("Task {} has invalid shard value '{}'".format(task, shards))

step = runner_step(
platform=platform,
task=task,
task_name=task_name,
project_name=project_name,
http_config=http_config,
file_config=file_config,
git_repository=git_repository,
git_commit=git_commit,
monitor_flaky_tests=monitor_flaky_tests,
use_but=use_but,
shards=shards,
soft_fail=soft_fail,
)
pipeline_steps.append(step)
if "mac" not in platform:
step = runner_step(
platform=platform,
task=task,
task_name=task_name,
project_name=project_name,
http_config=http_config,
file_config=file_config,
git_repository=git_repository,
git_commit=git_commit,
monitor_flaky_tests=monitor_flaky_tests,
use_but=use_but,
shards=shards,
soft_fail=soft_fail,
)
pipeline_steps.append(step)

if skipped_downstream_tasks:
lines = ["\n- {}".format(s) for s in skipped_downstream_tasks]
Expand Down
4 changes: 2 additions & 2 deletions buildkite/emergency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
# Please do not clear or delete this file when an incident is over.
# Instead, simply replace all values with empty strings ("").
---
message: ""
issue_url: ""
message: "All Macs are currently offline due to a network issue. We don't expect a resolution before Monday, so we have a workaround in place to not block builds on MacOS tasks."
issue_url: "https://github.com/bazelbuild/continuous-integration/issues/1800"
last_good_bazel: ""

0 comments on commit 5c1cecb

Please sign in to comment.