summaryrefslogtreecommitdiff
path: root/qa/README.md
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-02-10 14:20:44 -0800
committerStan Hu <stanhu@gmail.com>2018-02-11 05:59:33 -0800
commitdc8cf732078dc03af52e4821683ea1c04946091e (patch)
treee650e989b486fc09dc1ab100087600f2206fcb92 /qa/README.md
parent498ade4801a822f8704390b10d178af9fe7987cb (diff)
downloadgitlab-ce-dc8cf732078dc03af52e4821683ea1c04946091e.tar.gz
GitLab QA: Add GITLAB_USER_TYPE to support different login types (e.g. standard, LDAP)sh-add-login-types-qa
GITLAB_USERNAME and GITLAB_PASSWORD may be specified for an LDAP login, but QA scenarios may need to know which type it is in order to log in successfully.
Diffstat (limited to 'qa/README.md')
-rw-r--r--qa/README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/qa/README.md b/qa/README.md
index 44f3e262f4d..3a99a30d379 100644
--- a/qa/README.md
+++ b/qa/README.md
@@ -78,6 +78,12 @@ If your user doesn't have permission to default sandbox group
GITLAB_USERNAME=jsmith GITLAB_PASSWORD=password GITLAB_SANDBOX_NAME=jsmith-qa-sandbox bin/qa Test::Instance https://gitlab.example.com
```
+In addition, the `GITLAB_USER_TYPE` can be set to "ldap" to sign in as an LDAP user:
+
+```
+GITLAB_USER_TYPE=ldap GITLAB_USERNAME=jsmith GITLAB_PASSWORD=password GITLAB_SANDBOX_NAME=jsmith-qa-sandbox bin/qa Test::Instance https://gitlab.example.com
+```
+
All [supported environment variables are here](https://gitlab.com/gitlab-org/gitlab-qa#supported-environment-variables).
### Building a Docker image to test