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
a8df1341
Commit
a8df1341
authored
Jun 25, 2013
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
workarounds for 5.5
parent
22ba7b28
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
playbooks/edx_sandbox_jenkins.yml
+1
-0
playbooks/roles/edxapp/tasks/deploy.yml
+7
-0
playbooks/roles/edxlocal/tasks/main.yml
+7
-0
No files found.
playbooks/edx_sandbox_jenkins.yml
View file @
a8df1341
...
...
@@ -17,6 +17,7 @@
gather_facts
:
True
vars
:
migrate_db
:
True
mysql5_workaround
:
True
ansible_ssh_private_key_file
:
/var/lib/jenkins/continuous-integration.pem
vars_files
:
-
"
{{
secure_dir
}}/vars/edxapp_ref_users.yml"
...
...
playbooks/roles/edxapp/tasks/deploy.yml
View file @
a8df1341
...
...
@@ -257,6 +257,13 @@
-
cms
-
deploy
# https://code.launchpad.net/~wligtenberg/django-openid-auth/mysql_fix/+merge/22726
# This is necessary for the local mysql5.5, not sure if this fix will ever get merged
# We should never do this in production
-
name
:
mysql5.5 workaround - NOT FOR PRODUCTION
shell
:
sed -i -e 's/claimed_id = models.TextField(max_length=2047/claimed_id = models.TextField(max_length=254/' /opt/edx/lib/python2.7/site-packages/django_openid_auth/models.py
when
:
mysql5_workaround is defined
-
name
:
syncdb and migrate
shell
:
sudo -u www-data SERVICE_VARIANT=lms /opt/edx/bin/django-admin.py syncdb --migrate --noinput --settings=lms.envs.aws --pythonpath=/opt/wwc/edx-platform
when
:
migrate_db is defined
...
...
playbooks/roles/edxlocal/tasks/main.yml
View file @
a8df1341
...
...
@@ -3,6 +3,13 @@
# - group_vars/all
# - common/tasks/main.yml
# - nginx/tasks/main.yml
#
# This installs mysql-server-5.5 though
# in production we use mysql-5.1.62.
#
# We could install from source instead:
# http://downloads.mysql.com/archives/mysql-5.1/mysql-5.1.62.tar.gz
#
---
-
name
:
install python-pymongo (req for ansible)
pip
:
name=pymongo
...
...
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