Skip to content

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

Merged
enekofb merged 4 commits intomainfrom
implement-release-locking
Aug 16, 2023
Merged

Implement release locking to avoid publishing helm chart before container image #3940
enekofb merged 4 commits intomainfrom
implement-release-locking

Conversation

@enekofb
Copy link
Copy Markdown
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

@enekofb enekofb force-pushed the implement-release-locking branch from b0fb870 to 246e285 Compare August 15, 2023 09:01
@enekofb enekofb marked this pull request as ready for review August 15, 2023 09:08
Copy link
Copy Markdown
Contributor

@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 force-pushed the implement-release-locking branch from 246e285 to 2759a31 Compare August 16, 2023 06:33
@enekofb enekofb merged commit 91e7f41 into main Aug 16, 2023
@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