Merge pull request #2084 from charltonaustin/change_ephemeral_popen_process_location

Adding in a new location for the default popen executor.
This commit is contained in:
Charlton Austin 2016-11-04 15:15:09 -04:00 committed by GitHub
commit 909be766c9

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())