Browse Source

Variable overrides for Arch Linux

Part of #2550
pull/4/head
Jack Grigg 7 years ago
parent
commit
30cc2b846e
No known key found for this signature in database GPG Key ID: 665DBCD284F7DAFF
  1. 6
      contrib/ci-workers/templates/buildbot-worker.service.j2
  2. 6
      contrib/ci-workers/unix.yml
  3. 7
      contrib/ci-workers/vars/Archlinux.yml
  4. 3
      contrib/ci-workers/vars/default.yml

6
contrib/ci-workers/templates/buildbot-worker.service.j2

@ -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 }}

6
contrib/ci-workers/unix.yml

@ -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 }}"

7
contrib/ci-workers/vars/Archlinux.yml

@ -0,0 +1,7 @@
---
buildbot_deps:
- python2-pip
build_deps:
- multilib/gcc
- make
pip_bin_dir: /usr/bin

3
contrib/ci-workers/vars/default.yml

@ -39,3 +39,6 @@ buildbot_modules:
rpc_test_modules:
- pyblake2
- pyzmq
# Environment variables
pip_bin_dir: /usr/local/bin

Loading…
Cancel
Save