Skip to content

Use a start hook instead of overriding the entire run-postgresql script#8

Merged
bdunne merged 2 commits intoManageIQ:masterfrom
carbonin:utilize_new_scl_image_features
Feb 7, 2018
Merged

Use a start hook instead of overriding the entire run-postgresql script#8
bdunne merged 2 commits intoManageIQ:masterfrom
carbonin:utilize_new_scl_image_features

Conversation

@carbonin
Copy link
Member

@carbonin carbonin commented Feb 6, 2018

This utilizes the startup hooks built into the SCL PG image to make our user a SUPERUSER.

This was really all the custom run-postgresql script was accomplishing

This also fixes a bug which was caused by us calling a function which had been removed from the base image.

https://bugzilla.redhat.com/show_bug.cgi?id=1540957

We didn't use it and the new image has included conf built in
at /opt/app-root/src/postgresql-config/
This utilizes the startup hooks built into the SCL PG image to make
our user a SUPERUSER.

This was really all the custom run-postgresql script was accomplishing

This also fixes a bug which was caused by us calling a function which
had been removed from the base image.

https://bugzilla.redhat.com/show_bug.cgi?id=1540957
@JPrause
Copy link
Member

JPrause commented Feb 7, 2018

@bdunne same with this one, GreggT approved. As this is for a blocker issue, looking for merge.

@bdunne bdunne merged commit ec6a5e0 into ManageIQ:master Feb 7, 2018
@bdunne bdunne added this to the Sprint 79 Ending Feb 12, 2018 milestone Feb 7, 2018
@carbonin carbonin deleted the utilize_new_scl_image_features branch February 19, 2018 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants