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
4821cd12
Unverified
Commit
4821cd12
authored
Nov 22, 2017
by
Feanil Patel
Committed by
GitHub
Nov 22, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4216 from edx/feanil/remove_unused_file
Delete edxapp_migrate.yml
parents
0389a4cd
82edd9cd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
35 deletions
+0
-35
playbooks/edx-east/edxapp_migrate.yml
+0
-35
No files found.
playbooks/edx-east/edxapp_migrate.yml
deleted
100644 → 0
View file @
0389a4cd
-
name
:
Run edxapp migrations
hosts
:
all
become
:
False
gather_facts
:
False
vars
:
db_dry_run
:
"
--list"
roles
:
-
edxapp
tasks
:
-
name
:
migrate lms
shell
:
"
python
manage.py
lms
migrate
--database
{{
item
}}
--noinput
{{
db_dry_run
}}
--settings=aws"
args
:
chdir
:
"
{{
edxapp_code_dir
}}"
environment
:
DB_MIGRATION_USER
:
"
{{
COMMON_MYSQL_MIGRATE_USER
}}"
DB_MIGRATION_PASS
:
"
{{
COMMON_MYSQL_MIGRATE_PASS
}}"
# Migrate any database in the config, but not the read_replica
when
:
item != 'read_replica'
with_items
:
-
"
{{
lms_auth_config.DATABASES.keys()
}}"
tags
:
-
always
-
name
:
migrate cms
shell
:
"
python
manage.py
cms
migrate
--database
{{
item
}}
--noinput
{{
db_dry_run
}}
--settings=aws"
args
:
chdir
:
"
{{
edxapp_code_dir
}}"
environment
:
DB_MIGRATION_USER
:
"
{{
COMMON_MYSQL_MIGRATE_USER
}}"
DB_MIGRATION_PASS
:
"
{{
COMMON_MYSQL_MIGRATE_PASS
}}"
# Migrate any database in the config, but not the read_replica
when
:
item != 'read_replica'
with_items
:
-
"
{{
cms_auth_config.DATABASES.keys()
}}"
tags
:
-
always
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