TestEngineering/Web/Automation/Credentials

From MozillaWiki
< TestEngineering‎ | Web‎ | Automation
Revision as of 16:00, 14 July 2011 by Davehunt (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WebQA Credentials

We are using a 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 /Users/webqa/webqa-credentials, and can be updated using the command git pull.

The first automated project to use this is AMO, where the credentials are stored in a simple YAML format. The credentials file is then passed to the tests on the command line by specifying --credentialsfile=<file>. This means that we keep our passwords secure, and allow anyone running the tests locally to use the provided credentials.yaml template to provide their own login details.