Add an howto clean the side-tags created by monitor-gating

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2020-06-25 17:20:24 +02:00
parent 7daa338965
commit 581f19d9c7

View file

@ -0,0 +1,24 @@
# How to clean up the side-tags created by the monitor-gating project?
Monitor-gating runs in openshift and monitors the packager workflow end to end.
Doing this for single build and multi-builds updates by gettings few tests
packages go through that workflow.
If something happens and side-tags accumulates in koji, they can be cleaned
using the following steps:
* Go to openshift
https://os.fedoraproject.org/console/project/monitor-gating/overview
(this links points directly to the monitor-gating project)
* Access the running pod
* Click on the "Terminal" tab to have a shell in that pod
* Run the following command:
python3 /opt/code/clean_up_side_tags.py /opt/config/runner.cfg
It will go through all the side-tags created by this user/keytab and delete
them using fedpkg remove-side-tag. It will do this for all but one (which may be
in use by the script when the command is ran).