diff --git a/clean_monitoring_sidetags.md b/clean_monitoring_sidetags.md new file mode 100644 index 0000000..e8f9d91 --- /dev/null +++ b/clean_monitoring_sidetags.md @@ -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).