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

View File

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

View File

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