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
483b5e91
Commit
483b5e91
authored
Sep 11, 2013
by
Jay Zoldak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove references to cms update_templates
parent
4973f601
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 additions
and
32 deletions
+1
-32
package_data.yaml
+1
-5
playbooks/roles/edxapp/tasks/collect_static.yml
+0
-12
playbooks/roles/edxapp/tasks/deploy.yml
+0
-11
playbooks/roles/edxapp/vars/main.yml
+0
-4
No files found.
package_data.yaml
View file @
483b5e91
...
...
@@ -223,17 +223,13 @@ post_checkout_regex: !!omap
--pythonpath=/opt/wwc/edx-platform --settings=cms.envs.aws \
--noinput --verbosity=0
fi
if $($RUN django-admin.py help update_templates --pythonpath=/opt/wwc/edx-platform --settings=cms.envs.aws &>/dev/null) && [[ -r /opt/wwc/cms.auth.json ]]; then
$RUN django-admin.py update_templates \
--pythonpath=/opt/wwc/edx-platform --settings=cms.envs.aws
fi
fi
-
^edx-platform$|^content-.*$
:
-
|
edxapp_status=$(service edxapp status 2>/dev/null || true)
edx_workers_status=$(service edx-workers status 2>/dev/null || true)
if [[ -n $edxapp_status ]]; then
if [[ $edxapp_status == *stop* ]]; then
service edxapp start;
...
...
playbooks/roles/edxapp/tasks/collect_static.yml
View file @
483b5e91
...
...
@@ -55,18 +55,6 @@
-
cms
-
deploy
-
name
:
update cms templates
shell
:
SERVICE_VARIANT={{ cms_variant }} django-admin.py update_templates --pythonpath={{ edx_platform_code_dir }} --settings=cms.envs.aws
when
:
check_cms_update_templates.rc == 0
notify
:
-
restart edxapp
sudo
:
yes
sudo_user
:
www-data
environment
:
"
{{
deploy_environment
}}"
tags
:
-
cms
-
deploy
# Add failure checks for if no static assets were deployed.
-
name
:
lms asset static failure check
shell
:
/bin/false
...
...
playbooks/roles/edxapp/tasks/deploy.yml
View file @
483b5e91
...
...
@@ -195,17 +195,6 @@
-
cms
-
deploy
-
name
:
check if django can update cms templates
shell
:
SERVICE_VARIANT={{ cms_variant }} django-admin.py help update_templates --pythonpath={{ edx_platform_code_dir }} --settings=cms.envs.aws
register
:
check_cms_update_templates
sudo
:
yes
sudo_user
:
www-data
environment
:
"
{{
deploy_environment
}}"
ignore_errors
:
yes
tags
:
-
cms
-
deploy
-
include
:
collect_static.yml
when
:
celery_worker is not defined
...
...
playbooks/roles/edxapp/vars/main.yml
View file @
483b5e91
...
...
@@ -45,10 +45,6 @@ edxapp_generic_auth_config: &edxapp_generic_auth
'
port'
:
27017
'
render_template'
:
'
mitxmako.shortcuts.render_to_string'
'
user'
:
'
mongo'
# Needed for the CMS to be able to run update_templates
'
direct'
:
'
ENGINE'
:
'
xmodule.modulestore.mongo.MongoModuleStore'
'
OPTIONS'
:
*generic_modulestore_default_options
'
DATABASES'
:
'
default'
:
'
ENGINE'
:
'
django.db.backends.mysql'
...
...
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