summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2019-05-23 22:21:26 +1200
committerThong Kuah <tkuah@gitlab.com>2019-05-31 01:01:00 +1200
commit1758bad0042a0a179fa257d9dc41f0716a9adf6e (patch)
treea78ef3ab5574ca040883a5640b70217ea0a8591a /qa
parentd92fa15fa8ce32ce486beb10dce9962323369e7f (diff)
downloadgitlab-ce-1758bad0042a0a179fa257d9dc41f0716a9adf6e.tar.gz
Use Dockerfile flow for QA Auto DevOpsfaster_qa_auto_devops
This results in 40MB images vs 400MB images which is faster to upload and download. This does mean we lose the default herokuish QA coverage but we should have adequate coverage in https://gitlab.com/gitlab-org/cluster-integration/auto-build-image/ now. Triva: herokuish is bigger because it's base image is based on `ubuntu`.
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/fixtures/auto_devops_rack/Dockerfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/qa/qa/fixtures/auto_devops_rack/Dockerfile b/qa/qa/fixtures/auto_devops_rack/Dockerfile
new file mode 100644
index 00000000000..1f59c23ea88
--- /dev/null
+++ b/qa/qa/fixtures/auto_devops_rack/Dockerfile
@@ -0,0 +1,9 @@
+FROM ruby:2.6.3-alpine
+ADD ./ /app/
+WORKDIR /app
+ENV RACK_ENV production
+ENV PORT 5000
+EXPOSE 5000
+
+RUN bundle install
+CMD ["bundle","exec", "rackup", "-p", "5000"]