summaryrefslogtreecommitdiff
path: root/qa/Dockerfile
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2019-08-22 18:06:05 +0200
committerRémy Coutable <remy@rymai.me>2019-08-26 13:15:40 +0200
commit3733fd20a4abcaf88b98cc5be883772157b1f821 (patch)
tree527f68c01f948c5fef3194b29a5b861e43394e9d /qa/Dockerfile
parentec57b0b3db872fdbe9f631d61d34a74ad52c6a85 (diff)
downloadgitlab-ce-3733fd20a4abcaf88b98cc5be883772157b1f821.tar.gz
Copy ee/app/models/license.rb in the QA image if presentqa-copy-license-file-in-qa-image
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'qa/Dockerfile')
-rw-r--r--qa/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/qa/Dockerfile b/qa/Dockerfile
index 3309f5b6ce3..84dbfae1008 100644
--- a/qa/Dockerfile
+++ b/qa/Dockerfile
@@ -50,6 +50,8 @@ RUN export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)" && \
WORKDIR /home/gitlab/qa
COPY ./qa/Gemfile* /home/gitlab/qa/
COPY ./config/initializers/0_inject_enterprise_edition_module.rb /home/gitlab/config/initializers/
+# Copy VERSION to ensure the COPY succeeds to copy at least one file since ee/app/models/license.rb isn't present in CE
+COPY VERSION ./ee/app/models/license.r[b] /home/gitlab/ee/app/models/
COPY ./lib/gitlab.rb /home/gitlab/lib/
COPY ./INSTALLATION_TYPE /home/gitlab/
COPY ./VERSION /home/gitlab/