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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
5512f0aa
Commit
5512f0aa
authored
Dec 23, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'sh-disable-dev-shm' into 'master'
Disable /dev/shm in CI See merge request gitlab-org/gitlab-ce!16105
parents
46be07d2
f7ffe27c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
features/support/capybara.rb
features/support/capybara.rb
+3
-0
spec/support/capybara.rb
spec/support/capybara.rb
+3
-0
No files found.
features/support/capybara.rb
View file @
5512f0aa
...
@@ -29,6 +29,9 @@ Capybara.register_driver :chrome do |app|
...
@@ -29,6 +29,9 @@ Capybara.register_driver :chrome do |app|
options
.
add_argument
(
"disable-gpu"
)
options
.
add_argument
(
"disable-gpu"
)
end
end
# Disable /dev/shm use in CI. See https://gitlab.com/gitlab-org/gitlab-ee/issues/4252
options
.
add_argument
(
"disable-dev-shm-usage"
)
if
ENV
[
'CI'
]
||
ENV
[
'CI_SERVER'
]
Capybara
::
Selenium
::
Driver
.
new
(
Capybara
::
Selenium
::
Driver
.
new
(
app
,
app
,
browser: :chrome
,
browser: :chrome
,
...
...
spec/support/capybara.rb
View file @
5512f0aa
...
@@ -33,6 +33,9 @@ Capybara.register_driver :chrome do |app|
...
@@ -33,6 +33,9 @@ Capybara.register_driver :chrome do |app|
options
.
add_argument
(
"disable-gpu"
)
options
.
add_argument
(
"disable-gpu"
)
end
end
# Disable /dev/shm use in CI. See https://gitlab.com/gitlab-org/gitlab-ee/issues/4252
options
.
add_argument
(
"disable-dev-shm-usage"
)
if
ENV
[
'CI'
]
||
ENV
[
'CI_SERVER'
]
Capybara
::
Selenium
::
Driver
.
new
(
Capybara
::
Selenium
::
Driver
.
new
(
app
,
app
,
browser: :chrome
,
browser: :chrome
,
...
...
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