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
9d658999
Commit
9d658999
authored
Sep 28, 2015
by
Clinton Blackburn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added programs service to sandboxes
ECOM-2185
parent
925fde98
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
2 deletions
+29
-2
playbooks/edx-east/edx_continuous_integration.yml
+1
-0
playbooks/edx-east/programs.yml
+22
-0
util/jenkins/ansible-provision.sh
+6
-2
No files found.
playbooks/edx-east/edx_continuous_integration.yml
View file @
9d658999
...
...
@@ -37,6 +37,7 @@
-
edx_ansible
-
analytics_api
-
ecommerce
-
programs
-
oauth_client_setup
-
role
:
datadog
when
:
COMMON_ENABLE_DATADOG
...
...
playbooks/edx-east/programs.yml
0 → 100644
View file @
9d658999
-
name
:
Deploy edX Programs Service
hosts
:
all
sudo
:
True
gather_facts
:
True
vars
:
ENABLE_DATADOG
:
False
ENABLE_SPLUNKFORWARDER
:
False
ENABLE_NEWRELIC
:
False
roles
:
-
role
:
nginx
nginx_sites
:
-
programs
nginx_default_sites
:
-
programs
-
aws
-
programs
-
role
:
datadog
when
:
COMMON_ENABLE_DATADOG
-
role
:
splunkforwarder
when
:
COMMON_ENABLE_SPLUNKFORWARDER
-
role
:
newrelic
when
:
COMMON_ENABLE_NEWRELIC
util/jenkins/ansible-provision.sh
View file @
9d658999
...
...
@@ -212,11 +212,15 @@ EDXAPP_NEWRELIC_WORKERS_APPNAME: sandbox-${dns_name}-edxapp-workers
XQUEUE_NEWRELIC_APPNAME: sandbox-
${
dns_name
}
-xqueue
FORUM_NEW_RELIC_APP_NAME: sandbox-
${
dns_name
}
-forums
SANDBOX_USERNAME:
$github_username
ECOMMERCE_SOCIAL_AUTH_REDIRECT_IS_HTTPS: true
EDXAPP_ECOMMERCE_PUBLIC_URL_ROOT: "https://ecommerce-
${
deploy_host
}
"
EDXAPP_ECOMMERCE_API_URL: "https://ecommerce-
${
deploy_host
}
/api/v2"
ECOMMERCE_ECOMMERCE_URL_ROOT: "https://ecommerce-
${
deploy_host
}
"
ECOMMERCE_LMS_URL_ROOT: "https://
${
deploy_host
}
"
ECOMMERCE_SOCIAL_AUTH_REDIRECT_IS_HTTPS: true
PROGRAMS_URL_ROOT: "https://programs-
${
deploy_host
}
"
PROGRAMS_SOCIAL_AUTH_REDIRECT_IS_HTTPS: true
EOF
fi
...
...
@@ -261,7 +265,7 @@ EOF
fi
declare
-A
deploy
roles
=
"edxapp forum ecommerce notifier xqueue xserver ora discern certs demo testcourses"
roles
=
"edxapp forum ecommerce
programs
notifier xqueue xserver ora discern certs demo testcourses"
for
role
in
$roles
;
do
deploy[
$role
]=
${
!role
}
done
...
...
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