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

fix(build): use pipefail to fail builds #11637

Merged
merged 1 commit into from
Aug 15, 2024
Merged

fix(build): use pipefail to fail builds #11637

merged 1 commit into from
Aug 15, 2024

Conversation

caugner
Copy link
Contributor

@caugner caugner commented Aug 14, 2024

Summary

(MP-1443)

Problem

In our build workflows, we build all locales concurrently in background jobs, but if one of the background jobs fails, this does not fail the build, and the incomplete build is sync’ed to the Cloud Storage and to the AI Help index.

Solution

Enable pipefail to ensure the build fails immediately if any background job fails.


How did you test this change?

Triggered this test-build on this branch, and it failed as expected.

Copy link
Contributor

@fiji-flo fiji-flo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍

@fiji-flo fiji-flo merged commit 570efab into main Aug 15, 2024
12 of 14 checks passed
@fiji-flo fiji-flo deleted the MP-1443-set-pipefail branch August 15, 2024 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants