Code Review
/
infra
/
cicd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
cloud-infra: Switch to docker slaves for engine lint jobs
[infra/cicd.git]
/
jjb
/
cloud-infra
/
cloud-infra-engine-verify-lint.yaml
diff --git
a/jjb/cloud-infra/cloud-infra-engine-verify-lint.yaml
b/jjb/cloud-infra/cloud-infra-engine-verify-lint.yaml
index f6b4a5442cf8a649252e95f43bd0891e1a9f5f6f..2aaa6ac11de6d61c64142b07b5358e5d18cbcb5f 100644
(file)
--- a/
jjb/cloud-infra/cloud-infra-engine-verify-lint.yaml
+++ b/
jjb/cloud-infra/cloud-infra-engine-verify-lint.yaml
@@
-28,16
+28,9
@@
disabled: false
lint-type:
disabled: false
lint-type:
- - ansible-lint:
- successful: false
- failed: false
- unstable: false
- notbuilt: false
- - shellcheck:
- successful: true
- failed: true
- unstable: true
- notbuilt: true
+ - ansible-lint
+ - yamllint
+ - shellcheck
jobs:
- 'cloud-infra-verify-engine-{lint-type}-{stream}'
jobs:
- 'cloud-infra-verify-engine-{lint-type}-{stream}'
@@
-49,13
+42,17
@@
concurrent: true
concurrent: true
- node: infra-ubuntu1804
+ node: infra-
tools-docker-slave-
ubuntu1804
parameters:
- project-parameters:
project: '{project}'
branch: '{branch}'
- nordix-gerrit-parameters
parameters:
- project-parameters:
project: '{project}'
branch: '{branch}'
- nordix-gerrit-parameters
+ - string:
+ name: LINT_TYPE
+ default: '{lint-type}'
+ description: 'Lint type to run'
properties:
- logrotate
properties:
- logrotate
@@
-95,14
+92,9
@@
file-paths:
- compare-type: 'ANT'
pattern: '**'
file-paths:
- compare-type: 'ANT'
pattern: '**'
- skip-vote:
- successful: '{obj:successful}'
- failed: '{obj:failed}'
- unstable: '{obj:unstable}'
- notbuilt: '{obj:notbuilt}'
custom-url: '* $JOB_NAME $BUILD_URL'
builders:
custom-url: '* $JOB_NAME $BUILD_URL'
builders:
- - 'cloud-infra-
{lint-type}
-macro'
+ - 'cloud-infra-
lint
-macro'
# vim: set ts=2 sw=2 expandtab:
# vim: set ts=2 sw=2 expandtab: