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

Postgres fixes #17

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

Conversation

NeillM
Copy link
Collaborator

@NeillM NeillM commented May 30, 2024

This change fixes the issues found in Issue #15

I had to add an apt-get update into this RUN command because on our test servers the rebuild used cached layers which contained references to versions of the packages that were no longer available.

postgres tries to connect to a database with the user's name by default when none is specified in the psql command

The main Moodle database is created using a psql command with no database specified in the moodle-plugin-ci tool, this was not working becuase of the lack of a jenkins database
The image is missing the postgres package required for Moodle to use the postgres database.

We also need to ensure that apt is updated on this layer, just incase the previous layers are contain cached out of date package information
@NeillM NeillM requested a review from micaherne August 23, 2024 10:45
@NeillM NeillM self-assigned this Aug 23, 2024
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.

1 participant