releng: Schedule a cron job to retrieve retired packages nightly

Signed-off-by: Lenka Segura <lsegura@redhat.com>
This commit is contained in:
Lenka Segura 2023-11-20 16:08:43 +01:00 committed by humaton
parent 3d4c829002
commit 1ec305ee0b
2 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1 @@
30 4 * * * root git clone https://pagure.io/releng.git && cd releng/scripts && bash get_retired_packages.sh

View file

@ -218,6 +218,12 @@
tags:
- distgit
- name: Schedule the script to get retired packages
copy: src="retired-packages.cron" dest="/etc/cron.d/retired-packages.cron" mode=755 owner=root group=root
when: inventory_hostname.startswith('pkgs01.stg.iad2')
tags:
- distgit
- name: install the two scripts needed for mass-branching
copy: src={{item}} dest=/usr/local/bin/{{item}} owner=root group=root mode=0755
with_items: