Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Drupal
drupalizer
Commits
bbe7b6a5
Commit
bbe7b6a5
authored
Nov 01, 2017
by
Victor Nikulshin
Browse files
Ignore possible failure of updatedb command during deployment
parent
894aaaf8
Pipeline
#9356
failed with stages
in 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
deploy.py
View file @
bbe7b6a5
...
...
@@ -95,7 +95,7 @@ def _update_site_database(target, environment):
Helper function to update site database.
:param environment
"""
run
(
'drush --yes --root={} updatedb'
.
format
(
target
.
get
(
'root'
)))
run
(
'drush --yes --root={} updatedb
|| true
'
.
format
(
target
.
get
(
'root'
)))
print
(
green
(
'The target environment {} is up-to-date.'
.
format
(
environment
)))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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