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

Make houston-db-migrations run both pre-upgrade and post-upgrade helm hooks #2123

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

danielhoherd
Copy link
Member

@danielhoherd danielhoherd commented Feb 8, 2024

Description

Workaround to an order-of-operations bug that we discovered. More details in the issue linked below.

Related Issues

https://github.com/astronomer/issues/issues/6152

Testing

This solves a problem where houston requires deploys to happen twice before picking up the AU vs resources configuration setting.

Merging

AFAIK this would only be needed in release-0.34, but the root cause may be happening elsewhere and we haven't noticed.

@danielhoherd danielhoherd requested a review from a team as a code owner February 8, 2024 19:03
@danielhoherd danielhoherd changed the title Make hook run both pre-upgrade and post-upgrade Make houston-db-bootstrapper run both pre-upgrade and post-upgrade helm hooks Feb 8, 2024
@danielhoherd danielhoherd changed the title Make houston-db-bootstrapper run both pre-upgrade and post-upgrade helm hooks Make houston-db-migrations run both pre-upgrade and post-upgrade helm hooks Feb 8, 2024
Copy link
Contributor

@pgvishnuram pgvishnuram left a comment

Choose a reason for hiding this comment

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

right now we dont have an option to update configmap first and initiate hook job to take latest changes of config - by running post-upgrade job it will resolve the issue or we should run that particular job as a post upgrade job

@pgvishnuram pgvishnuram merged commit fa99126 into master Feb 9, 2024
7 of 8 checks passed
@pgvishnuram pgvishnuram deleted the fix-order-of-operations-hook-problem branch February 9, 2024 04:19
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.

None yet

2 participants