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

Implement release locking to avoid publishing helm chart before container image #3940

Merged
merged 4 commits into from
Aug 16, 2023

Conversation

enekofb
Copy link
Contributor

@enekofb enekofb commented Aug 15, 2023

Closes #3907

What changed?

Implements locking action as suggested here

Why was this change made?

To reduce chances of release incident happened in v0.29 to happen in future release and simplify the releaser job.

How was this change implemented?

Added status check called 'release' with locking semantics around release and non-release workflows. It also includes
other enhancements from the original proposal like error prograpation while doing status checks update in github actions steps.

How did you validate the change?

The following scenarios has been tested in the context of the development repo. It will require to be validated for this repo once the code is merged.

for a non-release PR

  1. A push into main does not require release status check

  2. A PR to main does passes without any intervention

  3. A PR to main that might fails the api endpoint call is stable and could be retried

Screenshot 2023-08-15 at 09 31 04

for a release PR

  1. A release PR to main merges without any intervention

  2. A release PR to main that fails cannot be merged until the status check is not unlocked

Screenshot 2023-08-15 at 09 46 49

Release notes

No

Documentation Changes

No

Copy link

@jpellizzari jpellizzari left a comment

Choose a reason for hiding this comment

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

Creative 👍

@enekofb enekofb merged commit 91e7f41 into main Aug 16, 2023
15 checks passed
@enekofb enekofb deleted the implement-release-locking branch August 16, 2023 06:42
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.

Helm chart are published before images are ready
2 participants