feat: switch to pgedge-patroni for systemd#372
Conversation
We now distribute Patroni from the pgEdge Enterprise Postgres repository. This commit switches away from using `pip` to install Patroni and uses pgEdge's patroni package instead. Our package does not include the jsonlogger packages, so I also needed to switch to `plain` log output. It's still possible for end users to use a different Patroni installation by changing the `patroni_path` configuration setting on the host.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (11)
📝 WalkthroughWalkthroughThe changes relocate the Patroni binary path from Changes
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 0/1 reviews remaining, refill in 60 minutes.Comment |
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Duplication | 0 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
Summary
We now distribute Patroni from the pgEdge Enterprise Postgres repository. This commit switches from using
pipto install Patroni to using pgEdge's Patroni package.Our package does not include the jsonlogger packages, so I also needed to switch to
plainlog output.It's still possible for end users to use a different Patroni installation by changing the
patroni_pathconfiguration setting on the host.Changes
dev-limaenvironment to install thepgedge-patronipackage.systemd.patroni_pathto/usr/bin/patroniTesting
Notes for Reviewers
swarmpackage isn't theorchestrator/commonpackage yet, so those changes only affect systemd right now.