summaryrefslogtreecommitdiff
path: root/mason/mason.timer
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2014-08-05 14:52:57 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2014-08-06 15:28:09 +0000
commit8867889800efcb321d0061893fe6092f8932c4d3 (patch)
treebf31499d6093dccbc8088a0d9446d60822638d80 /mason/mason.timer
parent06826f22ab72e31964b93055679acfd714879123 (diff)
downloaddefinitions-8867889800efcb321d0061893fe6092f8932c4d3.tar.gz
Add Mason scripts on top of distbuild system
The distbuild system can be configured to act as a CI controller. Providing appropriate config makes it copy all the scripts and systemd units out of the mason directory onto the target, such that it will start building and testing the configured cluster morphology on boot.
Diffstat (limited to 'mason/mason.timer')
-rw-r--r--mason/mason.timer10
1 files changed, 10 insertions, 0 deletions
diff --git a/mason/mason.timer b/mason/mason.timer
new file mode 100644
index 00000000..107dff97
--- /dev/null
+++ b/mason/mason.timer
@@ -0,0 +1,10 @@
+[Unit]
+Description=Runs Mason continually with 1 min between calls
+
+[Timer]
+#Time between Mason finishing and calling it again
+OnUnitActiveSec=1min
+Unit=mason.service
+
+[Install]
+WantedBy=multi-user.target