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
f48d5f58
Commit
f48d5f58
authored
Mar 31, 2016
by
Emmanuel Milou
Browse files
Fix param in deploy parent task
Refs #92043
parent
ce2875fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
__init__.py
View file @
f48d5f58
import
docker
import
docker
from
deploy
import
*
from
deploy
import
*
import
drush
import
drush
import
behat
import
behat
from
.environments
import
e
from
.environments
import
e
from
fabric.api
import
lcd
,
cd
,
task
,
roles
,
env
,
local
,
run
,
runs_once
,
execute
from
fabric.api
import
lcd
,
cd
,
task
,
roles
,
env
,
local
,
run
,
runs_once
,
execute
...
@@ -19,7 +19,7 @@ def init():
...
@@ -19,7 +19,7 @@ def init():
execute
(
drush
.
make
,
'install'
)
execute
(
drush
.
make
,
'install'
)
execute
(
drush
.
site_install
)
execute
(
drush
.
site_install
)
execute
(
drush
.
aliases
)
execute
(
drush
.
aliases
)
execute
(
behat
.
init
)
execute
(
behat
.
init
)
...
@@ -47,7 +47,7 @@ def install():
...
@@ -47,7 +47,7 @@ def install():
execute
(
drush
.
make
,
'install'
)
execute
(
drush
.
make
,
'install'
)
execute
(
drush
.
site_install
)
execute
(
drush
.
site_install
)
execute
(
behat
.
init
)
execute
(
behat
.
init
)
@
task
@
task
...
@@ -60,7 +60,7 @@ def update():
...
@@ -60,7 +60,7 @@ def update():
execute
(
drush
.
make
,
'update'
)
execute
(
drush
.
make
,
'update'
)
execute
(
drush
.
updatedb
)
execute
(
drush
.
updatedb
)
execute
(
behat
.
init
)
execute
(
behat
.
init
)
@
task
@
task
def
release
():
def
release
():
...
@@ -68,7 +68,7 @@ def release():
...
@@ -68,7 +68,7 @@ def release():
"""
"""
Generate all artefacts related to a release process or a deployment process.
Generate all artefacts related to a release process or a deployment process.
"""
"""
execute
(
drush
.
archive_dump
)
execute
(
drush
.
archive_dump
)
execute
(
drush
.
gen_doc
)
execute
(
drush
.
gen_doc
)
...
@@ -79,6 +79,5 @@ def deploy(environment):
...
@@ -79,6 +79,5 @@ def deploy(environment):
"""
"""
execute
(
provision
,
environment
)
execute
(
provision
,
environment
)
execute
(
push
,
environment
,
host
=
env
.
hosts
)
execute
(
push
,
environment
,
hosts
=
env
.
hosts
)
execute
(
migrate
,
environment
,
host
=
env
.
hosts
)
execute
(
migrate
,
environment
,
hosts
=
env
.
hosts
)
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