Review koji-archive SOP
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
parent
76093bd388
commit
8730fa7bff
2 changed files with 25 additions and 14 deletions
|
@ -59,7 +59,7 @@
|
|||
** xref:kerneltest-harness.adoc[Kerneltest-harness - SOP]
|
||||
** xref:kickstarts.adoc[Kickstart Infrastructure - SOP]
|
||||
** xref:koji.adoc[Koji Infrastructure - SOP]
|
||||
** xref:koji-archive.adoc[koji-archive - SOP in review ]
|
||||
** xref:koji-archive.adoc[Koji Archive - SOP]
|
||||
** xref:koji-builder-setup.adoc[koji-builder-setup - SOP in review ]
|
||||
** xref:koschei.adoc[koschei - SOP in review ]
|
||||
** xref:layered-image-buildsys.adoc[layered-image-buildsys - SOP in review ]
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
= Koji Archive SOP
|
||||
|
||||
This SOP documents how to archive Fedora EOL'd builds from the DEFAULT
|
||||
volume to archived volume.
|
||||
|
||||
|
@ -5,29 +7,38 @@ Before archiving the builds, identify if any of the EOL'd release builds
|
|||
are still being used in the current releases. For example. to test if
|
||||
f28 builds are still being using in f32, use:
|
||||
|
||||
....
|
||||
$ koji list-tagged f32 | grep fc28
|
||||
....
|
||||
|
||||
Tag all these builds to koji's do-not-archive-yet tag, so that they wont
|
||||
Tag all these builds to koji's _do-not-archive-yet_ tag, so that they wont
|
||||
be archived. To do that, first add the packages to the
|
||||
do-not-archive-tag
|
||||
|
||||
_do-not-archive-tag_
|
||||
....
|
||||
$ koji add-pkg do-not-archive-yet --owner <username> pkg1 pkg2 ...
|
||||
....
|
||||
|
||||
Then tags the builds to do-not-archive-yet tag
|
||||
Then tags the builds to _do-not-archive-yet_ tag
|
||||
|
||||
....
|
||||
$ koji tag-build do-not-archive-yet build1 build2 ...
|
||||
....
|
||||
|
||||
Then update the archive policy which is available in releng repo
|
||||
(https://pagure.io/releng/blob/master/f/koji-archive-policy)
|
||||
(https://pagure.io/releng/blob/main/f/koji-archive-policy)
|
||||
|
||||
Run the following from compose-x86-01.phx2.fedoraproject.org
|
||||
Run the following from _compose-x86-01.iad2.fedoraproject.org_
|
||||
|
||||
$ cd $ wget https://pagure.io/releng/raw/master/f/koji-archive-policy $
|
||||
git clone https://pagure.io/koji-tools/ $ cd koji-tools $
|
||||
./koji-change-volumes -p compose_koji -v ~/archive-policy
|
||||
....
|
||||
$ cd $ wget https://pagure.io/releng/raw/master/f/koji-archive-policy
|
||||
$ git clone https://pagure.io/koji-tools/
|
||||
$ cd koji-tools
|
||||
$ ./koji-change-volumes -p compose_koji -v ~/archive-policy
|
||||
....
|
||||
|
||||
In any case, if you need to move a build back to DEFAULT volume
|
||||
|
||||
$ koji add-pkg do-not-archive-yet --owner <username> pkg1 $ koji
|
||||
tag-build do-not-archive-yet build1 $ koji set-build-volume DEFAULT
|
||||
<n-v-r>
|
||||
....
|
||||
$ koji add-pkg do-not-archive-yet --owner <username> pkg1
|
||||
$ koji tag-build do-not-archive-yet build1
|
||||
$ koji set-build-volume DEFAULT <n-v-r>
|
||||
....
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue