Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Changes in puppet-sunet ( depracated)

We have created two separate branches in https://github.com/SUNET/puppet-sunet:

...

a branch https://github.com/SUNET/puppet-sunet/tree/sa-

...

prod for the prod servers

...

In staging and Beta servers, we run

https://github.com/SUNET/puppet-sunet/tree/

...

testing

Reference case: https://jira.sunet.se/browse/SA-72 (when we did for the first time)

NOTE: Stop cosmos on affected servers and after bump-tag, run cosmos as test in few servers with redudnancy, then reboot and check that the service is working, there's no error in cosmos logs and no alarms in nagios.

in puppet-sunet

Code Block
git checkout stablesa-2023v1beta
git pull
git checkout sa-betaprod
git diff HEAD..stablesa-2023v1beta (checked the diffs)
git merge stablesa-2023v1beta
git status (check if there are conflicts)
git diff stablesa-2023v1beta:<file> HEAD:<file> (to check file with conflicts) 
fix conflicts locally or run git merge --abort && git merge stablesa-2023v1beta -X theirs (to replace the conflicted files with those from stablesa-2023v1beta)
./bump-tag

OLD Branch

Multiverse update

Reference case: https://jira.sunet.se/browse/SA-72 (when we did for the first time)
NOTE : Read the exceptions to know what may have happened in the last update.

...

Stop cosmos on affected servers and after bump-tag, run cosmos as test in few servers with redudnancy, then reboot and check that the service is working, there's no error in cosmos logs and no alarms in nagios.

Code Block
git remote add multiverse git@github.com:SUNET/multiverse.git
git fetch --all
git checkout -b multiverse-<year>-<month>-<day>
git merge multiverse/main
git checkout master
git pull
git diff HEAD.. multiverse-<year>-<month>-<day>
git merge -X theirs  multiverse-<year>-<month>-<day>
git status
(Fix the conflicts, add and commit)
./bump-tag


OLD Method

Code Block
git remote add multiverse git@github.com:SUNET/multiverse.git (If you don't already have it in your .git/config)
git fetch --all
git checkout multiverse (we already have a multiverse branch in remote, but in next update, we will create a new one)
git merge multiverse/main (meged the local multiverse branch with upstream multivers's main branch)
git push

...