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
082189ff
Commit
082189ff
authored
Apr 24, 2015
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Turn off new IDA migration checks because they aren't working correctly right now.
parent
8d26b3ed
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
playbooks/roles/supervisor/files/pre_supervisor_checks.py
+4
-4
No files found.
playbooks/roles/supervisor/files/pre_supervisor_checks.py
View file @
082189ff
...
...
@@ -14,9 +14,9 @@ MIGRATION_COMMANDS = {
'lms'
:
"{python} {code_dir}/manage.py lms migrate --noinput --settings=aws --db-dry-run --merge"
,
'cms'
:
"{python} {code_dir}/manage.py cms migrate --noinput --settings=aws --db-dry-run --merge"
,
'xqueue'
:
"{python} {code_dir}/manage.py xqueue migrate --noinput --settings=aws --db-dry-run --merge"
,
'ecommerce'
:
". {env_file}; {python} {code_dir}/manage.py migrate --noinput --list"
,
'insights'
:
". {env_file}; {python} {code_dir}/manage.py migrate --noinput --list"
,
'analytics_api'
:
". {env_file}; {python} {code_dir}/manage.py migrate --noinput --list"
#
'ecommerce': ". {env_file}; {python} {code_dir}/manage.py migrate --noinput --list",
#
'insights': ". {env_file}; {python} {code_dir}/manage.py migrate --noinput --list",
#
'analytics_api': ". {env_file}; {python} {code_dir}/manage.py migrate --noinput --list"
}
HIPCHAT_USER
=
"PreSupervisor"
...
...
@@ -220,7 +220,7 @@ if __name__ == '__main__':
"analytics_api"
:
{
'python'
:
args
.
analytics_api_python
,
'env_file'
:
args
.
analytics_api_env
,
'code_dir'
:
args
.
analytics_api_code_dir
}
}
if
service
in
new_services
and
all
(
arg
!=
None
for
arg
in
new_services
[
service
]
.
values
()):
if
service
in
new_services
and
all
(
arg
!=
None
for
arg
in
new_services
[
service
]
.
values
())
and
service
in
MIGRATION_COMMANDS
:
serv_vars
=
new_services
[
service
]
cmd
=
MIGRATION_COMMANDS
[
service
]
.
format
(
**
serv_vars
)
...
...
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