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
748f8fef
Commit
748f8fef
authored
Jun 04, 2018
by
Mark Chao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
group runners
parent
a6c15c5b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
app/views/projects/runners/_group_runners.html.haml
app/views/projects/runners/_group_runners.html.haml
+2
-2
locale/gitlab.pot
locale/gitlab.pot
+2
-2
spec/features/runners_spec.rb
spec/features/runners_spec.rb
+6
-6
No files found.
app/views/projects/runners/_group_runners.html.haml
View file @
748f8fef
...
...
@@ -26,9 +26,9 @@
-
if
can?
(
current_user
,
:admin_pipeline
,
@project
.
group
)
-
group_link
=
link_to
_
(
'Group CI/CD settings'
),
group_settings_ci_cd_path
(
@project
.
group
)
=
_
(
'Group ma
st
ers can register group runners in the %{link}'
).
html_safe
%
{
link:
group_link
}
=
_
(
'Group ma
intain
ers can register group runners in the %{link}'
).
html_safe
%
{
link:
group_link
}
-
else
=
_
(
'Ask your group ma
st
er to setup a group Runner.'
)
=
_
(
'Ask your group ma
intain
er to setup a group Runner.'
)
-
else
%h4
.underlined-title
...
...
locale/gitlab.pot
View file @
748f8fef
...
...
@@ -439,7 +439,7 @@ msgstr ""
msgid "Artifacts"
msgstr ""
msgid "Ask your group ma
st
er to setup a group Runner."
msgid "Ask your group ma
intain
er to setup a group Runner."
msgstr ""
msgid "Assign custom color like #FF0000"
...
...
@@ -2237,7 +2237,7 @@ msgstr ""
msgid "Group Runners"
msgstr ""
msgid "Group ma
st
ers can register group runners in the %{link}"
msgid "Group ma
intain
ers can register group runners in the %{link}"
msgstr ""
msgid "GroupSettings|Prevent sharing a project within %{group} with other groups"
...
...
spec/features/runners_spec.rb
View file @
748f8fef
...
...
@@ -184,7 +184,7 @@ feature 'Runners' do
given
(
:group
)
{
create
:group
}
context
'as project and group ma
st
er'
do
context
'as project and group ma
intain
er'
do
background
do
group
.
add_master
(
user
)
end
...
...
@@ -197,13 +197,13 @@ feature 'Runners' do
expect
(
page
).
to
have_content
'This group does not provide any group Runners yet'
expect
(
page
).
to
have_content
'Group ma
st
ers can register group runners in the Group CI/CD settings'
expect
(
page
).
not_to
have_content
'Ask your group ma
st
er to setup a group Runner'
expect
(
page
).
to
have_content
'Group ma
intain
ers can register group runners in the Group CI/CD settings'
expect
(
page
).
not_to
have_content
'Ask your group ma
intain
er to setup a group Runner'
end
end
end
context
'as project ma
st
er'
do
context
'as project ma
intain
er'
do
context
'project without a group'
do
given
(
:project
)
{
create
:project
}
...
...
@@ -223,8 +223,8 @@ feature 'Runners' do
expect
(
page
).
to
have_content
'This group does not provide any group Runners yet.'
expect
(
page
).
not_to
have_content
'Group ma
st
ers can register group runners in the Group CI/CD settings'
expect
(
page
).
to
have_content
'Ask your group ma
st
er to setup a group Runner.'
expect
(
page
).
not_to
have_content
'Group ma
intain
ers can register group runners in the Group CI/CD settings'
expect
(
page
).
to
have_content
'Ask your group ma
intain
er to setup a group Runner.'
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