From 5cfb5377efa6c5ef45bc8988479bc8812e53cb4d Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 9 Sep 2024 15:17:43 -0400 Subject: [PATCH] ELN cron: Fix incorrect chdir ordering We can't change branches until we're actually inside the repo directory. Signed-off-by: Stephen Gallagher --- roles/releng/files/eln | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/releng/files/eln b/roles/releng/files/eln index 23bde3a346..4a99c3d63d 100644 --- a/roles/releng/files/eln +++ b/roles/releng/files/eln @@ -1,3 +1,3 @@ # ELN compose MAILTO=releng-cron@lists.fedoraproject.org -0 3,15,18,21 * * * root touch /tmp/fedora-compose-eln && TMPDIR=`mktemp -d /tmp/eln.XXXXXX` && chmod 755 $TMPDIR && cd $TMPDIR && git clone https://pagure.io/pungi-fedora.git && git checkout eln && cd pungi-fedora && /usr/local/bin/lock-wrapper eln-compose "LANG=en_US.UTF-8 ./eln-nightly.sh" && sudo -u ftpsync /usr/local/bin/update-fullfiletimelist -l /pub/fedora/update-fullfiletimelist.lock -t /pub eln && rm /tmp/fedora-compose-eln +0 3,15,18,21 * * * root touch /tmp/fedora-compose-eln && TMPDIR=`mktemp -d /tmp/eln.XXXXXX` && chmod 755 $TMPDIR && cd $TMPDIR && git clone https://pagure.io/pungi-fedora.git && cd pungi-fedora && git checkout eln && /usr/local/bin/lock-wrapper eln-compose "LANG=en_US.UTF-8 ./eln-nightly.sh" && sudo -u ftpsync /usr/local/bin/update-fullfiletimelist -l /pub/fedora/update-fullfiletimelist.lock -t /pub eln && rm /tmp/fedora-compose-eln