Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throw a different Exception when failing to download Bazel at a given commit #1507

Merged
merged 1 commit into from
Dec 9, 2022

Conversation

meteorcloudy
Copy link
Member

@meteorcloudy meteorcloudy commented Dec 6, 2022

Related bazelbuild/bazel#16933 (comment)

BuildKiteException is always caught at

except BuildkiteException as e:
eprint(str(e))
return 1

  • The "Publish Bazel binaries" pipeline sometimes fails to publish Bazel binaries for a commit, in this case, the Culprit Finder should immediately fail instead consider the commit as a bad Bazel commit due to failing build.

  • Also removed some unused parameters in the function.

… commit

Related bazelbuild/bazel#16933 (comment)

- The "Publish Bazel binaries" pipeline sometimes fails to publish Bazel
binaries for a commit, in this case, the Culprit Finder should
immediately fail instead consider the commit as a bad Bazel commit.

- Also removed some unused parameters in the function.
@meteorcloudy meteorcloudy merged commit d433d4f into master Dec 9, 2022
@meteorcloudy meteorcloudy deleted the throw_error_when_failed_to_download_bazel branch December 9, 2022 09:53
fmeum pushed a commit to fmeum/continuous-integration that referenced this pull request Dec 10, 2023
… commit (bazelbuild#1507)

Related
bazelbuild/bazel#16933 (comment)

BuildKiteException is always caught at

https://github.com/bazelbuild/continuous-integration/blob/4592271b2fdcf26f865d9c0082e1e53add7ea9a2/buildkite/bazelci.py#L3592-L3594

- The "Publish Bazel binaries" pipeline sometimes fails to publish Bazel
binaries for a commit, in this case, the Culprit Finder should
immediately fail instead consider the commit as a bad Bazel commit due
to failing build.

- Also removed some unused parameters in the function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants