cloud-infra: Disable all jobs
[infra/cicd.git] / jjb / cloud-infra / cloud-infra-verify-lint.yaml
index 1708ee5d368e1d6653ce4a0312997b74dbfc4d12..23277303454032de3744fac726a154fef7239ed0 100644 (file)
     stream:
       - 'master':
           branch: '{stream}'
-          disabled: false
 
     lint-type:
-      - ansible-lint
-      - yamllint
-      - shellcheck
+      - ansible-lint:
+          repos-to-enable: 'infra\/engine|infra\/test|infra\/swconfig'
+          disabled: true
+      - yamllint:
+          repos-to-enable: 'infra\/engine|infra\/test|infra\/swconfig|infra\/hwconfig'
+          disabled: true
+      - shellcheck:
+          repos-to-enable: 'infra\/engine|infra\/test|infra\/swconfig'
+          disabled: true
 
     jobs:
-      - 'cloud-infra-verify-engine-{lint-type}-{stream}'
+      - 'cloud-infra-verify-{lint-type}-{stream}'
 
 - job-template:
-    name: 'cloud-infra-verify-engine-{lint-type}-{stream}'
+    name: 'cloud-infra-verify-{lint-type}-{stream}'
 
     disabled: '{obj:disabled}'
 
@@ -85,7 +90,7 @@
                 comment-contains-value: 'reverify'
           projects:
             - project-compare-type: 'REG_EXP'
-              project-pattern: 'infra\/engine|infra\/test|infra\/swconfig|infra\|hwconfig|infra\/installer\/kubespray|infra\/installer\/kolla|infra\/provisioner\/bifrost|infra\/provisioner\/heat'
+              project-pattern: '{repos-to-enable}'
               branches:
                 - branch-compare-type: 'ANT'
                   branch-pattern: '**/{branch}'