Adding in a new location for the default popen executor.

This commit is contained in:
Charlton Austin 2016-11-04 14:21:19 -04:00
parent d051e58e69
commit bba51787b5

View file

@ -271,7 +271,9 @@ class PopenExecutor(BuilderExecutor):
}
logpipe = LogPipe(logging.INFO)
spawned = subprocess.Popen('/Users/jake/bin/quay-builder', stdout=logpipe, stderr=logpipe,
spawned = subprocess.Popen(os.environ.get("BUILDER_BINARY_LOCATION",'/usr/local/quay-builer'),
stdout=logpipe,
stderr=logpipe,
env=builder_env)
builder_id = str(uuid.uuid4())