-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add Patroni updates for new static_primary config option #224
Conversation
thedodd
commented
Apr 5, 2022
- Related to Add new static_primary config option patroni#1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
I'd suggest to wait before merging it until Patroni PR is reviewed. One suggestion, if you don't plan to merge your Patroni PR to make it easy to submit it upstream, is to tag a final commit and use that tag here (immutable) instead of a pr (moving target). |
@alexeyklyukin yes sir, that is actually exactly what I did in this case. The code that is copied into the container is based on a tag which I've added to our internal Patroni fork |
07305f7
to
7408561
Compare
@thedodd It seems it fails, as at the point you're doing the You should do this as the |
8572f78
to
5b8f23f
Compare
5b8f23f
to
3f57fa0
Compare
Ok, this has now been updated based on the |
3f57fa0
to
eb7a046
Compare
df49865
to
b2495f1
Compare
b2495f1
to
cca9ce0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, especially as we now do not touch the default Docker Image being built!
Use build arg to optionally include Patroni changes. Added a new release matrix element to stamp-out a release image with the Patroni changes enabled, bearing a tag suffix `-patroni-static-primary`