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
375072aa
Commit
375072aa
authored
Sep 09, 2016
by
Katarzyna Kobierska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing values to linter
parent
f80e7683
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
app/views/ci/lints/_create.html.haml
app/views/ci/lints/_create.html.haml
+4
-1
lib/ci/gitlab_ci_yaml_processor.rb
lib/ci/gitlab_ci_yaml_processor.rb
+2
-0
No files found.
app/views/ci/lints/_create.html.haml
View file @
375072aa
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
%br
%br
%b
Tag list:
%b
Tag list:
=
build
[
:tag
s
]
=
build
[
:tag
_list
]
%br
%br
%b
Refs only:
%b
Refs only:
=
build
[
:only
]
&&
build
[
:only
].
join
(
", "
)
=
build
[
:only
]
&&
build
[
:only
].
join
(
", "
)
...
@@ -29,6 +29,9 @@
...
@@ -29,6 +29,9 @@
%b
Refs except:
%b
Refs except:
=
build
[
:except
]
&&
build
[
:except
].
join
(
", "
)
=
build
[
:except
]
&&
build
[
:except
].
join
(
", "
)
%br
%br
%b
Environment:
=
build
[
:environment
]
%br
%b
When:
%b
When:
=
build
[
:when
]
=
build
[
:when
]
-
if
build
[
:allow_failure
]
-
if
build
[
:allow_failure
]
...
...
lib/ci/gitlab_ci_yaml_processor.rb
View file @
375072aa
...
@@ -59,6 +59,8 @@ module Ci
...
@@ -59,6 +59,8 @@ module Ci
tag_list:
job
[
:tags
]
||
[],
tag_list:
job
[
:tags
]
||
[],
name:
job
[
:name
].
to_s
,
name:
job
[
:name
].
to_s
,
allow_failure:
job
[
:allow_failure
]
||
false
,
allow_failure:
job
[
:allow_failure
]
||
false
,
only:
job
[
:only
],
except:
job
[
:except
],
when:
job
[
:when
]
||
'on_success'
,
when:
job
[
:when
]
||
'on_success'
,
environment:
job
[
:environment_name
],
environment:
job
[
:environment_name
],
yaml_variables:
yaml_variables
(
name
),
yaml_variables:
yaml_variables
(
name
),
...
...
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