Copy `ee/app/models/license.rb` in the QA image if present
What does this MR do?
Gitlab.ee?
checks for the presence of the ee/app/models/license.rb
file or the IS_GITLAB_EE
env variable.
This is simpler to just copy the ee/app/models/license.rb
file in the QA image. Since the file doesn't exist in CE and we want to use the same Dockerfile
in both CE and EE, we're copying the VERSION
file so that the Docker COPY
command succeeds to copy at least one file in CE, and both files in EE.
This is needed to move forward with https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14942.
Edited by Rémy Coutable