diff options
author | anatoly techtonik <techtonik@gmail.com> | 2014-03-04 23:08:12 (GMT) |
---|---|---|
committer | anatoly techtonik <techtonik@gmail.com> | 2014-03-04 23:08:12 (GMT) |
commit | 77d48a533dc194436935aaf0d673bef40983b919 (patch) | |
tree | e885b897af2fadd45c97f30645292fd14c38ce9e /testing | |
parent | 2706e890c8d969f8e3269b28598d89e286305b21 (diff) | |
download | SCons-77d48a533dc194436935aaf0d673bef40983b919.zip SCons-77d48a533dc194436935aaf0d673bef40983b919.tar.gz SCons-77d48a533dc194436935aaf0d673bef40983b919.tar.bz2 |
Add Ansible playbook to setup buildbot instance more easily
Diffstat (limited to 'testing')
-rw-r--r-- | testing/README.md | 5 | ||||
-rw-r--r-- | testing/buildbot.yml | 20 |
2 files changed, 25 insertions, 0 deletions
diff --git a/testing/README.md b/testing/README.md new file mode 100644 index 0000000..9da8ff8 --- /dev/null +++ b/testing/README.md @@ -0,0 +1,5 @@ +Here lie various files related to SCons that +can not find the place in other directories: + + buildbot.yml - Ansible playbook to set up + buildbot for running tests diff --git a/testing/buildbot.yml b/testing/buildbot.yml new file mode 100644 index 0000000..8590215 --- /dev/null +++ b/testing/buildbot.yml @@ -0,0 +1,20 @@ +# Ansible playbook to setup buildbot instance +# http://scons.org/wiki/InstallingBuildbotSlaves +--- +# host is overridable with --extra-vars 'host=address' +- hosts: "{{ host | default('localhost') }}" + vars: + - botuser: scons2 + - hgrc: /home/{{ botuser }}/.hgrc + + tasks: + # --- install requirements --- + - name: ubuntu/debian - make sure mercurial is installed + apt: pkg=mercurial + + - name: create .hgrc if necessary + command: touch {{ hgrc }} creates={{ hgrc }} + - name: enable mercurial purge extension + ini_file: dest={{ hgrc }} backup=yes + section=extensions option=hgext.purge + value= |