cleanup eol sop

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2024-11-26 08:29:24 -08:00
parent 898d348799
commit d2e1eff969

View file

@ -57,23 +57,10 @@ and the script on compose-branched01.iad2.fedoraproject.org
./scripts/koji_cleanup_signed.py
....
=== PDC tasks
=== Final stable push
* Set PDC *active* value for the release to *False*
[source,subs="attributes+"]
....
curl -u: -H 'Authorization: Token <token>' -H 'Accept: application/json' -H 'Content-Type:application/json' -X PATCH -d '{"active":"false"}' https://pdc.fedoraproject.org/rest_api/v1/releases/fedora-{old_release}/
....
* Set the EOL dates in PDC for all the components to the release EOL
date if they are not already set. Run the following script from
https://pagure.io/releng[releng] repo
[source,subs="attributes+"]
....
python scripts/pdc/adjust-eol-all.py <token> f{old_release} 2020-11-24
....
Do a final stable push for the release in Bodhi, following the
xref:releng_misc_guide:sop_pushing_updates.adoc[Pushing Updates SOP].
=== Bodhi tasks
@ -93,12 +80,20 @@ $ bodhi releases edit --name "F{old_release}F" --state archived
* We need to make changes to bodhi, koji, mbs, releng, autosign roles in
ansible repo.
==== Update FedoraPreviousPrevious.yaml in ansible repository
* Set the variable to False
==== Adjust the EOL for gnome-software
* Edit /roles/pkgdb-proxy/files/pkgdb-gnome-software-collections.json in ansible
and set the release to status "EOL"
* Run the associated playbooks on _batcave_
....
$ sudo ansible-playbook /srv/web/infra/ansible/playbooks/groups/bodhi-backend.yml
$ sudo ansible-playbook /srv/web/infra/ansible/playbooks/groups/koji-hub.yml
$ sudo ansible-playbook /srv/web/infra/ansible/playbooks/groups/mbs.yml
$ 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
@ -111,27 +106,14 @@ Another way to run the playbook is using rbac-playbook, in case one don't have s
Syntax: sudo rbac-playbook mbs.yml
====
=== MBS Platform Retirement
* To retire the platform in mbs, run the following command on
mbs-backend01.iad2.fedoraproject.org
[source,subs="attributes+"]
....
$ sudo mbs-manager retire platform:f{old_release}
....
=== Final announcement
* Send the final announcement to `devel@`, `devel-announce@`, `test-announce@`, `announce@` lists.
Use https://pagure.io/releng/blob/main/f/mail-templates/07-end-of-life.txt[template] from release engineering repo
==== Update FedoraPreviousPrevious.yaml in ansible repository
* Set the variable to False
==== Move the EOL release to archive
==== stage the EOL release to archive
. Log into to bodhi-backend01 and become root
+
@ -191,8 +173,10 @@ $ rsync -avAXSHP {old_release}/ /pub/archive/fedora-secondary/updates/testing/{o
____
. Announce to the mirror list this has been done and that in 2 weeks you will
move the old trees to archives.
==== Move the EOL release to archive
. In two weeks, run the following playbook from batcave:
+
____
[source,subs="attributes+"]
....