mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 12:07:34 +08:00
ELN cron: Fix incorrect chdir ordering
We can't change branches until we're actually inside the repo directory. Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user