Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-analytics-pipeline
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-analytics-pipeline
Commits
111907bf
Commit
111907bf
authored
Dec 27, 2017
by
Brian Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Activate venv before calling launch-task.
parent
695b58ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
edx/analytics/tasks/launchers/remote.py
+1
-1
No files found.
edx/analytics/tasks/launchers/remote.py
View file @
111907bf
...
@@ -119,7 +119,7 @@ def run_task_playbook(inventory, arguments, uid):
...
@@ -119,7 +119,7 @@ def run_task_playbook(inventory, arguments, uid):
env_var_string
=
' '
.
join
(
'{0}={1}'
.
format
(
k
,
v
)
for
k
,
v
in
env_vars
.
iteritems
())
env_var_string
=
' '
.
join
(
'{0}={1}'
.
format
(
k
,
v
)
for
k
,
v
in
env_vars
.
iteritems
())
command
=
'cd {code_dir} && . $HOME/.bashrc &&
{env_vars}{bg}{data_dir}/venv/bin/
launch-task {task_arguments}{end_bg}'
.
format
(
command
=
'cd {code_dir} && . $HOME/.bashrc &&
. {data_dir}/venv/bin/activate && {env_vars}{bg}
launch-task {task_arguments}{end_bg}'
.
format
(
env_vars
=
env_var_string
+
' '
if
env_var_string
else
''
,
env_vars
=
env_var_string
+
' '
if
env_var_string
else
''
,
data_dir
=
data_dir
,
data_dir
=
data_dir
,
code_dir
=
code_dir
,
code_dir
=
code_dir
,
...
...
Write
Preview
Markdown
is supported
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