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
8f9eec7e
Commit
8f9eec7e
authored
Aug 30, 2016
by
Sven Marnach
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add task to perform migrations needed for Eucalyptus upgrade.
parent
0ec685c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
playbooks/roles/common_vars/defaults/main.yml
+3
-0
playbooks/roles/edxapp/tasks/service_variant_config.yml
+12
-0
No files found.
playbooks/roles/common_vars/defaults/main.yml
View file @
8f9eec7e
...
@@ -183,3 +183,6 @@ common_close_all_caches: |
...
@@ -183,3 +183,6 @@ common_close_all_caches: |
COMMON_TRACKING_LOG_ROTATION
:
COMMON_TRACKING_LOG_ROTATION
:
-
size 1M
-
size 1M
# Indicate that an upgrade to Eucalyptus is in progress
COMMON_EUCALYPTUS_UPGRADE
:
false
playbooks/roles/edxapp/tasks/service_variant_config.yml
View file @
8f9eec7e
...
@@ -125,6 +125,18 @@
...
@@ -125,6 +125,18 @@
tags
:
tags
:
-
migrate
-
migrate
-
name
:
migrate oauth2_provider to edx_oauth2_provider
command
:
"
{{
COMMON_BIN_DIR
}}/edxapp-migrate-lms
{{
item
}}"
when
:
migrate_db is defined and migrate_db|lower == "yes" and COMMON_MYSQL_MIGRATE_PASS and COMMON_EUCALYPTUS_UPGRADE
environment
:
DB_MIGRATION_USER
:
"
{{
COMMON_MYSQL_MIGRATE_USER
}}"
DB_MIGRATION_PASS
:
"
{{
COMMON_MYSQL_MIGRATE_PASS
}}"
with_items
:
-
"
--fake
oauth2_provider
zero"
-
"
--fake-initial"
tags
:
-
migrate
# There are problems with django collectstatic copying files. It doesn't retain
# There are problems with django collectstatic copying files. It doesn't retain
# last modified timestamps, but relies on those same timestamps to know if a new file
# last modified timestamps, but relies on those same timestamps to know if a new file
# should be recopied. While collectstatic --clear exists, it only clears some of the
# should be recopied. While collectstatic --clear exists, it only clears some of the
...
...
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