2021-11-19 14:42:27 +01:00
|
|
|
## template: jinja
|
|
|
|
#cloud-config
|
|
|
|
|
|
|
|
# packages
|
|
|
|
package_update: true
|
|
|
|
package_upgrade: false
|
|
|
|
packages:
|
2024-03-04 00:38:55 +01:00
|
|
|
- buildbot-worker
|
2021-11-19 14:42:27 +01:00
|
|
|
|
|
|
|
# apt
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
deadsnakes:
|
|
|
|
source: 'ppa:deadsnakes/ppa'
|
|
|
|
|
|
|
|
# root
|
|
|
|
disable_root: false
|
|
|
|
ssh_deletekeys: true
|
|
|
|
ssh_pwauth: false
|
|
|
|
ssh_authorized_keys:
|
|
|
|
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVrfim4EMF7FzAnQF51frpsPgN\
|
|
|
|
JxfkzvBEC80wgwwP0AzD2iFPS57a6sXbie+sX7ALX89gmRwFtrKOwGYRYoQfU6dA\
|
|
|
|
hPirbpKY4BcTQx8N31fazceVJL0Y1kqSngNjYMbo1q0L5dgLBtPoVGcnriFAVGLg\
|
|
|
|
1+p9FIJTDK4rbwnYyDJyjruSAfnqVaWmqlMNAZNhqxOikBOh5M+3qPj0wmSKOE1r\
|
|
|
|
oE4HmQKUl62UjDWTkLLNx5u75QywQz+r8S0QNkSu/0iaeUdgkv3p0SsU4X5dmwuZ\
|
|
|
|
dbySMWkqy0zUCky2+qDqxzN6wHgnePZcedSobsIpxwDK0IrHpbaaBzVNn1uh shu\
|
|
|
|
rdeek@nitrokey1"
|
|
|
|
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC1ADz4g7BkLoq9CEffl7jxp4Ms\
|
|
|
|
Brtv12rYpskUMV2HKH48Uwue/yjqvwxaRk4Nd0TG2fQisqsB3GYLRe+6R00zbn2k\
|
|
|
|
A5k49gQEt6EnVVlsTWSp6iutCi8CEOSxFew/r//NOJbKQPWN2yCh8TQowks+lM/z\
|
|
|
|
wlFhzfoqDjgMCU13IW/O9Rphn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BREUwtKZgxDJcj2MdXH6\
|
|
|
|
Z7otnJUUmOqf43x35eayCpQz8EG8eKJio= johndoe@macbook.pro@secretive\
|
|
|
|
.MacBook-Pro.local"
|
2021-11-19 14:42:27 +01:00
|
|
|
|
|
|
|
users:
|
|
|
|
- name: buildbot
|
|
|
|
shell: /bin/bash
|
|
|
|
sudo: ALL=(ALL) NOPASSWD:ALL
|
|
|
|
|
|
|
|
# system settings
|
|
|
|
timezone: Europe/Vienna
|
|
|
|
hostname: {{hostname}}
|
|
|
|
fqdn: {{hostname}}.{{guest}}.homedevops
|
|
|
|
|
2024-03-03 14:30:20 +01:00
|
|
|
# CERT
|
|
|
|
ca_certs:
|
|
|
|
trusted:
|
|
|
|
# buildbot.bitmessage.org PB
|
|
|
|
- |
|
|
|
|
-----BEGIN CERTIFICATE-----
|
2024-03-04 00:38:55 +01:00
|
|
|
MIIFczCCA1ugAwIBAgIUDGtpHV1pcNVBXVt69fRXvCwBdc0wDQYJKoZIhvcNAQEL
|
|
|
|
BQAwSTELMAkGA1UEBhMCQVQxDzANBgNVBAgMBlZpZW5uYTEPMA0GA1UEBwwGVmll
|
|
|
|
bm5hMRgwFgYDVQQKDA9CaXRtZXNzYWdlIEdtYkgwHhcNMjQwMzAzMTgyNzI5WhcN
|
|
|
|
MjYxMTI4MTgyNzI5WjBJMQswCQYDVQQGEwJBVDEPMA0GA1UECAwGVmllbm5hMQ8w
|
|
|
|
DQYDVQQHDAZWaWVubmExGDAWBgNVBAoMD0JpdG1lc3NhZ2UgR21iSDCCAiIwDQYJ
|
|
|
|
KoZIhvcNAQEBBQADggIPADCCAgoCggIBAN297lK71o4mpXBzmVnjW76m/r4lp+1H
|
|
|
|
F6T5IPbNZ3DpvibJRk2TXjEblpen2hdcJffvlRVCG3yQ8tgWLTVe6y7C/dDx7UEZ
|
|
|
|
BsvUvKoJqdTbsg9OF888Qq1ghsHmgjgCJ4bNDg/FLZryj0JxWcmvfR0cnoDZscFS
|
|
|
|
GuqDlcA/5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mZbsH85WGV5eSRezb4xqYUfZq1+
|
|
|
|
1uF+aLRNdiV9+M0/PJJ82GjxWfL+n+hh3LTxecym3Gj1IEgfW8AMN/VJPRPWYOrg
|
|
|
|
zIwG7F6NDh3szaSbCgZ0htezHTWH0NW/+PO90dMdTwdJi2/WVAaqqCk6sTfGfKdx
|
|
|
|
sb6MAdLxmoYOZVj0eSaoAq0dJEOo/5yWwzJEHZYjXkc/xJVs6O60x2GLk5dXz6U9
|
|
|
|
dQIfVIPBeNYwA1ICbo5TJ3xjYUe3nQAT2TXlD2tFCj2VgGFfQRBRrkci/m+oJr6v
|
|
|
|
DbBw7WaVw843qm5/dfNH7Nx8FhFpCJ6T/ILqaoU1v5DBS71I6rkQCuBp4Aqp+Waw
|
|
|
|
2NqJB0/fVkvcoP66JMLImdbtRq8N9JMcofWDjq29HTpPQAnXl72J53H6NTFtFTpZ
|
|
|
|
MXyumh2iRw==
|
2024-03-03 14:30:20 +01:00
|
|
|
-----END CERTIFICATE-----
|
|
|
|
|
2021-11-19 14:42:27 +01:00
|
|
|
# post boot
|
|
|
|
runcmd:
|
|
|
|
- [ sudo, -u, buildbot, --, buildbot-worker, create-worker,
|
2024-03-04 11:32:17 +01:00
|
|
|
'--use-tls', /var/lib/buildbot/workers/default,
|
2024-03-03 14:46:18 +01:00
|
|
|
'buildbot.bitmessage.org',
|
2021-11-19 14:42:27 +01:00
|
|
|
{{buildbot_username}}, {{buildbot_password}} ]
|
|
|
|
- [ systemctl, enable, buildbot-worker@default.service ]
|
|
|
|
- [ systemctl, start, buildbot-worker@default.service ]
|