Skip to content

Commit

Permalink
Retry on macos_arm64 on exit code 255 (#2026)
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorcloudy authored Aug 22, 2024
1 parent 26b4ba8 commit e478ee5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions buildkite/bazelci.py
Original file line number Diff line number Diff line change
Expand Up @@ -2791,6 +2791,11 @@ def create_step(label, commands, platform, shards=1, soft_fail=None):
]
}

# Retry on macos_arm64 due to
# https://github.com/bazelbuild/continuous-integration/issues/2025
if platform == "macos_arm64":
step["retry"]["automatic"].append({"exit_status": 255, "limit": 1})

# Automatically retry on Intel Macs to work around flaky failures.
if platform == "macos":
step["retry"]["automatic"].append({"exit_status": 128, "limit": 1})
Expand Down

0 comments on commit e478ee5

Please sign in to comment.