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

ci(deploy): do not run versioning job when pushing to main #4970

Merged
merged 1 commit into from
Aug 28, 2022

Conversation

gustavovalverde
Copy link
Member

Previous behavior:

When a push was detected in the main branch, the workflow would run the
versioning job and crash trying to detect the version being deployed as
there was none.

Expected behavior:

Do not fail the versioning job when pushing to main

Solution:

Limit the versioning job to only run when a release event is triggered
and allow the deploy-nodes job to run even if versioning is skipped

Review

This is an urgent PR to anyone from the @ZcashFoundation/devops-reviewers to review

Previous behavior:
When a push was detected in the `main` branch, the workflow would run the
`versioning` job and crash trying to detect the version being deployed as
there was none.

Expected behavior:
Do not fail the `versioning` job when pushing to `main`

Solution:
Limit the `versioning` job to only run when a release event is triggered
and allow the `deploy-nodes` job to run even if `versioning` is skipped
@gustavovalverde gustavovalverde added C-bug Category: This is a bug A-infrastructure Area: Infrastructure changes A-devops Area: Pipelines, CI/CD and Dockerfiles P-Critical 🚑 I-integration-fail Continuous integration fails, including build and test failures labels Aug 28, 2022
@gustavovalverde gustavovalverde self-assigned this Aug 28, 2022
@gustavovalverde gustavovalverde requested a review from a team as a code owner August 28, 2022 14:53
@gustavovalverde gustavovalverde requested review from arya2 and removed request for a team August 28, 2022 14:53
Copy link
Contributor

@teor2345 teor2345 left a comment

Choose a reason for hiding this comment

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

Thanks!

mergify bot added a commit that referenced this pull request Aug 28, 2022
@mergify mergify bot merged commit 58c4a62 into main Aug 28, 2022
@mergify mergify bot deleted the fix-release-deployment branch August 28, 2022 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-devops Area: Pipelines, CI/CD and Dockerfiles A-infrastructure Area: Infrastructure changes C-bug Category: This is a bug I-integration-fail Continuous integration fails, including build and test failures
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants