EOL SOP: add greenwave, recommend tmux for koji_cleanup_signed

This adds the necessary steps for updating the greenwave gating
policy, recommends running koji_cleanup_signed via tmux, and adds
some missing steps to the instructions for running it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-11-26 10:12:23 -08:00
parent 9a854fb293
commit eec19c75fc

View file

@ -71,9 +71,17 @@ EOL'd release key. To achieve this, add the release key to
and run the script on compose-branched01.iad2.fedoraproject.org:
....
tmux
sudo su
cd /root/releng
./scripts/koji_cleanup_signed.py
....
[NOTE]
====
Running this script in tmux or screen is recommended as it takes a long time to run.
====
=== Final stable push
Do a final stable push for the release in Bodhi, following the
@ -104,6 +112,15 @@ Edit /vars/all/FedoraPreviousPrevious.yaml and set the value to `False`.
Edit /roles/pkgdb-proxy/files/pkgdb-gnome-software-collections.json in ansible
and set the release to status "EOL".
==== Adjust the greenwave gating policy
Edit /roles/openshift-apps/greenwave/templates/fedora.yaml
and find the policies with \_upgrade_ in their name, near the bottom.
You should see a comment noting these are not run on "the oldest stable release".
The oldest release listed in the `product_versions` section for each of these policies should be one higher than the release you are EOLing.
Remove the lines for these releases, so the oldest release listed is now *two* higher than the release you are EOLing.
You may also remove all lines for the release you are EOLing, but this is not critical.
==== Run the playbooks
First, push the above edits. Then run the associated playbooks on _batcave01_:
@ -115,6 +132,7 @@ sudo ansible-playbook /srv/web/infra/ansible/playbooks/groups/releng-compose.yml
sudo ansible-playbook /srv/web/infra/ansible/playbooks/groups/proxies.yml -t pkgdb2
sudo ansible-playbook /srv/web/infra/ansible/playbooks/manual/autosign.yml
sudo ansible-playbook /srv/web/infra/ansible/playbooks/openshift-apps/bodhi.yml
sudo ansible-playbook /srv/web/infra/ansible/playbooks/openshift-apps/greenwave.yml
....
[NOTE]