-
Notifications
You must be signed in to change notification settings - Fork 2
feat: rename_deployment.sh, db_transfer.sh scripts #175
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
Conversation
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.
Pull Request Overview
This PR adds two helper scripts for OpenShift deployment management and updates the README with their usage.
- Introduces
rename_deployment.shto export, rename, and reapply deployments - Introduces
db_transfer.shto stream a PostgreSQL dump from one deployment to another - Updates
README.mdwith instructions for the new scripts
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| oc_scripts/rename_deployment.sh | New script to rename an OpenShift deployment manifest |
| oc_scripts/db_transfer.sh | New script to transfer a Postgres dump between pods |
| README.md | Added usage documentation for the new scripts |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
cberg-aot
left a comment
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!
Originally created for nr-fom postgres migrations.
./rename_deployment.sh <source-deployment-name> [target-deployment-name]./db_transfer.sh <source-deployment-name> <target-deployment-name>Steps:
Thanks for the PR!
Deployments, as required, will be available below:
Please create PRs in draft mode. Mark as ready to enable:
After merge, new images are deployed in: