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 release manager rollout image listing when using Helm #1182

Merged
merged 8 commits into from
Jan 23, 2025

Conversation

gerardcl
Copy link
Member

@gerardcl gerardcl commented Dec 18, 2024

Relates to opendevstack/ods-quickstarters#1013 , as this bug must be fixed.

The issue happens rarely but impacts the use of Helm strategy within the Release Manager usage; it is a race condition happening when having rollout defined as deployment strategy, and with the provided fix we make sure we always get the latest expected image.

FYI, the fix has also been tested internally, thanks to @BraisVQ

gerardcl added a commit that referenced this pull request Dec 19, 2024
@gerardcl gerardcl force-pushed the feature/fix-release-manager-rollout-image-listing branch from 8d4066f to 52062e2 Compare December 19, 2024 08:03
@gerardcl gerardcl requested a review from henrjk January 2, 2025 13:25
Copy link
Member

@henrjk henrjk left a comment

Choose a reason for hiding this comment

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

Nice @gerardcl!
Overall this code looks good to me (if it works when running test). I have a few minor suggestions which you could adopt at your discretion.
Also wanted to make you aware of PR #1143 which touches the same files although I am not sure what the latest status is.
Perhaps the changes you are suggesting would also make sense in DeployOdsComponent which currently is flaky for Helm deployments.

Copy link
Contributor

@jafarre-bi jafarre-bi left a comment

Choose a reason for hiding this comment

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

@gerardcl For your consideration. If it's good for you the way it is, it's also good for me.

@gerardcl gerardcl requested review from jafarre-bi and henrjk January 21, 2025 19:33
Copy link
Contributor

@jafarre-bi jafarre-bi left a comment

Choose a reason for hiding this comment

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

Good job, @gerardcl !

@gerardcl gerardcl merged commit 6c30a2f into master Jan 23, 2025
3 checks passed
@gerardcl gerardcl deleted the feature/fix-release-manager-rollout-image-listing branch January 23, 2025 12:33
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.

3 participants