Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
7f42e187
Commit
7f42e187
authored
Oct 03, 2019
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the QA image Dockerfile to include 'config/light_settings.rb'
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
5e21cc09
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
.dockerignore
.dockerignore
+1
-0
qa/Dockerfile
qa/Dockerfile
+6
-4
No files found.
.dockerignore
View file @
7f42e187
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
# Ignore all folders except qa/, config/initializers and the root of lib/ since
# Ignore all folders except qa/, config/initializers and the root of lib/ since
# the files we need to build the QA image are in these folders.
# the files we need to build the QA image are in these folders.
# Following are the files we need:
# Following are the files we need:
# - ./config/light_settings.rb
# - ./config/initializers/0_inject_enterprise_edition_module.rb
# - ./config/initializers/0_inject_enterprise_edition_module.rb
# - ./ee/app/models/license.rb
# - ./ee/app/models/license.rb
# - ./lib/gitlab.rb
# - ./lib/gitlab.rb
...
...
qa/Dockerfile
View file @
7f42e187
...
@@ -49,13 +49,15 @@ RUN export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)" && \
...
@@ -49,13 +49,15 @@ RUN export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)" && \
WORKDIR
/home/gitlab/qa
WORKDIR
/home/gitlab/qa
COPY
./qa/Gemfile* /home/gitlab/qa/
COPY
./qa/Gemfile* /home/gitlab/qa/
COPY
./config/light_settings.rb /home/gitlab/config/light_settings.rb
COPY
./config/initializers/0_inject_enterprise_edition_module.rb /home/gitlab/config/initializers/
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 to ensure the COPY succeeds to copy at least one file since ee/app/models/license.rb isn't present in FOSS
# The [b] part makes ./ee/app/models/license.r[b] a pattern that is allowed to return no files (which is the case in FOSS)
COPY
VERSION ./ee/app/models/license.r[b] /home/gitlab/ee/app/models/
COPY
VERSION ./ee/app/models/license.r[b] /home/gitlab/ee/app/models/
COPY
./config/light_settings.rb /home/gitlab/config/
COPY
./lib/gitlab.rb /home/gitlab/lib/
COPY
./lib/gitlab.rb /home/gitlab/lib/
COPY
./INSTALLATION_TYPE /home/gitlab/
COPY
./INSTALLATION_TYPE ./VERSION /home/gitlab/
COPY
./VERSION /home/gitlab/
RUN
cd
/home/gitlab/qa/
&&
bundle
install
--jobs
=
$(
nproc
)
--retry
=
3
--quiet
RUN
cd
/home/gitlab/qa/
&&
bundle
install
COPY
./qa /home/gitlab/qa
COPY
./qa /home/gitlab/qa
ENTRYPOINT
["bin/test"]
ENTRYPOINT
["bin/test"]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment