Commit 2450616d by Feanil Patel

Merge pull request #1967 from edx/feanil/turn_off_new_migrations

Turn off new IDA migration checks because they aren't working correctly ...
parents 0766bce2 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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment