[ARVADOS] updated: fce072c76af547ed973cd4ff8b6ff30fd984be20
Git user
git at public.curoverse.com
Tue Mar 7 10:06:34 EST 2017
Summary of changes:
sdk/python/arvados/commands/keepdocker.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
via fce072c76af547ed973cd4ff8b6ff30fd984be20 (commit)
from 123251c60323ed088c9121bf97ffbeaf17b80382 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit fce072c76af547ed973cd4ff8b6ff30fd984be20
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Tue Mar 7 10:02:39 2017 -0500
8567: Add check for ARVADOS_API_HOST_INSECURE
diff --git a/sdk/python/arvados/commands/keepdocker.py b/sdk/python/arvados/commands/keepdocker.py
index 9f7cd79..569b315 100644
--- a/sdk/python/arvados/commands/keepdocker.py
+++ b/sdk/python/arvados/commands/keepdocker.py
@@ -409,7 +409,8 @@ def migrate19():
with tempfile.NamedTemporaryFile() as envfile:
envfile.write("ARVADOS_API_HOST=%s\n" % (os.environ["ARVADOS_API_HOST"]))
envfile.write("ARVADOS_API_TOKEN=%s\n" % (os.environ["ARVADOS_API_TOKEN"]))
- envfile.write("ARVADOS_API_HOST_INSECURE=%s\n" % (os.environ["ARVADOS_API_HOST_INSECURE"]))
+ if "ARVADOS_API_HOST_INSECURE" in os.environ:
+ envfile.write("ARVADOS_API_HOST_INSECURE=%s\n" % (os.environ["ARVADOS_API_HOST_INSECURE"]))
envfile.flush()
dockercmd = ["docker", "run",
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list