Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
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
OpenEdx
configuration
Commits
04b4a3c5
Commit
04b4a3c5
authored
Oct 11, 2017
by
muhammad-ammar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
misc changes
parent
fe9639ae
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletions
+3
-1
playbooks/roles/video_pipeline/defaults/main.yml
+1
-0
playbooks/roles/video_pipeline/templates/celery_worker.sh.j2
+1
-1
playbooks/roles/video_pipeline/templates/supervisor.conf.j2
+1
-0
No files found.
playbooks/roles/video_pipeline/defaults/main.yml
View file @
04b4a3c5
...
...
@@ -24,6 +24,7 @@ video_pipeline_home: "{{ COMMON_APP_DIR }}/{{ video_pipeline_service_name }}"
# TODO! Find some better way to do the below
video_pipeline_service_home
:
"
{{
COMMON_APP_DIR
}}/{{
video_pipeline_service_name
}}"
video_pipeline_code_dir
:
"
{{
video_pipeline_service_home
}}/{{
video_pipeline_service_name
}}"
video_pipeline_venv_dir
:
"
{{
video_pipeline_service_home
}}/venvs/{{
video_pipeline_service_name
}}"
video_pipeline_ingest_worker
:
"
{{
video_pipeline_service_name
}}_ingest"
video_pipeline_deliver_worker
:
"
{{
video_pipeline_service_name
}}_deliver"
...
...
playbooks/roles/video_pipeline/templates/celery_worker.sh.j2
View file @
04b4a3c5
...
...
@@ -3,4 +3,4 @@
# {{ ansible_managed }}
source
{{
video_pipeline_service_home
}}
/
{{
video_pipeline_service_name
}}
_env
python
{{
video_pipeline_service_home
}}
/
{{
video_pipeline_service_name
}}
/
{{
worker_script
}}
{{
video_pipeline_venv_dir
}}
/bin/
python
{{
video_pipeline_service_home
}}
/
{{
video_pipeline_service_name
}}
/
{{
worker_script
}}
playbooks/roles/video_pipeline/templates/supervisor.conf.j2
View file @
04b4a3c5
...
...
@@ -4,6 +4,7 @@
[program:{{ worker_script }}]
command={{ video_pipeline_service_home }}/{{ worker_script }}.sh
environment=PYTHONPATH={{ video_pipeline_code_dir }}
user={{ common_web_user }}
directory={{ video_pipeline_code_dir }}
stdout_logfile={{ supervisor_log_dir }}/%(program_name)s-stdout.log
...
...
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