summaryrefslogtreecommitdiff
path: root/lib/ci
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-04-18 10:20:51 -0400
committerKamil Trzcinski <ayufan@ayufan.eu>2016-04-18 10:20:51 -0400
commit9a2685fae051cc2e2ed87ef59b11ac0b07ef97aa (patch)
tree68cd4f7c6ec29888ccae8794c27525c825f2988c /lib/ci
parent2ab8d3e652aaf00dc2d817f4840c5b2769271dc9 (diff)
parent0ce5cc99621c84dfc61f6105d177ced4d9a4ed85 (diff)
downloadgitlab-ce-9a2685fae051cc2e2ed87ef59b11ac0b07ef97aa.tar.gz
Merge branch 'after-script' into make-before-after-overridable
Diffstat (limited to 'lib/ci')
-rw-r--r--lib/ci/gitlab_ci_yaml_processor.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/ci/gitlab_ci_yaml_processor.rb b/lib/ci/gitlab_ci_yaml_processor.rb
index 0414b790bbc..88d6ce01b03 100644
--- a/lib/ci/gitlab_ci_yaml_processor.rb
+++ b/lib/ci/gitlab_ci_yaml_processor.rb
@@ -112,17 +112,6 @@ module Ci
true
end
- def validate_job!(name, job)
- validate_job_name!(name)
- validate_job_keys!(name, job)
- validate_job_types!(name, job)
-
- validate_job_stage!(name, job) if job[:stage]
- validate_job_cache!(name, job) if job[:cache]
- validate_job_artifacts!(name, job) if job[:artifacts]
- validate_job_dependencies!(name, job) if job[:dependencies]
- end
-
private
def validate_global!
@@ -162,12 +151,9 @@ module Ci
raise ValidationError, "cache:untracked parameter should be an boolean"
end
-<<<<<<< HEAD
if @cache[:paths] && !validate_array_of_strings(@cache[:paths])
raise ValidationError, "cache:paths parameter should be an array of strings"
end
-=======
- true
end
def validate_job!(name, job)
@@ -180,7 +166,6 @@ module Ci
validate_job_cache!(name, job) if job[:cache]
validate_job_artifacts!(name, job) if job[:artifacts]
validate_job_dependencies!(name, job) if job[:dependencies]
->>>>>>> origin/master
end
def validate_job_name!(name)