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
edx
configuration
Commits
2bec3b35
Commit
2bec3b35
authored
Jun 24, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1237 from edx/jarv/add-nginx
task ordering
parents
7b986cee
6837b86d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
playbooks/roles/analytics-api/defaults/main.yml
+1
-1
playbooks/roles/analytics-api/tasks/deploy.yml
+7
-7
No files found.
playbooks/roles/analytics-api/defaults/main.yml
View file @
2bec3b35
...
...
@@ -19,6 +19,7 @@ ANALYTICS_API_NEWRELIC_APPNAME: "your Newrelic appname"
ANALYTICS_API_PIP_EXTRA_ARGS
:
"
-i
{{
COMMON_PYPI_MIRROR_URL
}}"
ANALYTICS_API_NGINX_PORT
:
"
18100"
ANALYTICS_API_VERSION
:
"
master"
#
# vars are namespace with the module name.
#
...
...
@@ -41,7 +42,6 @@ analytics_api_gunicorn_timeout: "300"
analytics_api_django_settings
:
"
production"
analytics_api_source_repo
:
"
git@{{
COMMON_GIT_MIRROR
}}:edx/edx-analytics-data-api"
analytics_api_git_ssh_opts
:
"
-o
UserKnownHostsFile=/dev/null
-o
StrictHostKeyChecking=no
-i
{{
analytics_api_git_identity_file
}}"
ANALYTICS_API_VERSION
:
"
master"
analytics_api_git_identity_file
:
"
{{
analytics_api_app_dir
}}/git-identity"
analytics_api_log_dir
:
"
{{
COMMON_LOG_DIR
}}/{{
analytics_api_service_name
}}"
...
...
playbooks/roles/analytics-api/tasks/deploy.yml
View file @
2bec3b35
...
...
@@ -14,6 +14,13 @@
notify
:
"
restart
the
analytics
service"
sudo_user
:
"
{{
analytics_api_user
}}"
-
name
:
write out app config file
template
:
>
src=edx/app/analytics-api/analytics-api.yaml.j2
dest={{ COMMON_CFG_DIR }}/{{ analytics_api_service_name }}.yaml
mode=0644 owner={{ analytics_api_user }} group={{ analytics_api_user }}
notify
:
restart the analytics service
-
name
:
run collectstatic
shell
:
>
chdir={{ analytics_api_code_dir }}
...
...
@@ -30,13 +37,6 @@
notify
:
restart the analytics service
with_items
:
analytics_api_requirements
-
name
:
write out app config file
template
:
>
src=edx/app/analytics-api/analytics-api.yaml.j2
dest={{ COMMON_CFG_DIR }}/{{ analytics_api_service_name }}.yaml
mode=0644 owner={{ analytics_api_user }} group={{ analytics_api_user }}
notify
:
restart the analytics service
-
name
:
write out the supervisior wrapper
template
:
>
src=edx/app/analytics-api/analytics-api.sh.j2
...
...
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