From 654e9fe3dc3ee21a344821d8c9688668a0da445e Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 25 Sep 2019 20:52:24 +0000 Subject: [PATCH] batcave: remove infra-tags report, we don't use it We don't use this report or allow it to post in ages, so just drop it and let koji drop things after tags go eol. Signed-off-by: Kevin Fenzi --- roles/batcave/files/infra-tags-report.cron | 1 - roles/batcave/files/infra-tags-report.sh | 17 ----------------- roles/batcave/tasks/main.yml | 18 ------------------ 3 files changed, 36 deletions(-) delete mode 100644 roles/batcave/files/infra-tags-report.cron delete mode 100644 roles/batcave/files/infra-tags-report.sh diff --git a/roles/batcave/files/infra-tags-report.cron b/roles/batcave/files/infra-tags-report.cron deleted file mode 100644 index 262b48d5f2..0000000000 --- a/roles/batcave/files/infra-tags-report.cron +++ /dev/null @@ -1 +0,0 @@ -0 1 * * 1 nobody /usr/local/bin/infra-tags-report.sh >& /dev/null diff --git a/roles/batcave/files/infra-tags-report.sh b/roles/batcave/files/infra-tags-report.sh deleted file mode 100644 index 7f7ec0b363..0000000000 --- a/roles/batcave/files/infra-tags-report.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -TMPFILE=`mktemp` || exit 1 - -echo "This is a list of packages in the various infrastructure koji tags" >> $TMPFILE -echo "Please check and make sure there are not any that can be removed/dropped" >> $TMPFILE - -for TAG in `koji list-tags | grep infra$`; do - - echo -e "\n\t\t\t${TAG}\n" >> $TMPFILE - koji list-pkgs --tag=${TAG} --noinherit >> $TMPFILE - -done - -mail -s "Weekly Koji Infra Tag Report" infrastructure@lists.fedoraproject.org < $TMPFILE - -rm -f $TMPFILE diff --git a/roles/batcave/tasks/main.yml b/roles/batcave/tasks/main.yml index 7669bb4a43..5d965c9882 100644 --- a/roles/batcave/tasks/main.yml +++ b/roles/batcave/tasks/main.yml @@ -336,24 +336,6 @@ - batcave - config when: inventory_hostname.startswith('batcave01') -# -# Monday morning run a script to show all the packages we have in infra -# tags in koji. -# - -- name: Install infra-tags-report script - copy: src=infra-tags-report.sh dest=/usr/local/bin/infra-tags-report.sh mode=0755 - tags: - - batcave - - config - when: inventory_hostname.startswith('batcave01') - -- name: Install infra-tags-report cron - copy: src=infra-tags-report.cron dest=/etc/cron.d/infra-tags-report.cron mode=0644 - tags: - - batcave - - config - when: inventory_hostname.startswith('batcave01') # # fasClient fedmsg job