buildworker: start: fix leaking BUILDWORKER_TLS env variable
authorPetr Štetiar <ynezz@true.cz>
Sat, 28 Sep 2024 17:12:55 +0000 (17:12 +0000)
committerPetr Štetiar <ynezz@true.cz>
Sat, 28 Sep 2024 17:17:50 +0000 (17:17 +0000)
commit213f6de2afc40e27bf6b773b72db0d6104ffd7fb
tree8ac49fa2b2654c1a361e5d561140342ffc08b43b
parent75930d3a890b1f4f4c3df153331a22f60d7429a9
buildworker: start: fix leaking BUILDWORKER_TLS env variable

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 <ynezz@true.cz>
docker/buildworker/files/start.sh