Jack Grigg
7 years ago
No known key found for this signature in database
GPG Key ID: 665DBCD284F7DAFF
4 changed files with
19 additions and
3 deletions
-
contrib/ci-workers/templates/buildbot-worker.service.j2
-
contrib/ci-workers/unix.yml
-
contrib/ci-workers/vars/Archlinux.yml
-
contrib/ci-workers/vars/default.yml
|
|
@ -7,9 +7,9 @@ After=network.target |
|
|
|
Type=forking |
|
|
|
PIDFile=/home/{{ buildbot_worker_user }}/{{ buildbot_worker_name }}/twistd.pid |
|
|
|
WorkingDirectory=/home/{{ buildbot_worker_user }} |
|
|
|
ExecStart=/usr/local/bin/buildbot-worker start {{ buildbot_worker_name }} |
|
|
|
ExecReload=/usr/local/bin/buildbot-worker restart {{ buildbot_worker_name }} |
|
|
|
ExecStop=/usr/local/bin/buildbot-worker stop {{ buildbot_worker_name }} |
|
|
|
ExecStart={{ pip_bin_dir }}/buildbot-worker start {{ buildbot_worker_name }} |
|
|
|
ExecReload={{ pip_bin_dir }}/buildbot-worker restart {{ buildbot_worker_name }} |
|
|
|
ExecStop={{ pip_bin_dir }}/buildbot-worker stop {{ buildbot_worker_name }} |
|
|
|
Restart=always |
|
|
|
User={{ buildbot_worker_user }} |
|
|
|
|
|
|
|
|
|
@ -67,6 +67,12 @@ |
|
|
|
package_deps: "{{ buildbot_deps + fetch_deps + conf_deps + build_deps + link_deps + dist_deps }}" |
|
|
|
python_modules: "{{ buildbot_modules + rpc_test_modules }}" |
|
|
|
|
|
|
|
- name: Update rolling release [Arch Linux] |
|
|
|
pacman: |
|
|
|
update_cache: yes |
|
|
|
upgrade: yes |
|
|
|
when: ansible_distribution == 'Archlinux' |
|
|
|
|
|
|
|
- name: Install required packages |
|
|
|
package: |
|
|
|
name: "{{ item }}" |
|
|
|
|
|
@ -0,0 +1,7 @@ |
|
|
|
--- |
|
|
|
buildbot_deps: |
|
|
|
- python2-pip |
|
|
|
build_deps: |
|
|
|
- multilib/gcc |
|
|
|
- make |
|
|
|
pip_bin_dir: /usr/bin |
|
|
@ -39,3 +39,6 @@ buildbot_modules: |
|
|
|
rpc_test_modules: |
|
|
|
- pyblake2 |
|
|
|
- pyzmq |
|
|
|
|
|
|
|
# Environment variables |
|
|
|
pip_bin_dir: /usr/local/bin |
|
|
|