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
b08881bb
Commit
b08881bb
authored
Jul 18, 2013
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Give the mysql/openid workaround a better name.
parent
9810f9a0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
6 deletions
+8
-6
playbooks/edx_jenkins_tests.yml
+1
-1
playbooks/edx_provision_test.yml
+1
-1
playbooks/edx_sandbox.yml
+1
-1
playbooks/roles/edxapp/tasks/deploy.yml
+4
-3
playbooks/vagrant.yml
+1
-0
No files found.
playbooks/edx_jenkins_tests.yml
View file @
b08881bb
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
gather_facts
:
True
gather_facts
:
True
vars
:
vars
:
migrate_db
:
True
migrate_db
:
True
mysql5
_workaround
:
True
openid
_workaround
:
True
ansible_ssh_private_key_file
:
/var/lib/jenkins/continuous-integration.pem
ansible_ssh_private_key_file
:
/var/lib/jenkins/continuous-integration.pem
vars_files
:
vars_files
:
-
"
{{
secure_dir
}}/vars/edxapp_ref_users.yml"
-
"
{{
secure_dir
}}/vars/edxapp_ref_users.yml"
...
...
playbooks/edx_provision_test.yml
View file @
b08881bb
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
gather_facts
:
True
gather_facts
:
True
vars
:
vars
:
migrate_db
:
True
migrate_db
:
True
mysql5
_workaround
:
True
openid
_workaround
:
True
ansible_ssh_private_key_file
:
/var/lib/jenkins/continuous-integration.pem
ansible_ssh_private_key_file
:
/var/lib/jenkins/continuous-integration.pem
vars_files
:
vars_files
:
-
"
{{
secure_dir
}}/vars/edxapp_ref_users.yml"
-
"
{{
secure_dir
}}/vars/edxapp_ref_users.yml"
...
...
playbooks/edx_sandbox.yml
View file @
b08881bb
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
gather_facts
:
True
gather_facts
:
True
vars
:
vars
:
migrate_db
:
True
migrate_db
:
True
mysql5
_workaround
:
True
openid
_workaround
:
True
roles
:
roles
:
-
common
-
common
-
nginx
-
nginx
...
...
playbooks/roles/edxapp/tasks/deploy.yml
View file @
b08881bb
...
@@ -180,11 +180,12 @@
...
@@ -180,11 +180,12 @@
when
:
celery_worker is not defined
when
:
celery_worker is not defined
# https://code.launchpad.net/~wligtenberg/django-openid-auth/mysql_fix/+merge/22726
# 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
# This is necessary for when syncdb is run and the django_openid_auth module is installed,
# not sure if this fix will ever get merged
# We should never do this in production
# We should never do this in production
-
name
:
mysql5.5
workaround - NOT FOR PRODUCTION
-
name
:
openid
workaround - NOT FOR PRODUCTION
shell
:
sed -i -e 's/claimed_id = models.TextField(max_length=2047, unique=True/claimed_id = models.TextField(max_length=2047/' /opt/edx/lib/python2.7/site-packages/django_openid_auth/models.py
shell
:
sed -i -e 's/claimed_id = models.TextField(max_length=2047, unique=True/claimed_id = models.TextField(max_length=2047/' /opt/edx/lib/python2.7/site-packages/django_openid_auth/models.py
when
:
mysql5
_workaround is defined
when
:
openid
_workaround is defined
-
name
:
syncdb and migrate
-
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
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
...
...
playbooks/vagrant.yml
View file @
b08881bb
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
gather_facts
:
True
gather_facts
:
True
vars
:
vars
:
migrate_db
:
True
migrate_db
:
True
openid_workaround
:
True
vars_files
:
vars_files
:
-
"
group_vars/all"
-
"
group_vars/all"
-
"
{{
secure_dir
}}/vars/edxapp_ref_users.yml"
-
"
{{
secure_dir
}}/vars/edxapp_ref_users.yml"
...
...
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