diff options
author | hongbo tian <hongbo.tianhongbo@huawei.com> | 2017-03-30 07:42:23 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-30 07:42:23 +0000 |
commit | 7063707c6d95db5dc0b48f6527768d411ff5ecf6 (patch) | |
tree | 52e4b5175b9db63c7d742645737ccc932530741a /dovetail/container.py | |
parent | 7142d98c73a477e077f1148117316ef12273f412 (diff) | |
parent | 0d1e35bfb9069c701dbf24c3daaa618bc3ad108b (diff) |
Merge "dovetail tool: set a unique build_tag for each DoveTail test"
Diffstat (limited to 'dovetail/container.py')
-rw-r--r-- | dovetail/container.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dovetail/container.py b/dovetail/container.py index 9f4edd40..346efed1 100644 --- a/dovetail/container.py +++ b/dovetail/container.py @@ -62,8 +62,7 @@ class Container(object): ins_type = " -e INSTALLER_TYPE=vendor-specific" scenario = " -e DEPLOY_SCENARIO=default" node = " -e NODE_NAME=master" - tag = " -e BUILD_TAG=daily-master-001" - envs = "%s %s %s %s" % (ins_type, scenario, node, tag) + envs = "%s %s %s" % (ins_type, scenario, node) dovetail_config = dt_cfg.dovetail_config if dovetail_config['report_dest'].startswith("http"): @@ -107,8 +106,10 @@ class Container(object): if not openrc: return None - # This is used for showing the debug logs of the upstream projects + # CI_DEBUG is used for showing the debug logs of the upstream projects + # BUILD_TAG is the unique id for this test envs = ' -e CI_DEBUG=true' + envs = envs + ' -e BUILD_TAG=%s' % dovetail_config['build_tag'] config = "" if type.lower() == "functest": |