add os-autoinst-distri-rocky repo sync script

This commit is contained in:
Trevor Cooper 2024-09-01 17:45:50 -07:00
parent 04106b0e90
commit 864c896327
Signed by: tcooper
GPG Key ID: 52364D7BBCEB35B8

View File

@ -0,0 +1,7 @@
#!/bin/bash
LOG=/tmp/sync_os-autoinst-distri-rocky.sh.log
date -Isec > "${LOG}"
(cd /var/lib/openqa/tests/rocky && git checkout main && git fetch -p && git pull) >> "${LOG}" 2>&1
(cd /var/lib/openqa/tests/rocky && ./fifloader.py -u -l templates.fif.json templates-updates.fif.json) >> "${LOG}" 2>&1