summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Gilmore <ausil@fedoraproject.org>2016-10-03 02:00:56 +0000
committerDennis Gilmore <ausil@fedoraproject.org>2016-10-03 16:33:04 +0000
commite8bbcb7a59513e6d2d5058d5f148f7bf8c0fd70c (patch)
tree2e0b620fc698725b104f80013c589b118f7081ee
parent052b9b400a66d3b9345ca37e3cc06d96fda01a67 (diff)
downloadansible-e8bbcb7a59513e6d2d5058d5f148f7bf8c0fd70c.tar.gz
ansible-e8bbcb7a59513e6d2d5058d5f148f7bf8c0fd70c.tar.xz
ansible-e8bbcb7a59513e6d2d5058d5f148f7bf8c0fd70c.zip
use a lock file for the atomic continuous composes.
with the lockfile if a compose runs over five minutes the new one stomps on the old and things are unhappy Signed-off-by: Dennis Gilmore <ausil@fedoraproject.org>
-rw-r--r--roles/releng/files/atomic-cd2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/releng/files/atomic-cd b/roles/releng/files/atomic-cd
index ffc206efa..ac7a180e9 100644
--- a/roles/releng/files/atomic-cd
+++ b/roles/releng/files/atomic-cd
@@ -1,4 +1,4 @@
# continous delivery of atomic host
MAILTO=releng-cron@lists.fedoraproject.org
-*/15 * * * * root TMPDIR=`mktemp -d /tmp/atomic-cd.XXXXXX` && cd $TMPDIR && git clone https://pagure.io/releng.git && cd releng && LANG=en_US.UTF-8 ./scripts/build-test-ostree
+*/15 * * * * root TMPDIR=`mktemp -d /tmp/atomic-cd.XXXXXX` && cd $TMPDIR && git clone https://pagure.io/releng.git && cd releng && LANG=en_US.UTF-8 /usr/local/bin/lock-wrapper atomic-cd ./scripts/build-test-ostree