Conversation
05f72b8 to
5fbae1a
Compare
ianliuwk1019
left a comment
There was a problem hiding this comment.
Thank you Derek!
Some comments, may mostly due to I am not clear for the procedure.
- The "steps" in this PR summary probably can be in some readme in
dbso the developers have idea how to follow to run manual scripts. - Are the shell scripts required for elevated access to OpenShift to execute them?
- Not clear how it can be rollback if error happens? Or pointing back to old pvc/deployment?
- Is it ok if we can test this in PR (dev) environment first, by: testing from v13 -> v16 -> dummy trigger (regular) deployment (within pr) -> then v17 (just to be safe to see the process works)?
These scripts assist with the standard upgrade procedure for postgres, which is to export from the old and import to the new. Feel free to create docs or link to something appropriate.
OpenShift admin rights are assumed. We can try with less.
There are two separate databases. If the new one is unacceptable we delete it and give the old database it's name back. PR merge only happens after successful migrations.
There will be no triggers, because this is a manual process. Running a demo in PR is a lot safer than TEST or PROD, so of course we can do that! |
168f83c to
94cc1cc
Compare
168f83c to
c83dc03
Compare
|
Hi @ianliuwk1019 @DerekRoberts, I added a Readme file to capture the process and steps we walked through together today. Feel free to take a look! Thanks! |
8d4bdb1 to
029579b
Compare
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
e293ce8 to
f7c6bbb
Compare
All files are in the
./dbfolder. Steps are expected to be run accordingly../rename_deployment.sh <source-deployment-name> [target-deployment-name]./db_transfer.sh <source-deployment-name> <target-deployment-name>Steps:
Before merge:
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: