diff options
author | anatoly techtonik <techtonik@gmail.com> | 2014-03-05 06:53:00 (GMT) |
---|---|---|
committer | anatoly techtonik <techtonik@gmail.com> | 2014-03-05 06:53:00 (GMT) |
commit | 146973d7411197499b09d09a64c7874a4cb752eb (patch) | |
tree | 11d20f8840a4133577ce2912e47f0d7ef95dec02 | |
parent | 26c06d7fa3a726cc0f388e5ae3df86691f5c759c (diff) | |
download | SCons-146973d7411197499b09d09a64c7874a4cb752eb.zip SCons-146973d7411197499b09d09a64c7874a4cb752eb.tar.gz SCons-146973d7411197499b09d09a64c7874a4cb752eb.tar.bz2 |
buildbot: (re)start automatically after setup
-rw-r--r-- | testing/buildbot.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/buildbot.yml b/testing/buildbot.yml index 14ba76a..81c2143 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 }}" |