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

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open

Fix GHA: PG admin tools have moved #621

wants to merge 3 commits into from

Conversation

omad
Copy link
Member

@omad omad commented Nov 21, 2024

No description provided.

@omad omad force-pushed the push-rkquntpkmxsq branch 6 times, most recently from 1c0c3cb to 4c1ff15 Compare November 22, 2024 03:17
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.
@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.)

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