TestEngineering/Web/Automation/Credentials: Difference between revisions

Jump to navigation Jump to search
Added link to deploy key help text
(Created page with "= WebQA Credentials = We are using a [https://github.com/mozilla/webqa-credentials private GitHub repository] to store credentials for WebQA projects. These credentials can be u...")
 
(Added link to deploy key help text)
Line 3: Line 3:
We are using a [https://github.com/mozilla/webqa-credentials private GitHub repository] to store credentials for WebQA projects. These credentials can be used by automation projects.
We are using a [https://github.com/mozilla/webqa-credentials private GitHub repository] to store credentials for WebQA projects. These credentials can be used by automation projects.


To read/write to this repository you must first have access to it. The CI server (qa-selenium.mv.mozilla.com) has a deploy key configured so it can pull updates for the automated tests. The repository is currently checked out to <tt>/Users/webqa/webqa-credentials</tt>, and can be updated using the command <tt>git pull</tt>.
To read/write to this repository you must first have access to it. The CI server (qa-selenium.mv.mozilla.com) has a [https://help.github.com/articles/managing-deploy-keys deploy key] configured so it can pull updates for the automated tests. The repository is currently checked out to <tt>/Users/webqa/webqa-credentials</tt>, and can be updated using the command <tt>git pull</tt>.


The first automated project to use this is [https://github.com/mozilla/Addon-Tests AMO], where the credentials are stored in a simple [http://www.yaml.org/ YAML] format. The credentials file is then passed to the tests on the command line by specifying <tt>--credentialsfile=<file></tt>. This means that we keep our passwords secure, and allow anyone running the tests locally to use the provided <tt>credentials.yaml</tt> template to provide their own login details.
The first automated project to use this was [https://github.com/mozilla/Addon-Tests AMO], where the credentials are stored in a simple [http://www.yaml.org/ YAML] format. The credentials file is then passed to the tests on the command line by specifying <tt>--credentialsfile=<file></tt>. This means that we keep our passwords secure, and allow anyone running the tests locally to use the provided <tt>credentials.yaml</tt> template to provide their own login details.
Confirmed users
2,177

edits

Navigation menu