|
@@ -1 +1,45 @@ |
|
|
--- |
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
- name: debian package requirements for buildbot |
|
|
|
|
|
apt: |
|
|
|
|
|
pkg: |
|
|
|
|
|
- python3-pip |
|
|
|
|
|
- fish |
|
|
|
|
|
- git |
|
|
|
|
|
|
|
|
|
|
|
- name: install buildbot |
|
|
|
|
|
pip: |
|
|
|
|
|
name: buildbot[bundle] |
|
|
|
|
|
executable: pip3 |
|
|
|
|
|
|
|
|
|
|
|
- name: install gitea integration for buildbot |
|
|
|
|
|
pip: |
|
|
|
|
|
name: buildbot_gitea |
|
|
|
|
|
executable: pip3 |
|
|
|
|
|
|
|
|
|
|
|
- name: buildbot system group |
|
|
|
|
|
group: |
|
|
|
|
|
name: buildbot |
|
|
|
|
|
system: yes |
|
|
|
|
|
|
|
|
|
|
|
- name: buildbot system user |
|
|
|
|
|
user: |
|
|
|
|
|
name: buildbot |
|
|
|
|
|
group: buildbot |
|
|
|
|
|
system: yes |
|
|
|
|
|
home: /var/lib/buildbot |
|
|
|
|
|
shell: /usr/bin/fish |
|
|
|
|
|
|
|
|
|
|
|
- name: buildbot var directory |
|
|
|
|
|
file: |
|
|
|
|
|
path: /var/lib/buildbot |
|
|
|
|
|
state: directory |
|
|
|
|
|
owner: buildbot |
|
|
|
|
|
group: buildbot |
|
|
|
|
|
mode: 0700 |
|
|
|
|
|
|
|
|
|
|
|
# source of unit file from https://github.com/buildbot/buildbot-contrib/blob/master/master/contrib/systemd/buildbot%40.service |
|
|
|
|
|
- name: buildbot systemd service unit |
|
|
|
|
|
copy: |
|
|
|
|
|
src: systemd/buildbot@.service |
|
|
|
|
|
dest: /etc/systemd/system/buildbot@.service |