Fixes to the build server.
This commit is contained in:
parent
39fa982ef2
commit
8981f576fc
3 changed files with 33 additions and 30 deletions
|
@ -26,7 +26,8 @@ formatter = logging.Formatter(FORMAT)
|
|||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
BUILD_SERVER_CMD = ('docker run -d -lxc-conf="lxc.aa_profile=unconfined" ' +
|
||||
BUILD_SERVER_CMD = ('docker run -d -p 5002:5002 ' +
|
||||
'-lxc-conf="lxc.aa_profile=unconfined" ' +
|
||||
'-privileged -e \'RESOURCE_URL=%s\' -e \'TAG=%s\' ' +
|
||||
'-e \'TOKEN=%s\' quay.io/quay/buildserver')
|
||||
|
||||
|
@ -189,7 +190,7 @@ def babysit_builder(request):
|
|||
retry_command(droplet.destroy)
|
||||
|
||||
repository_build.status_url = None
|
||||
repository_build.build_node_id = None;
|
||||
repository_build.build_node_id = None
|
||||
repository_build.save()
|
||||
|
||||
return True
|
||||
|
|
Reference in a new issue