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
a9bd16bd
Commit
a9bd16bd
authored
Jun 17, 2016
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename legacy validation helpers for new ci config
parent
002e6ed1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
lib/ci/gitlab_ci_yaml_processor.rb
lib/ci/gitlab_ci_yaml_processor.rb
+1
-1
lib/gitlab/ci/config/node/legacy_validation_helpers.rb
lib/gitlab/ci/config/node/legacy_validation_helpers.rb
+1
-1
lib/gitlab/ci/config/node/script.rb
lib/gitlab/ci/config/node/script.rb
+1
-1
No files found.
lib/ci/gitlab_ci_yaml_processor.rb
View file @
a9bd16bd
...
...
@@ -2,7 +2,7 @@ module Ci
class
GitlabCiYamlProcessor
class
ValidationError
<
StandardError
;
end
include
Gitlab
::
Ci
::
Config
::
Node
::
ValidationHelpers
include
Gitlab
::
Ci
::
Config
::
Node
::
Legacy
ValidationHelpers
DEFAULT_STAGES
=
%w(build test deploy)
DEFAULT_STAGE
=
'test'
...
...
lib/gitlab/ci/config/node/validation_helpers.rb
→
lib/gitlab/ci/config/node/
legacy_
validation_helpers.rb
View file @
a9bd16bd
...
...
@@ -2,7 +2,7 @@ module Gitlab
module
Ci
class
Config
module
Node
module
ValidationHelpers
module
Legacy
ValidationHelpers
private
def
validate_duration
(
value
)
...
...
lib/gitlab/ci/config/node/script.rb
View file @
a9bd16bd
...
...
@@ -14,7 +14,7 @@ module Gitlab
include
Validatable
validations
do
include
ValidationHelpers
include
Legacy
ValidationHelpers
validate
:array_of_strings
...
...
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