summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-02-09 08:49:10 -0800
committerStan Hu <stanhu@gmail.com>2018-02-09 08:49:10 -0800
commitd42e68341dd115718c151d81994da19ff4e899b9 (patch)
tree09213d3f84e686ea80a4ebd61145dee341a62483
parentf7c662c733a2a24c044c1f0bad03cfc63f704258 (diff)
downloadgitlab-ce-sh-add-docker-build-qa.tar.gz
Add documentation on how to build a QA Docker imagesh-add-docker-build-qa
-rw-r--r--qa/README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/qa/README.md b/qa/README.md
index 29720668251..44f3e262f4d 100644
--- a/qa/README.md
+++ b/qa/README.md
@@ -80,4 +80,14 @@ GITLAB_USERNAME=jsmith GITLAB_PASSWORD=password GITLAB_SANDBOX_NAME=jsmith-qa-sa
All [supported environment variables are here](https://gitlab.com/gitlab-org/gitlab-qa#supported-environment-variables).
+### Building a Docker image to test
+
+Once you have made changes to the CE/EE repositories, you may want to build a
+Docker image to test locally instead of waiting for the `gitlab-ce-qa` or
+`gitlab-ee-qa` nightly builds. To do that, you can run from this directory:
+
+```sh
+docker build -t gitlab/gitlab-ce-qa:nightly .
+```
+
[GDK]: https://gitlab.com/gitlab-org/gitlab-development-kit/