On Fri, Jan 24, 2014 at 3:05 AM, Gergo Tisza <[email protected]> wrote:
> USERNAME=mw_test_uw_1 > PASSWORD=wizard2013 > set -e > > virtualenv --distribute DEV > DEV/bin/pip install -r tests/api/requirements.txt > DEV/bin/python tests/api/upload-wizard_tests.py --username "$USERNAME" > --password "$PASSWORD" > DEV/bin/python tests/api/upload-wizard_tests.py --username "$USERNAME" > --password "$PASSWORD" --gen_new_image > Thanks, everything works fine now with the new requirements.txt. The problem is that console log of every Jenkins log is public and if we provide password from the command line, it will be visible to everybody. The way we solved that problem in Ruby is that the scripts expect the password to be located in MEDIAWIKI_PASSWORD environment variable[1]. Can you do something similar for upload-wizard_tests.py? Željko -- 1: https://github.com/wikimedia/qa-browsertests/blob/master/features/step_definitions/login_steps.rb#L20
_______________________________________________ QA mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/qa
