Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add new bbworker #132

Merged
merged 3 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 8 additions & 21 deletions inventory/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ buildbot_workers:
31643466313732383232653466383736363761303665323639396430346563333536636636303561
3430353439613438640a623732336335643532373832333539303232313539316338343363323733
3031
maxbuilds: 1
cpus_per_build: 3
notify_on_missing: [email protected]
- name: scherer8-buildbot2
passwd: !vault |
$ANSIBLE_VAULT;1.1;AES256
Expand All @@ -37,9 +34,6 @@ buildbot_workers:
33666335333061663466663765333261303637323532363430303138643639623535653364303137
6563343738396665370a653432303737643832616132383533353064383962613366303738313635
3238
maxbuilds: 1
cpus_per_build: 3
notify_on_missing: [email protected]
- name: ionos-worker01
passwd: !vault |
$ANSIBLE_VAULT;1.1;AES256
Expand All @@ -48,9 +42,6 @@ buildbot_workers:
34383930343561323737653066313161343534326265323931346335373538336363303236643236
6336613161346231650a356462626563316635613062613435353639313433383461366431666339
37306263646236663265643035613736393661353761343632656137316339396338
maxbuilds: 1
cpus_per_build: 3
notify_on_missing: [email protected]
- name: ionos-worker02
passwd: !vault |
$ANSIBLE_VAULT;1.1;AES256
Expand All @@ -59,9 +50,6 @@ buildbot_workers:
61383263653763626564626563643633336362313832633837326530636362626638623037313438
6665336331376435370a383435313133393636346635383863306561663133646339363162393234
3535
maxbuilds: 1
cpus_per_build: 3
notify_on_missing: [email protected]
- name: ionos-worker03
passwd: !vault |
$ANSIBLE_VAULT;1.1;AES256
Expand All @@ -71,9 +59,6 @@ buildbot_workers:
3237666335343561360a313131363532393333336437353838623534333634336533626532613933
32303463643964303830633064396364343538393465643438346630353131306639653437323464
3333383031616232346362313630376462666466643539316363
maxbuilds: 1
cpus_per_build: 3
notify_on_missing: [email protected]
- name: ionos-worker04
passwd: !vault |
$ANSIBLE_VAULT;1.1;AES256
Expand All @@ -84,9 +69,6 @@ buildbot_workers:
66643238376231363666313064356662356533383862653234336261353436306364356335336333
39653732343539623835643831316231353834336330366330336337313438613135383730356539
613035626265626439616562653861363764
maxbuilds: 1
cpus_per_build: 3
notify_on_missing: [email protected]
- name: akira-home
passwd: !vault |
$ANSIBLE_VAULT;1.1;AES256
Expand All @@ -97,6 +79,11 @@ buildbot_workers:
36306362326164373566653331393231386262356331386663616566316531386638653538326334
66626438613638316564306533363131656534396231646235613137383463353232666465373235
396234343335346232333032313737313661
maxbuilds: 1
cpus_per_build: 4
notify_on_missing: [email protected]
- name: l105-buildbot1
passwd: !vault |
$ANSIBLE_VAULT;1.1;AES256
32643562333366316261636538356334336465663563646530653438643335633238393265386261
3133353434646465323234366639306232343130323130310a633263323764316439313631663239
37306633646162323961313262376566636566313466623533316461303163643735383931386561
3461376637393032300a363835396131663639303965653339376466393063616536313338336436
35343333393832623935653763633237353263363462383765363862353034613161
12 changes: 12 additions & 0 deletions inventory/host_vars/buildbot-worker-l105/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
bbworker_name: l105-buildbot1
bbworker_pwd: !vault |
$ANSIBLE_VAULT;1.1;AES256
32643562333366316261636538356334336465663563646530653438643335633238393265386261
3133353434646465323234366639306232343130323130310a633263323764316439313631663239
37306633646162323961313262376566636566313466623533316461303163643735383931386561
3461376637393032300a363835396131663639303965653339376466393063616536313338336436
35343333393832623935653763633237353263363462383765363862353034613161

bbworker_contact: Nicolas Berens <[email protected]>
bbworker_info: 8 Cores, 20GB RAM
1 change: 1 addition & 0 deletions inventory/hosts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ buildbot-worker-03 ansible_host=85.215.225.21
buildbot-worker-04 ansible_host=85.215.162.88
buildbot-worker-akira ansible_host=192.168.16.7 # only from within martins home...
buildbot-worker-scherer8 ansible_host=scherer8-buildbot.olsr # only from within freifunk-net use a jump-host or so...
buildbot-worker-l105 ansible_host=77.87.49.13 # worker VM on l105-hyp
buildbot.berlin.freifunk.net # the buildbot master runs additionally the master-worker. Thus having the worker-role too.

[tunneldigger]
Expand Down
6 changes: 6 additions & 0 deletions roles/buildbot_worker/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@
- name: Flush handlers
meta: flush_handlers

- name: Add worker info directory
file:
path: "{{ bbworker_path }}info"
state: directory
mode: "0755"

- name: Add workers admin-info
template:
dest: "{{ bbworker_path }}info/admin"
Expand Down