Install for GitHub Actions? #644
Replies: 4 comments
-
OK I'm getting closer. When I build pg_partman I'm seeing this:
But then when I run my database scripts I get this error:
So it looks like it's installing into a PG 14 directory even though I'm using PG 15. Is there an option I can pass to |
Beta Was this translation helpful? Give feedback.
-
Ah I see that I am using a services container...so I need to figure out how to run the commands in the services container. Or...find a container that already has pg_partman installed. |
Beta Was this translation helpful? Give feedback.
-
I was able to get this working by creating a custom docker file that runs the commands to install pg_partman. In case this is helpful to anyone else, here is our Dockerfile for PG 15:
|
Beta Was this translation helpful? Give feedback.
-
Thank you for the inquiry and also providing the solution you found! |
Beta Was this translation helpful? Give feedback.
-
We use GitHub Actions for CI, and I'm having trouble figuring out any commands which can install pg_partman. Has anyone had any success installing the pg_partman extension as part of a GitHub Actions workflow?
Beta Was this translation helpful? Give feedback.
All reactions