Switch to using a squashed image for the build workers
This commit is contained in:
parent
6b9464c999
commit
98b4f62ef7
4 changed files with 14 additions and 16 deletions
|
@ -11,6 +11,7 @@ from trollius import coroutine, From, Return, get_event_loop
|
|||
from functools import partial
|
||||
|
||||
from buildman.asyncutil import AsyncWrapper
|
||||
from container_cloud_config import CloudConfigContext
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
@ -20,7 +21,7 @@ ONE_HOUR = 60*60
|
|||
|
||||
ENV = Environment(loader=FileSystemLoader('buildman/templates'))
|
||||
TEMPLATE = ENV.get_template('cloudconfig.yaml')
|
||||
|
||||
CloudConfigContext().populate_jinja_environment(ENV)
|
||||
|
||||
class ExecutorException(Exception):
|
||||
""" Exception raised when there is a problem starting or stopping a builder.
|
||||
|
|
Reference in a new issue