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
94fd58da
Commit
94fd58da
authored
Jun 15, 2016
by
Saleem Latif
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove all usages of USE_CUSTOM_THEME and THEME_NAME
parent
c29f4b2d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
42 deletions
+0
-42
playbooks/roles/edxapp/defaults/main.yml
+0
-13
playbooks/roles/edxapp/tasks/deploy.yml
+0
-21
playbooks/roles/edxapp/tasks/tag_ec2.yml
+0
-8
No files found.
playbooks/roles/edxapp/defaults/main.yml
View file @
94fd58da
...
...
@@ -221,7 +221,6 @@ EDXAPP_FEATURES:
ENABLE_INSTRUCTOR_ANALYTICS
:
false
PREVIEW_LMS_BASE
:
"
{{
EDXAPP_PREVIEW_LMS_BASE
}}"
ENABLE_GRADE_DOWNLOADS
:
true
USE_CUSTOM_THEME
:
"
{{
edxapp_use_custom_theme
}}"
ENABLE_MKTG_SITE
:
"
{{
EDXAPP_ENABLE_MKTG_SITE
}}"
AUTOMATIC_AUTH_FOR_TESTING
:
"
{{
EDXAPP_ENABLE_AUTO_AUTH
}}"
ENABLE_THIRD_PARTY_AUTH
:
"
{{
EDXAPP_ENABLE_THIRD_PARTY_AUTH
}}"
...
...
@@ -895,7 +894,6 @@ generic_env_config: &edxapp_generic_env
SESSION_COOKIE_DOMAIN
:
"
{{
EDXAPP_SESSION_COOKIE_DOMAIN
}}"
SESSION_COOKIE_NAME
:
"
{{
EDXAPP_SESSION_COOKIE_NAME
}}"
COMMENTS_SERVICE_KEY
:
"
{{
EDXAPP_COMMENTS_SERVICE_KEY
}}"
THEME_NAME
:
"
{{
edxapp_theme_name
}}"
TECH_SUPPORT_EMAIL
:
"
{{
EDXAPP_TECH_SUPPORT_EMAIL
}}"
CONTACT_EMAIL
:
"
{{
EDXAPP_CONTACT_EMAIL
}}"
BUGS_EMAIL
:
"
{{
EDXAPP_BUGS_EMAIL
}}"
...
...
@@ -1060,17 +1058,6 @@ worker_core_mult:
lms
:
4
cms
:
2
# Stanford-style Theming
# Turn theming on and off with edxapp_use_custom_theme
# Set theme name with edxapp_theme_name
# Stanford, for example, uses edxapp_theme_name: 'stanford'
#
# TODO: change variables to ALL-CAPS, since they are meant to be externally overridden
edxapp_use_custom_theme
:
false
edxapp_theme_name
:
"
"
edxapp_theme_source_repo
:
'
https://{{
COMMON_GIT_MIRROR
}}/Stanford-Online/edx-theme.git'
edxapp_theme_version
:
'
master'
# make this the public URL instead of writable
edx_platform_repo
:
"
https://{{
COMMON_GIT_MIRROR
}}/edx/edx-platform.git"
# `edx_platform_version` can be anything that git recognizes as a commit
...
...
playbooks/roles/edxapp/tasks/deploy.yml
View file @
94fd58da
...
...
@@ -65,27 +65,6 @@
-
install
-
install:code
# edX supports two theme types, Comprehensive themes and the older
# Stanford-style themes. They are mutually exclusive.
#
# To enable Stanford theming, point edxapp_theme_source_repo
# (yes, lowercase) to a Stanford-style theme and set
# edxapp_theme_name (again, lowercase) to its name.
-
name
:
checkout Stanford-style theme
git_2_0_1
:
dest
:
"
{{
edxapp_app_dir
}}/themes/{{
edxapp_theme_name
}}"
repo
:
"
{{
edxapp_theme_source_repo
}}"
version
:
"
{{
edxapp_theme_version
}}"
accept_hostkey
:
yes
when
:
edxapp_theme_name != ''
become_user
:
"
{{
edxapp_user
}}"
environment
:
GIT_SSH
:
"
{{
edxapp_git_ssh
}}"
register
:
edxapp_theme_checkout
tags
:
-
install
-
install:code
-
name
:
Stat each requirements file with Github URLs to ensure it exists
stat
:
path
:
"
{{
item
}}"
...
...
playbooks/roles/edxapp/tasks/tag_ec2.yml
View file @
94fd58da
...
...
@@ -9,11 +9,3 @@
tags
:
"
version:edx_platform"
:
"
{{
edx_platform_repo
}}
{{
edxapp_platform_checkout.after|truncate(7,True,'')
}}"
when
:
edxapp_platform_checkout.after is defined
-
name
:
tag instance with edxapp theme version
ec2_tag
:
resource
:
"
{{
ansible_ec2_instance_id
}}"
region
:
"
{{
ansible_ec2_placement_region
}}"
tags
:
"
version:edxapp_theme"
:
"
{{
edxapp_theme_source_repo
}}
{{
edxapp_theme_checkout.after|truncate(7,True,'')
}}"
when
:
edxapp_theme_checkout.after is defined
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