MirrorManager: update the move-devel-to-release command

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2024-08-06 09:07:01 +02:00 committed by kevin
parent 0606efe590
commit 042c926241
3 changed files with 7 additions and 10 deletions

View file

@ -141,12 +141,11 @@ In the first week after the release MirrorManager still uses the files
at `fedora/linux/development/<version>` and not at
`fedora/linux/releases/<version>`
Once enough mirrors have picked up the files in the release directory
following script (on _mm-backend01_) can be used to change the paths in
Once enough mirrors have picked up the files in the release directory,
run the following playbook from batcave to change the paths in
MirrorManager:
[source,subs="attributes+"]
....
sudo -u mirrormanager mm2_move-devel-to-release --version={branched} --category="Fedora Linux"
sudo -u mirrormanager mm2_move-devel-to-release --version={branched} --category="Fedora Secondary Arches"
$ rbac-playbook -v /srv/web/infra/ansible/playbooks/manual/mirrormanager/move-devel-to-release.yml --extra-vars="version='42'"
....

View file

@ -35,13 +35,11 @@ After the release, update MirrorManager to redirect requests from the developmen
[discrete]
=== Steps
. SSH into `mm-backend01.iad2.fedoraproject.org`.
. Run the following commands to update the paths in MirrorManager:
. Run the following playbook on batcave to update the paths in MirrorManager:
+
[source,subs="attributes+"]
....
sudo -u mirrormanager mm2_move-devel-to-release --version={branched} --category="Fedora Linux"
sudo -u mirrormanager mm2_move-devel-to-release --version={branched} --category="Fedora Secondary Arches"
$ rbac-playbook -v /srv/web/infra/ansible/playbooks/manual/mirrormanager/move-devel-to-release.yml --extra-vars="version='{branched}'"
....
== Cleanup of RCs and Unnecessary Composes

View file

@ -360,5 +360,5 @@ After release:
* post to infrastructure list that freeze is over.
* Move MirrorManager repository tags from the `development/$version/`
Directory objects, to the `releases/$version/` Directory objects. This is
done using the `move-devel-to-release --version=$version` command on
_bapp02_. This is usually done now a week or two after release.
done using the `playbooks/manual/mirrormanager/move-devel-to-release.yml`
playbook. This is usually done now a week or two after release.