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

LITE-28160 Regenerate ppr when product version change #46

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

jonatrios
Copy link
Contributor

No description provided.

@jonatrios jonatrios requested review from d3rky and akodelia July 25, 2023 11:46
@jonatrios jonatrios force-pushed the LITE-28160-regenerate-ppr-when-product-version-change branch from 68578ba to fa85020 Compare July 25, 2023 11:50
with get_db_ctx_manager(config) as db:
q = db.query(Product).filter_by(id=product_id)
q = db.query(Deployment).filter_by(product_id=data['id'])
Copy link
Contributor

Choose a reason for hiding this comment

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

[COD-B] Didn't get that case here. In case when new product version is available we should regenerate the PPR for all the deployments of that product, not the only first.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed!

@jonatrios jonatrios force-pushed the LITE-28160-regenerate-ppr-when-product-version-change branch from fa85020 to 1820dfe Compare July 25, 2023 15:59
@jonatrios jonatrios requested a review from d3rky July 25, 2023 16:01
@d3rky d3rky merged commit b5b5615 into master Jul 26, 2023
8 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.

2 participants