BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
d58d88fb
Commit
d58d88fb
authored
Apr 19, 2016
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use different markdown
parent
1a8fd9d7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
_shared_runners.html.haml
app/views/projects/runners/_shared_runners.html.haml
+1
-1
runners_spec.rb
spec/features/runners_spec.rb
+3
-2
No files found.
app/views/projects/runners/_shared_runners.html.haml
View file @
d58d88fb
...
...
@@ -2,7 +2,7 @@
.bs-callout.bs-callout-warning.shared-runners-description
-
if
shared_runners_text
.
present?
=
markdown
(
shared_runners_text
)
=
markdown
(
shared_runners_text
,
pipeline:
'plain_markdown'
)
-
else
GitLab Runners do not offer secure isolation between projects that they do builds for. You are TRUSTING all GitLab users who can push code to project A, B or C to run shell scripts on the machine hosting runner X.
%hr
...
...
spec/features/runners_spec.rb
View file @
d58d88fb
...
...
@@ -81,7 +81,8 @@ describe "Runners" do
end
describe
"shared runners description"
do
let
(
:shared_runners_text
)
{
'custom shared runners description'
}
let
(
:shared_runners_text
)
{
'custom **shared** runners description'
}
let
(
:shared_runners_html
)
{
'custom shared runners description'
}
before
do
stub_application_setting
(
shared_runners_text:
shared_runners_text
)
...
...
@@ -91,7 +92,7 @@ describe "Runners" do
end
it
"sees shared runners description"
do
expect
(
page
.
find
(
".shared-runners-description"
)).
to
have_content
(
shared_runners_
text
)
expect
(
page
.
find
(
".shared-runners-description"
)).
to
have_content
(
shared_runners_
html
)
end
end
...
...
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