[devel at bb.net] Tracking state of multiple latent workers
Andrii Senkovych
jolly_roger at itblog.org.ua
Mon Jun 1 05:56:36 UTC 2020
Hi Buildbot users,
I'm looking for a way to run multiple latent workers that all depend
on a single gateway and currently I'm looking for a way to start the
gateway before any latent worker is provisioned and destroy it after
all latent workers are stopped.
So far I have ended up using terraform to start and provision both
gateway and worker in one run. However in order to use multiple
workers I need to have some kind of state to know what workers have
been started already and pass the list of workers to terraform (for
example as environment variable) so when a list includes new names,
workers are being created (the opposite is true: if the list misses
some workers that previously existed, they should be destroyed).
Please advise how to implement this with Buildbot.
Thank you.
--
Best regards,
Andrii Senkovych
More information about the devel
mailing list