engine: Generate SDF for change
[infra/cicd.git] / jjb / engine / verify-jobs / engine-verify-tox.yaml
index 4561c13ec41f082a7c483e83c7529021cef28759..3d34add817df4118d8e1729744d42387ac9cad02 100644 (file)
@@ -25,6 +25,7 @@
     stream:
       - 'master':
           branch: '{stream}'
+          gated-projects: 'infra/engine|infra/hwconfig|infra/swconfig|infra/test|infra/provisioner/bifrost|infra/provisioner/heat|infra/installer/kolla|infra/installer/kubespray'
 
     lint-type:
       - ansible-lint:
@@ -32,7 +33,7 @@
           repos-to-ignore: 'infra/hwconfig'
       - docs:
           disabled: false
-          repos-to-ignore: 'infra/hwconfig|infra/swconfig|infra/test'
+          repos-to-ignore: 'infra/hwconfig|infra/swconfig|infra/test|infra/provisioner/bifrost|infra/provisioner/heat|infra/installer/kolla|infra/installer/kubespray'
       - shellcheck:
           disabled: false
           repos-to-ignore: 'infra/hwconfig'
@@ -75,7 +76,7 @@
     scm:
       - git-scm-gerrit:
           ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: '{branch}'
+          branch: refs/heads/$GERRIT_BRANCH
           refspec: $GERRIT_REFSPEC
           wipe_workspace: true
           clean_before: false
@@ -95,7 +96,7 @@
                 comment-contains-value: 'reverify'
           projects:
             - project-compare-type: 'REG_EXP'
-              project-pattern: 'infra\/engine|infra\/test|infra\/swconfig|infra\/hwconfig'
+              project-pattern: '{gated-projects}'
               branches:
                 - branch-compare-type: 'ANT'
                   branch-pattern: '**/{branch}'
     scm:
       - git-scm-gerrit:
           ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: '{branch}'
+          branch: refs/heads/$GERRIT_BRANCH
           refspec: $GERRIT_REFSPEC
           wipe_workspace: true
           clean_before: false