Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
fumufu86
tower
Commits
7cd9c7dd
Commit
7cd9c7dd
authored
Mar 26, 2018
by
Aleksey Shirokih
Browse files
Remove tags from ui
parent
a758b69e
Changes
2
Hide whitespace changes
Inline
Side-by-side
tower/api/deploy.py
View file @
7cd9c7dd
...
...
@@ -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
)
...
...
tower/ui/environment_ui.js
View file @
7cd9c7dd
...
...
@@ -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
"
}
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment