Created
December 9, 2016 10:08
-
-
Save estan/03acf40283089b1fd08449f05d41f094 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from buildbot.plugins import worker | |
WILY_WORKER_NAMES = ['wily-worker-{}'.format(i) for i in range(3)] | |
XENIAL_WORKER_NAMES = ['xenial-worker-{}'.format(i) for i in range(3)] | |
YAKKETY_WORKER_NAMES = ['yakkety-worker-{}'.format(i) for i in range(3)] | |
WORKERS = [ | |
worker.DockerLatentWorker( | |
worker_name, | |
'SECRET', | |
docker_host='tcp://localhost:2375', | |
image='wily-worker:latest', | |
masterFQDN='192.168.1.208' | |
) for worker_name in WILY_WORKER_NAMES | |
] + [ | |
worker.DockerLatentWorker( | |
worker_name, | |
'SECRET', | |
docker_host='tcp://localhost:2375', | |
image='xenial-worker:latest', | |
masterFQDN='192.168.1.208' | |
) for worker_name in XENIAL_WORKER_NAMES | |
] + [ | |
worker.DockerLatentWorker( | |
worker_name, | |
'SECRET', | |
docker_host='tcp://localhost:2375', | |
image='yakkety-worker:latest', | |
masterFQDN='192.168.1.208' | |
) for worker_name in YAKKETY_WORKER_NAMES | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment