As of now (May 2 2022) the upstream RF charts are hosted on GitHub. They are stored in the .tgz
format so there is no record of changes between versions. Since we maintain our own parent chart there is manual update process involved.
- Download the latest
rapidfort-x.x.x.tgz
from the GitHub repository.- Easy way to do this is to open the repository page in a web browser, click on the latest
.tgz
and click "Download".
- Easy way to do this is to open the repository page in a web browser, click on the latest
- Extract the contents of the archive to your machine.
- In the RapidFort package repository, checkout the
rf-upstream
branch. - Delete the
charts
folder underchart
- Copy the
charts
folder from the unarchived RF download into thechart
folder in the repository.- This is a good time to review what changes were made
- Commit all changes to the
rf-upstream
branch. This branch is meant to mirror the latest charts from RF so we will not be changing anything here. - Push the changes.
- Create and checkout a new branch from
origin/main
. - Run
git merge rf-upstream
. - Assuming merge conflicts, resolve all conflicts, DO NOT COMMIT.
- If there are no conflicts DO NOT PUSH
- Before committing all changes to the
mysql
subchart must be discarded. This is because themysql
chart we use is not based off of RF'smysql
chart. - If you're concerned you did something wrong with the
mysql
chart, you can download the files fromorigin/main
and delete/replace the mysql folder with that one since there should never be any changes to it from this process. - Since we maintain our own parent chart, any updates to the parent chart on RF's side must be manually reviewed. To be honest there isn't a great way of doing this as of now. Just check for anything new at the parent chart level in RF's version and if necessary implement it into our parent chart.
- After ensuring all merge conflicts were resolved appropriately, no changes were made to the
mysql
subchart, and any parent chart updates are done, commit and push the merge to this new branch. - Open a merge request for this branch into
origin/main
. - Merge after approval!