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

Fix GHA: PG admin tools have moved #621

Merged
merged 3 commits into from
Nov 28, 2024
Merged

Fix GHA: PG admin tools have moved #621

merged 3 commits into from
Nov 28, 2024

Conversation

omad
Copy link
Member

@omad omad commented Nov 21, 2024

No description provided.

@omad omad force-pushed the push-rkquntpkmxsq branch 7 times, most recently from 4c1ff15 to 546451e Compare November 22, 2024 05:23
@omad omad force-pushed the push-rkquntpkmxsq branch from 985381b to 3484a24 Compare November 26, 2024 01:01
@pjonsson
Copy link
Contributor

@omad the second commit seems to fix issues with running/accessing postgres. Do you think there are more issues with postgres, or are the remaining issues you have discovered related to other things?

If the remaining issues are not related to postgres, this PR is a strict improvement over main and you might as well merge it. I understand there will still be test failures on the main branch after merging, but regular test failures are easier to debug for most people. (If you get time later to fix those issues that is great, but I understand you no longer work with opendatacube and I know how hard it is to do this kind of stuff on weekends and evenings.)

omad added 3 commits November 28, 2024 10:13
Previously, a postgres data directory was being manually created
using the low level postgres admin tools like initdb and pg_ctl.
This broke, because the Ubuntu postgresql package moved those
tools to /usr/lib/postgresql/14/bin.

When I added that to the path, the server still failed to start,
so lets use the more common pattern within GHA, and run Postgresql
as a service, updating the environment variables to use it.
@omad omad force-pushed the push-rkquntpkmxsq branch from 3484a24 to eca379c Compare November 27, 2024 23:14
@omad omad merged commit 1849d55 into develop Nov 28, 2024
4 of 7 checks passed
@omad omad deleted the push-rkquntpkmxsq branch November 28, 2024 06:31
@omad
Copy link
Member Author

omad commented Nov 28, 2024

Hey @pjonsson , the remaining issues are described in #622 and isn't related to Postgres.

I changed jobs recently, from Geoscience Australia to CSIRO, but ODC is still part of my responsibilities there too. :)

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