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 function deployments #11806

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

caugner
Copy link
Contributor

@caugner caugner commented Sep 16, 2024

Summary

Follow-up to MP-1443 and #11637.

Problem

We don't notice if a Cloud Function deployment fails, because the failing command is piped into sed, which always succeeds.

Solution

Enable pipefail.


How did you test this change?

Not explicitly tested, as it replicates the change from a previous PR.

@caugner caugner requested a review from a team as a code owner September 16, 2024 09:22
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.

🙏

@caugner caugner merged commit 5141019 into main Sep 16, 2024
12 checks passed
@caugner caugner deleted the MP-1443-set-pipefail branch September 16, 2024 09:35
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