summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authoranatoly techtonik <techtonik@gmail.com>2014-03-05 09:53:00 +0300
committeranatoly techtonik <techtonik@gmail.com>2014-03-05 09:53:00 +0300
commit1136496a08b50a19871503f612ce3d030cc92d15 (patch)
tree11d20f8840a4133577ce2912e47f0d7ef95dec02 /testing
parent8ca84c2462c69015d70b55495d1b841a7267eab3 (diff)
downloadscons-1136496a08b50a19871503f612ce3d030cc92d15.tar.gz
buildbot: (re)start automatically after setup
Diffstat (limited to 'testing')
-rw-r--r--testing/buildbot.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/buildbot.yml b/testing/buildbot.yml
index 14ba76a7..81c2143d 100644
--- a/testing/buildbot.yml
+++ b/testing/buildbot.yml
@@ -61,6 +61,8 @@
- name: set contact details of the buildbot owner
copy: dest="{{ work }}/info/admin" content="{{ maintainer }}"
+ notify:
+ - restart buildbot
- name: update host information
copy: dest="{{ work }}/info/host"
@@ -68,3 +70,11 @@
{{'\n'}}{{ansible_machine}}
{{'\n'}}{{ansible_memtotal_mb}}MB RAM
{{'\n'}}Python {{ansible_python_version}}"
+ notify:
+ - restart buildbot
+
+ handlers:
+ - name: restart buildbot
+ command: "{{ venv }}/bin/buildslave restart {{ work }}"
+ sudo: yes
+ sudo_user: "{{ botuser }}"