Commit f48d5f58 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Fix param in deploy parent task

Refs #92043
parent ce2875fa
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)
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