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

[IBCDPE-1111] upgrade airflow #42

Merged
merged 9 commits into from
Oct 31, 2024

Conversation

BryanFauble
Copy link
Contributor

@BryanFauble BryanFauble commented Oct 28, 2024

Problem:

  1. The current version of airflow is out of date and contains a number of bugs that are patched in newer versions that increase stability.

Solution:

  1. Upgrading the helm chart and port over the values file into the updated values file for the chart.

Testing:

  1. I deployed the old version of the chart to the kubernetes cluster and then verified that it was a seamless upgrade after the DB migrations ran.

Related PRs:

  1. [IBCDPE-1111] Update dockerfile install for latest airflow instance orca-recipes#71
  2. [IBCDPE-1111] Upgrade airflow version py-orca#45

1. Update the dockerfile within the orca-recipes repo
2. Build the new image `docker build .`
3. Tag the build image with the tag you want to use `docker tag sha256:... ghcr.io/sage-bionetworks-workflows/orca-recipes:0.0.1`
Copy link
Contributor

Choose a reason for hiding this comment

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

Ideally in the long term - a github action is set up to do this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed! It's not much work to do this manually, but a GH action in the orca-recipes repo will make the experience better. I created this ticket to add this logic: https://sagebionetworks.jira.com/browse/IBCDPE-1134

@@ -1750,7 +2081,7 @@ pgbouncer:
command: ["pgbouncer", "-u", "nobody", "/etc/pgbouncer/pgbouncer.ini"]
# Args to use for PgBouncer(templated).
args: ~
auth_type: md5
auth_type: scram-sha-256
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the significance of this change? Or is it the change in defaults

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We are not using their version of pgbouncer so we are not affected. This was the default in the new chart version

Copy link
Contributor

@thomasyu888 thomasyu888 left a comment

Choose a reason for hiding this comment

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

🔥 LGTM! Pending Brad's return for final review

@BryanFauble BryanFauble requested a review from BWMac October 31, 2024 15:46
@BryanFauble BryanFauble merged commit b63caf2 into main Oct 31, 2024
3 of 4 checks passed
@BryanFauble BryanFauble deleted the ibcdpe-1111-upgrade-airflow-dev-branch branch October 31, 2024 17:04
BryanFauble added a commit that referenced this pull request Nov 5, 2024
* Upgrade airflow to latest helm chart and airflow:2.9.3
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