Commit 4821cbb4 authored by Victor Nikulshin's avatar Victor Nikulshin
Browse files

Merge branch 'feature/drush-aliases-in-docker' into '2.x'

Change drush.aliases execution context from local to DOCKER

This resolves right issues that I've seen happening under
certain circumstances.

See merge request !19
parents a4863e28 eccf4950
Pipeline #1197 passed with stages
in 3 minutes and 16 seconds
......@@ -65,7 +65,7 @@ def make(action='install'):
def aliases():
Copy conf/aliases.drushrc.php in the site environment.
......@@ -73,7 +73,7 @@ def aliases():
role = 'docker'
drush_aliases = env.site_drush_aliases
workspace = env.workspace
workspace = env.docker_workspace
if not h.fab_exists(role, drush_aliases):
h.fab_run(role, 'mkdir -p {}'.format(drush_aliases))
......@@ -56,7 +56,7 @@ if is_core_profile(env.site_profile):
env.makefile = path.join(env.builddir, env.site_profile_makefile)
env.makefile = path.join(env.builddir, env.site_profile, env.site_profile_makefile)
env.site_drush_aliases = path.join(env.site_root, 'sites/all/drush')
env.site_drush_aliases = path.join(env.docker_site_root, 'sites/all/drush')
def fab_run(role="local", cmd="", capture=False):
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