[PATCH 2/2] add crontab file and install it for running atomic host continuous delivery

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Dennis Gilmore <ausil@xxxxxxxxxxxxxxxxx>

Signed-off-by: Dennis Gilmore <ausil@xxxxxxxxxxxxxxxxx>
---
 roles/releng/files/atomic-cd | 4 ++++
 roles/releng/tasks/main.yml  | 5 +++++
 2 files changed, 9 insertions(+)
 create mode 100644 roles/releng/files/atomic-cd

diff --git a/roles/releng/files/atomic-cd b/roles/releng/files/atomic-cd
new file mode 100644
index 0000000..d7d6f24
--- /dev/null
+++ b/roles/releng/files/atomic-cd
@@ -0,0 +1,4 @@
+# continous delivery of atomic host 
+MAILTO=releng-cron@xxxxxxxxxxxxxxxxxxxxxxx
+*/15 * * * * root TMPDIR=`mktemp -d /tmp/atomic-cd.XXXXXX` && cd $TMPDIR && git clone -n https://pagure.io/releng.git && cd releng && LANG=en_US.UTF-8 ./scripts/build-test-ostree
+
diff --git a/roles/releng/tasks/main.yml b/roles/releng/tasks/main.yml
index 45109f2..5a02ee1 100644
--- a/roles/releng/tasks/main.yml
+++ b/roles/releng/tasks/main.yml
@@ -235,6 +235,11 @@
   copy: src="twoweek-updates" dest=/etc/cron.d/twoweek-updates
   when: inventory_hostname.startswith('compose-x86-01')
 
+# put cron job in for continuously deliverying atomic host
+- name: atomic-cd compose cron
+  copy: src="atomic-cd" dest=/etc/cron.d/atomic-cd
+  when: inventory_hostname.startswith('compose-x86-01')
+
 - name: install compose /etc/httpd/conf.d/compose.conf file
   copy: >
     src="compose.conf"
-- 
1.8.3.1
_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux