Fix buildbot worker on older ubuntu

This commit is contained in:
Peter Šurda 2024-03-04 08:00:03 +08:00
parent 4effc5c84b
commit f0b2862ea8
Signed by: PeterSurda
GPG Key ID: 3E47497CF67ABB95
3 changed files with 14 additions and 5 deletions

View File

@ -9,6 +9,8 @@ packages:
- wget
- python3-wheel
- pkg-config
- rustc
- cargo
# apt
apt:
@ -101,7 +103,8 @@ ca_certs:
# post boot
runcmd:
- [ pip3, install, buildbot-worker, pyOpenSSL, setuptools_rust ]
- [ pip3, install, setuptools_rust ]
- [ pip3, install, buildbot-worker, pyOpenSSL ]
- [ sudo, -u, buildbot, --, buildbot-worker, create-worker,
/var/lib/buildbot/workers/default, '--use-tls',
'buildbot.bitmessage.org',

View File

@ -14,6 +14,8 @@ packages:
- python-virtualenv
- python-wheel
- pkg-config
- rustc
- cargo
# root
disable_root: false
@ -112,8 +114,9 @@ write_files:
# post boot
runcmd:
- [ pip, install, buildbot-worker, pyOpenSSL, setuptools_rust ]
- [ sudo, -u, buildbot, --, buildslave, create-slave,
- [ pip, install, setuptools_rust ]
- [ pip, install, buildbot-worker, pyOpenSSL ]
- [ sudo, -u, buildbot, --, buildslave, create-worker,
/var/lib/buildbot/slaves/default, '--use-tls',
'buildbot.bitmessage.org',
{{buildbot_username}}, {{buildbot_password}} ]

View File

@ -14,6 +14,8 @@ packages:
- python-virtualenv
- python-wheel
- pkg-config
- rustc
- cargo
# apt
apt:
@ -117,8 +119,9 @@ write_files:
# post boot
runcmd:
- [ pip, install, buildbot-worker, pyOpenSSL, setuptools_rust ]
- [ sudo, -u, buildbot, --, buildslave, create-slave,
- [ pip, install, setuptools_rust ]
- [ pip, install, buildbot-worker, pyOpenSSL ]
- [ sudo, -u, buildbot, --, buildslave, create-worker,
/var/lib/buildbot/slaves/default, '--use-tls',
'buildbot.bitmessage.org',
{{buildbot_username}}, {{buildbot_password}} ]