Commit 7cd9c7dd authored by Aleksey Shirokih's avatar Aleksey Shirokih
Browse files

Remove tags from ui

parent a758b69e
......@@ -66,10 +66,6 @@ class DeployHandler(BaseHandler):
self.deploy_options -= set(range(90))
if 10 in self.deploy_options:
tags.append("get_source")
if 11 in self.deploy_options:
tags.append("config")
if 12 in self.deploy_options:
tags.append("requirements")
if 50 in self.deploy_options and 51 not in self.deploy_options:
tags.append("restart")
if 51 in self.deploy_options:
......@@ -82,6 +78,14 @@ class DeployHandler(BaseHandler):
env.update({
"TOWER_SHOW_SECRETS": "1"
})
if 93 in self.deploy_options:
env.update({
"TOWER_RUN_CHECKS": "1"
})
if 94 in self.deploy_options:
env.update({
"TOWER_RUN_TESTS": "1"
})
if tags:
self.tags = "--tags=" + ",".join(tags)
logger.info("Running deploy on %s %s", self.env.name, self.deploy_options)
......
......@@ -62,16 +62,15 @@ var environment_list = {
value: "Install Everything",
tooltip: "Ignore other options except verbose. Normal install"
},
{id: 10, value: "Update sources", tooltip: "Only update sources"},
{id: 11, value: "Update configs", tooltip: "Rebuild configs, and restart services"},
{id: 12, value: "Install requirements"},
{id: 93, value: "Run pre deploy checks"},
{id: 94, value: "Run post deploy tests"},
{id: 50, value: "Restart quick", tooltip: "Stop all, start all"},
{id: 51, value: "Restart gentle", tooltip: "Restart one by one"},
{id: 90, value: "Be verbose", tooltip: "Debug output -v"},
{id: 91, value: "Be extremely verbose", tooltip: "Debug output -vvvv"},
{id: 92, value: "Show secrets in deploy log", tooltip: "Disable no_log"}
],
value: "1"
value: "1,93,94"
}
]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment