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
f4fcf2e5
Commit
f4fcf2e5
authored
10 years ago
by
Han Su Kim
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1378 from edx/han/cherrypick
Han/cherrypick
parents
47ed844b
b8c951f6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
5 deletions
+8
-5
playbooks/roles/edxapp/defaults/main.yml
+2
-2
playbooks/roles/edxapp/tasks/service_variant_config.yml
+3
-3
playbooks/roles/jenkins_worker/meta/main.yml
+1
-0
playbooks/roles/rbenv/tasks/main.yml
+2
-0
No files found.
playbooks/roles/edxapp/defaults/main.yml
View file @
f4fcf2e5
...
...
@@ -81,7 +81,7 @@ EDXAPP_FEATURES:
ENABLE_INSTRUCTOR_ANALYTICS
:
true
SUBDOMAIN_BRANDING
:
false
SUBDOMAIN_COURSE_LISTINGS
:
false
PREVIEW_LMS_BASE
:
$EDXAPP_PREVIEW_LMS_BASE
PREVIEW_LMS_BASE
:
"
{{
EDXAPP_PREVIEW_LMS_BASE
}}"
ENABLE_S3_GRADE_DOWNLOADS
:
true
USE_CUSTOM_THEME
:
$edxapp_use_custom_theme
AUTOMATIC_AUTH_FOR_TESTING
:
$EDXAPP_ENABLE_AUTO_AUTH
...
...
@@ -152,7 +152,7 @@ EDXAPP_CC_PROCESSOR:
# does not affect verified students
EDXAPP_PAID_COURSE_REGISTRATION_CURRENCY
:
[
'
usd'
,
'
$'
]
# Configure
rake
tasks in edx-platform to skip Python/Ruby/Node installation
# Configure
paver
tasks in edx-platform to skip Python/Ruby/Node installation
EDXAPP_NO_PREREQ_INSTALL
:
1
# whether to setup the python codejail or not
...
...
This diff is collapsed.
Click to expand it.
playbooks/roles/edxapp/tasks/service_variant_config.yml
View file @
f4fcf2e5
...
...
@@ -89,11 +89,11 @@
-
"
restart
edxapp"
-
"
restart
edxapp_workers"
# Gather assets using
rake
if possible
# Gather assets using
paver
if possible
-
name
:
gather {{ item }} static assets with
rake
-
name
:
gather {{ item }} static assets with
paver
shell
:
>
SERVICE_VARIANT={{ item }}
rake {{ item }}:gather_assets:
aws
SERVICE_VARIANT={{ item }}
paver update_assets {{ item }} --settings=
aws
executable=/bin/bash
chdir={{ edxapp_code_dir }}
sudo_user
:
"
{{
edxapp_user
}}"
...
...
This diff is collapsed.
Click to expand it.
playbooks/roles/jenkins_worker/meta/main.yml
View file @
f4fcf2e5
...
...
@@ -4,3 +4,4 @@ dependencies:
rbenv_user
:
"
{{
jenkins_user
}}"
rbenv_dir
:
"
{{
jenkins_home
}}"
rbenv_ruby_version
:
"
{{
jenkins_ruby_version
}}"
jenkins_worker
:
true
This diff is collapsed.
Click to expand it.
playbooks/roles/rbenv/tasks/main.yml
View file @
f4fcf2e5
...
...
@@ -119,11 +119,13 @@
-
name
:
remove rbenv version of rake
file
:
path="{{ rbenv_dir }}/.rbenv/versions/{{ rbenv_ruby_version }}/bin/rake" state=absent
when
:
jenkins_worker is not defined or not jenkins_worker
-
name
:
install rake gem
shell
:
"
gem
install
rake
-v
{{
rbenv_rake_version
}}"
sudo_user
:
"
{{
rbenv_user
}}"
environment
:
"
{{
rbenv_environment
}}"
when
:
jenkins_worker is not defined or not jenkins_worker
-
name
:
rehash
shell
:
"
rbenv
rehash"
...
...
This diff is collapsed.
Click to expand it.
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