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:
parent
7daa338965
commit
581f19d9c7
1 changed files with 24 additions and 0 deletions
24
clean_monitoring_sidetags.md
Normal file
24
clean_monitoring_sidetags.md
Normal 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).
|
Loading…
Add table
Add a link
Reference in a new issue