summaryrefslogtreecommitdiff
path: root/testing/buildbot.yml
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
commit146973d7411197499b09d09a64c7874a4cb752eb (patch)
tree11d20f8840a4133577ce2912e47f0d7ef95dec02 /testing/buildbot.yml
parent26c06d7fa3a726cc0f388e5ae3df86691f5c759c (diff)
downloadscons-git-146973d7411197499b09d09a64c7874a4cb752eb.tar.gz
buildbot: (re)start automatically after setup
Diffstat (limited to 'testing/buildbot.yml')
-rw-r--r--testing/buildbot.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/buildbot.yml b/testing/buildbot.yml
index 14ba76a7e..81c2143d5 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 }}"