gitlab-qa should redact passwords in output
Using gitlab-qa for a demo we see the following output
$ ./exe/gitlab-qa Test::Instance::Any EE latest 'https://geo1.gitlab.com'
Running test suite `Test::Instance` for gitlab-ee
Docker shell command: `docker run -t --rm --net=bridge -e GITLAB_USERNAME="$GITLAB_USERNAME" -e GITLAB_PASSWORD="$GITLAB_PASSWORD" -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/gitlab-qa/logs:/var/log/gitlab -v /tmp/gitlab-qa/screenshots:/home/qa/tmp --name gitlab-specs-1515761462 gitlab/gitlab-ee-qa:latest Test::Instance https://geo1.gitlab.com`
Run options: include {:core=>true}
Randomized with seed 44673
push code to repository
with regular account over http
Cloning into '.'...
warning: You appear to have cloned an empty repository.
Checking connectivity... done.
Counting objects: 3, done.
Writing objects: 100% (3/3), 234 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To https://gitlab-qa-user1:mypassword@geo1.gitlab.com/gitlab-qa-sandbox/qa-test-12-01-2018-12-51-38/project_with_code-8e37a3507dba471a.git
Showing passwords on stdout is not great especially if we will be running this and saving output. We should replace mypassword
in the above example with a ****
or something.