From 581f19d9c7b9cd4bd659cfb3fcb1ed9f17887e2d Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Thu, 25 Jun 2020 17:20:24 +0200 Subject: [PATCH] Add an howto clean the side-tags created by monitor-gating Signed-off-by: Pierre-Yves Chibon --- clean_monitoring_sidetags.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 clean_monitoring_sidetags.md 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).