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

Fixes #36515 - Don't show promote out of order for in-order envs #10617

Merged
merged 1 commit into from
Jun 23, 2023

Conversation

sjha4
Copy link
Member

@sjha4 sjha4 commented Jun 16, 2023

What are the changes introduced in this pull request?

If the env to be promoted to has prior env checked or already promoted to, even if the prior promoted env is out of order, don't show out of order warning

Considerations taken when implementing this change?

Scenarios in issue

What are the testing steps for this pull request?

Consider a promotion like this:
Screenshot from 2023-06-16 13-57-57
Env qa is now considered 'in-order' because version is already published to previous env test (which was out of order, notice missing env dev). We don't have to consider test being out of order anymore. As a result qa is in-order. If you uncheck qa, check prod, prod is still out of order. Hope that makes sense.. :)

@theforeman-bot
Copy link

Issues: #36515

Copy link
Member

@jeremylenz jeremylenz left a comment

Choose a reason for hiding this comment

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

Thanks @sjha4

Works as expected!

Would be good to have a test for this new functionality.

@sjha4 sjha4 force-pushed the cv_promote_publish_warning branch from aade35a to 1d43c6b Compare June 23, 2023 20:18
@sjha4 sjha4 requested a review from jeremylenz June 23, 2023 20:27
Copy link
Member

@jeremylenz jeremylenz left a comment

Choose a reason for hiding this comment

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

APJ 👍

@sjha4 sjha4 merged commit 39a7982 into Katello:master Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants