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

feat: fail the GitHub Action run if the Cloud Function is not ACTIVE #223

Merged
merged 1 commit into from
Dec 9, 2021

Conversation

sethvargo
Copy link
Member

There are situations in which the polling operation will complete, but the Cloud Function status is "UNKNOWN" or other values. This usually happens when the deploy succeeds, but the instance immediately dies on boot. In these cases, users need to go look at Cloud Logging to inspect why the deployment succeeded but the instance booting failed.

By checking if the status is ACTIVE, we can ensure that the GitHub Action only "succeeds" if the function fully deploys.

Fixes #71

@sethvargo sethvargo requested a review from a team as a code owner December 9, 2021 17:05
@sethvargo sethvargo enabled auto-merge (squash) December 9, 2021 17:08
@sethvargo sethvargo merged commit b5b3e18 into main Dec 9, 2021
@sethvargo sethvargo deleted the sethvargo/status branch December 9, 2021 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Error during the deployment but the GA pass
2 participants