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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
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
...
@@ -2,7 +2,7 @@ module Ci
class
GitlabCiYamlProcessor
class
GitlabCiYamlProcessor
class
ValidationError
<
StandardError
;
end
class
ValidationError
<
StandardError
;
end
include
Gitlab
::
Ci
::
Config
::
Node
::
ValidationHelpers
include
Gitlab
::
Ci
::
Config
::
Node
::
Legacy
ValidationHelpers
DEFAULT_STAGES
=
%w(build test deploy)
DEFAULT_STAGES
=
%w(build test deploy)
DEFAULT_STAGE
=
'test'
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
...
@@ -2,7 +2,7 @@ module Gitlab
module
Ci
module
Ci
class
Config
class
Config
module
Node
module
Node
module
ValidationHelpers
module
Legacy
ValidationHelpers
private
private
def
validate_duration
(
value
)
def
validate_duration
(
value
)
...
...
lib/gitlab/ci/config/node/script.rb
View file @
a9bd16bd
...
@@ -14,7 +14,7 @@ module Gitlab
...
@@ -14,7 +14,7 @@ module Gitlab
include
Validatable
include
Validatable
validations
do
validations
do
include
ValidationHelpers
include
Legacy
ValidationHelpers
validate
:array_of_strings
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