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
a95bf86e
Commit
a95bf86e
authored
Jun 06, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moving internal check out of recreate
parent
5f9347b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
29 deletions
+27
-29
util/jenkins/ansible-provision.sh
+27
-29
No files found.
util/jenkins/ansible-provision.sh
View file @
a95bf86e
...
...
@@ -127,6 +127,33 @@ XQUEUE_BASIC_AUTH_PASSWORD: $auth_pass
EOF_AUTH
fi
if
[[
$edx_internal
==
"true"
]]
;
then
# if this isn't a public server add the github
# user and set edx_internal to True so that
# xserver is installed
cat
<<
EOF
>>
$extra_vars_file
EDXAPP_PREVIEW_LMS_BASE: preview.
${
deploy_host
}
EDXAPP_LMS_BASE:
${
deploy_host
}
EDXAPP_CMS_BASE: studio.
${
deploy_host
}
EDXAPP_SITE_NAME:
${
deploy_host
}
CERTS_DOWNLOAD_URL: "http://
${
deploy_host
}
:18090"
CERTS_VERIFY_URL: "http://
${
deploy_host
}
:18090"
edx_internal: True
COMMON_USER_INFO:
- name:
${
github_username
}
github: true
type: admin
USER_CMD_PROMPT: '[
$name_tag
] '
COMMON_ENABLE_NEWRELIC:
$enable_monitoring
COMMON_ENABLE_DATADOG:
$enable_monitoring
FORUM_NEW_RELIC_ENABLE:
$enable_monitoring
EDXAPP_NEWRELIC_LMS_APPNAME: sandbox-
${
dns_name
}
-edxapp-lms
EDXAPP_NEWRELIC_CMS_APPNAME: sandbox-
${
dns_name
}
-edxapp-cms
XQUEUE_NEWRELIC_APPNAME: sandbox-
${
dns_name
}
-xqueue
FORUM_NEW_RELIC_APP_NAME: sandbox-
${
dns_name
}
-forums
EOF
fi
if
[[
$recreate
==
"true"
]]
;
then
# vars specific to provisioning added to $extra-vars
...
...
@@ -152,35 +179,6 @@ rabbitmq_refresh: True
elb:
$elb
EOF
if
[[
$edx_internal
==
"true"
]]
;
then
# if this isn't a public server add the github
# user and set edx_internal to True so that
# xserver is installed
cat
<<
EOF
>>
$extra_vars_file
EDXAPP_PREVIEW_LMS_BASE: preview.
${
deploy_host
}
EDXAPP_LMS_BASE:
${
deploy_host
}
EDXAPP_CMS_BASE: studio.
${
deploy_host
}
EDXAPP_SITE_NAME:
${
deploy_host
}
CERTS_DOWNLOAD_URL: "http://
${
deploy_host
}
:18090"
CERTS_VERIFY_URL: "http://
${
deploy_host
}
:18090"
edx_internal: True
COMMON_USER_INFO:
- name:
${
github_username
}
github: true
type: admin
dns_zone:
$dns_zone
rabbitmq_refresh: True
USER_CMD_PROMPT: '[
$name_tag
] '
elb:
$elb
COMMON_ENABLE_NEWRELIC:
$enable_monitoring
COMMON_ENABLE_DATADOG:
$enable_monitoring
FORUM_NEW_RELIC_ENABLE:
$enable_monitoring
EDXAPP_NEWRELIC_LMS_APPNAME: sandbox-
${
dns_name
}
-edxapp-lms
EDXAPP_NEWRELIC_CMS_APPNAME: sandbox-
${
dns_name
}
-edxapp-cms
XQUEUE_NEWRELIC_APPNAME: sandbox-
${
dns_name
}
-xqueue
FORUM_NEW_RELIC_APP_NAME: sandbox-
${
dns_name
}
-forums
EOF
fi
# run the tasks to launch an ec2 instance from AMI
...
...
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