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
Jérome Perrin
gitlab-ce
Commits
ee274f89
Commit
ee274f89
authored
Apr 23, 2018
by
Takuya Noguchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update links to /ci/lint with ones to project ci/lint
parent
627eba55
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
3 deletions
+8
-3
app/views/projects/jobs/index.html.haml
app/views/projects/jobs/index.html.haml
+1
-1
app/views/projects/pipelines/_with_tabs.html.haml
app/views/projects/pipelines/_with_tabs.html.haml
+1
-1
changelogs/unreleased/45666-project-ci-lint-links.yml
changelogs/unreleased/45666-project-ci-lint-links.yml
+5
-0
spec/features/projects/jobs/user_browses_jobs_spec.rb
spec/features/projects/jobs/user_browses_jobs_spec.rb
+1
-1
No files found.
app/views/projects/jobs/index.html.haml
View file @
ee274f89
...
...
@@ -15,7 +15,7 @@
-
unless
@repository
.
gitlab_ci_yml
=
link_to
'Get started with Pipelines'
,
help_page_path
(
'ci/quick_start/README'
),
class:
'btn btn-info'
=
link_to
ci_lint_path
,
class:
'btn btn-default'
do
=
link_to
project_ci_lint_path
(
@project
)
,
class:
'btn btn-default'
do
%span
CI lint
.content-list.builds-content-list
...
...
app/views/projects/pipelines/_with_tabs.html.haml
View file @
ee274f89
...
...
@@ -26,7 +26,7 @@
%ul
-
pipeline
.
yaml_errors
.
split
(
","
).
each
do
|
error
|
%li
=
error
You can also test your .gitlab-ci.yml in the
#{
link_to
"Lint"
,
ci_lint_path
}
You can also test your .gitlab-ci.yml in the
#{
link_to
"Lint"
,
project_ci_lint_path
(
@project
)
}
-
if
pipeline
.
project
.
builds_enabled?
&&
!
pipeline
.
ci_yaml_file
.bs-callout.bs-callout-warning
...
...
changelogs/unreleased/45666-project-ci-lint-links.yml
0 → 100644
View file @
ee274f89
---
title
:
Update links to /ci/lint with ones to project ci/lint
merge_request
:
18539
author
:
Takuya Noguchi
type
:
fixed
spec/features/projects/jobs/user_browses_jobs_spec.rb
View file @
ee274f89
...
...
@@ -26,7 +26,7 @@ describe 'User browses jobs' do
page
.
within
(
'.nav-controls'
)
do
ci_lint_tool_link
=
page
.
find_link
(
'CI lint'
)
expect
(
ci_lint_tool_link
[
:href
]).
to
end_with
(
ci_lint_path
)
expect
(
ci_lint_tool_link
[
:href
]).
to
end_with
(
project_ci_lint_path
(
project
)
)
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