-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Update bitnami/postgresql dependency chart to latest version #27357
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
Update bitnami/postgresql dependency chart to latest version #27357
Conversation
|
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst)
|
|
Oh yeah. Some test failures to fix :). Good that we have them. But they should be clear guidelines on what to fix :) |
71e7275 to
b81144f
Compare
|
I also rebased to latest |
b81144f to
c899315
Compare
I see one about the newsfragment file which is an easy change. I also see this: I guess because I'm including a couple of properties under |
|
Probably better to just turn |
2b0ffe6 to
ebb142c
Compare
|
Looks like tests are passing now! The new version of the postgres chart changes the "headless" service name suffix from "headless" to "hl" and that was throwing off a bunch of tests. Thanks for the tip about the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@calebwoofenden, can we also fail the install via NOTES if folks are using the old user/password config location?
In theory no one is using this for real instances, but I'd rather be defensive here.
(Also, I realize this is a breaking change, but I think it's worthwhile given this should be a dev only scenario)
|
I've also verified the tarball is the same as the one from bitnami. |
|
Not really sure what to make of the test failures now, though I think I saw this failure on a few previous test runs (but not all). It seems like this is saying there is an extra ServiceAccount being created called |
You can just run the test yourself. It's easy to run the tests and you should be able to debug it with pytest. You can run the pytest tests inside Also apparently the K8S tests fail - airflow installation via the Helm Chart fails with timeout. You can a https://github.com/apache/airflow/blob/main/TESTING.rst#running-tests-with-kubernetes - there you can see even step-by-step instructions how to create cluster, deploy airflow and run tests. Likely you would need to see in the k8s logs why installing airflow via the Helm chart fails (again breeze has full support to make it super- easy including running k9s tool that helps with k8s inspection and debugging). |
|
Hm, I merged main again a couple times and now the tests are passing. Could it be flaky tests? |
|
You are a new user and you have not merged any PR to Airlfow yet, so by github limitations we need to approve your workflows after you rebase/merge. I just did, so we will yet see if they fail |
|
But no - I believe they were not flakes |
|
Yep. Sounds like the problem is real. |
|
Thanks, I didn't realize that the full tests were not running unless you triggered them. I ran the Breeze setup locally and identified the issue. The |
|
Fixed the json schema for the new params to allow null. There's still one test failure, |
Only for new contributor who never merged a PR before :) . Once we merge this one, the word (Airlfow's one) is yours :) |
|
Yes, it looks like it's the same failure I saw with this test case finding a ServiceAccount called |
|
I just re-run it let's see. I would have to see the tests to know where it came from. |
…0.0. also point the Chart.yaml at the bitnami chart repo
6c960eb to
cb3f764
Compare
|
Needs fixes I am afraid. |
|
I think there is one simple test to fix (and I guess we are close to release a Helm chart shortly (we just released Airflow 2.5.0 and usually Helm Chart follows shortly). Can you please fix the problem @calebwoofenden ? |
|
Hi @calebwoofenden! |
Yep. Would be great to merge that one in :) |
|
@calebwoofenden @potiuk i have opened a PR #29071 with fixes to the failing unittest and also upgraded the chart to lastest version 12.1.9 i dont have permission to update this PR with those changes. |
|
Closed as #29071 has been merged. |
Update from version 10.5.3 to version 12.1.2 of the bitnami/postgresql chart. This version changes the name of the username and password variables, so I've changed those here as well. Version 10.5.3 is over a year old and a lot of new features have been added since then.
I also updated the dependency for bitnami/postgresql listed in the
Chart.yamlto point at bitnami's chart repo. This means you can just change the version of the chart inChart.yamland then runhelm dependency updateand it will fetch that version for you and place the.tgzfile in thechartsdir and update theChart.lockCloses: #27353