<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildbot/docker/buildworker/files, branch v21</title>
<subtitle>LEDE buildbot configuration</subtitle>
<id>https://git-03.infra.openwrt.org/buildbot/atom?h=v21</id>
<link rel='self' href='https://git-03.infra.openwrt.org/buildbot/atom?h=v21'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/'/>
<updated>2024-11-04T06:12:04Z</updated>
<entry>
<title>buildworker: start: fix broken non TLS setups</title>
<updated>2024-11-04T06:12:04Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2024-10-24T19:55:04Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=dbf5d03807e66f15b1b661a4fac51c6739cad156'/>
<id>urn:sha1:dbf5d03807e66f15b1b661a4fac51c6739cad156</id>
<content type='text'>
Changes in commit 3812ff7bb296 ("buildworker: start: fix worker startup
failure after update") broke non TLS setups. So lets fix it by setting
SSL: only if BUILDWORKER_TLS is set.

Fixes: 3812ff7bb296 ("buildworker: start: fix worker startup failure after update")
Reported-by: Paul Spooren &lt;mail@aparcar.org&gt;
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>buildworker: start: fix leaking BUILDWORKER_TLS env variable</title>
<updated>2024-09-28T17:17:50Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2024-09-28T17:12:55Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=213f6de2afc40e27bf6b773b72db0d6104ffd7fb'/>
<id>urn:sha1:213f6de2afc40e27bf6b773b72db0d6104ffd7fb</id>
<content type='text'>
I've noticed leakage of BUILDWORKER_TLS environment variable in build
logs, so lets fix it in a generic way via new
`cleanup_buildworker_env_variables()` by using Bash's parameter
expansion and unset all environment variables starting with BUILDWORKER_
prefix.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>buildworker: start: fix worker startup failure after update</title>
<updated>2024-09-26T21:21:09Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2024-09-26T21:04:00Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=3812ff7bb296d392d3393f919336e73425144f23'/>
<id>urn:sha1:3812ff7bb296d392d3393f919336e73425144f23</id>
<content type='text'>
Workers are currently refusing to work:

 Unhandled Error
 Traceback (most recent call last):
   File "/opt/venv/lib/python3.11/site-packages/twisted/application/app.py", line 673, in run
     runApp(config)
   File "/opt/venv/lib/python3.11/site-packages/twisted/scripts/twistd.py", line 29, in runApp
     runner.run()
   File "/opt/venv/lib/python3.11/site-packages/twisted/application/app.py", line 370, in run
     self.application = self.createOrGetApplication()
   File "/opt/venv/lib/python3.11/site-packages/twisted/application/app.py", line 437, in createOrGetApplication
     application = getApplication(self.config, passphrase)
 --- &lt;exception caught here&gt; ---
   File "/opt/venv/lib/python3.11/site-packages/twisted/application/app.py", line 446, in getApplication
     application = service.loadApplication(filename, style, passphrase)
   File "/opt/venv/lib/python3.11/site-packages/twisted/application/service.py", line 404, in loadApplication
     application = sob.loadValueFromFile(filename, "application")
   File "/opt/venv/lib/python3.11/site-packages/twisted/persisted/sob.py", line 174, in loadValueFromFile
     codeObj = compile(data, filename, "exec")
 builtins.SyntaxError: keyword argument repeated: connection_string (buildbot.tac, line 49)

as the buildbot.tac template changed in commit 4ba1dcb66155 ("worker:
Add option --connection-string for create-worker") and in version v3.10.0.

So lets use this new `--connection-string` feature and get rid of the
sed-fu.

Fixes: efbddc90d8e6 ("Bump buildbot to v3.11.1 release")
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>buildworker,buildmaster: Use venv for Pip</title>
<updated>2024-09-26T11:19:16Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-09-26T09:21:00Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=189ff26ca991ec680a7b841a563ec6f4a5544dfd'/>
<id>urn:sha1:189ff26ca991ec680a7b841a563ec6f4a5544dfd</id>
<content type='text'>
Debian 12 complains if using Pip without a virtualenv since it could
break the system.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>treewide: use worker term</title>
<updated>2021-03-12T13:36:13Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2021-03-12T13:20:46Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=7aafe3cb6e14537574e51853e44e3371321ef0e4'/>
<id>urn:sha1:7aafe3cb6e14537574e51853e44e3371321ef0e4</id>
<content type='text'>
[Placeholder for your politically correct commit description]

Suggested-by: Paul Spooren &lt;mail@aparcar.org&gt;
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
</feed>
