BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
gitlab_ci_yaml_processor.rb
lib/ci/gitlab_ci_yaml_processor.rb
+1
-1
legacy_validation_helpers.rb
lib/gitlab/ci/config/node/legacy_validation_helpers.rb
+1
-1
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