Commit 3cd1f7ff by Feanil Patel

Sudo to the correct user for all migrations checks.

parent 80bc7099
......@@ -14,12 +14,12 @@ MIGRATION_COMMANDS = {
'lms': "/edx/bin/edxapp-migrate-lms --noinput --list",
'cms': "/edx/bin/edxapp-migrate-cms --noinput --list",
'xqueue': "SERVICE_VARIANT=xqueue {python} {code_dir}/manage.py migrate --noinput --list --settings=xqueue.aws_settings",
'ecommerce': ". {env_file}; {python} {code_dir}/manage.py migrate --noinput --list",
'programs': ". {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",
'credentials': ". {env_file}; {python} {code_dir}/manage.py migrate --noinput --list",
'discovery': ". {env_file}; {python} {code_dir}/manage.py migrate --noinput --list",
'ecommerce': ". {env_file}; sudo -E -u ecommerce {python} {code_dir}/manage.py migrate --noinput --list",
'programs': ". {env_file}; sudo -E -u programs {python} {code_dir}/manage.py migrate --noinput --list",
'insights': ". {env_file}; sudo -E -u insights {python} {code_dir}/manage.py migrate --noinput --list",
'analytics_api': ". {env_file}; sudo -E -u analytics_api {python} {code_dir}/manage.py migrate --noinput --list",
'credentials': ". {env_file}; sudo -E -u credentials {python} {code_dir}/manage.py migrate --noinput --list",
'discovery': ". {env_file}; sudo -E -u discovery {python} {code_dir}/manage.py migrate --noinput --list",
}
HIPCHAT_USER = "PreSupervisor"
......
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