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

Avoid running traffic increase hooks when waiting for promotion or promoting #1470

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

ta924
Copy link
Contributor

@ta924 ta924 commented Aug 3, 2023

This is a fix for issue #1468. This will stop traffic increase checks once the canary has moved into promotion statuses.

The only callout that I do have here would be if both hooks are configured on the max step weight, you will have to approve the traffic increase then the following iteration will involve the confirm promotion hook. This can seem a bit redundant but it does satisfy the issue of continuous traffic increase hooks being called

Copy link
Member

@aryan9600 aryan9600 left a comment

Choose a reason for hiding this comment

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

lgtm! thanks @ta924 🙇

@aryan9600 aryan9600 changed the title fix trafficIncrease calls when using confirmPromotion Avoid running traffic increase hooks when waiting for promotion or promoting Aug 7, 2023
@stefanprodan stefanprodan merged commit 2944581 into fluxcd:main Aug 14, 2023
17 checks passed
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