jjb: xci: Do not trigger the CI when patchset modifies the CI VM
[releng.git] / jjb / xci / xci-verify-jobs.yml
index 0a7b960..9fa5633 100644 (file)
                 - branch-compare-type: 'ANT'
                   branch-pattern: '**/{branch}'
               disable-strict-forbidden-file-verification: 'true'
-              file-paths:
-                - compare-type: ANT
-                  pattern: 'bifrost/**'
-                - compare-type: ANT
-                  pattern: 'xci/**'
               forbidden-file-paths:
                 - compare-type: ANT
                   pattern: 'prototypes/**'
                   pattern: '**/README.rst'
                 - compare-type: ANT
                   pattern: 'docs/**'
+                - compare-type: ANT
+                  pattern: 'xci/scripts/vm/**'
           readable-message: true
+          custom-url: '* $JOB_NAME $BUILD_URL'
           skip-vote:
             successful: '{obj:successful}'
             failed: '{obj:failed}'
       - build-blocker:
           use-build-blocker: true
           blocking-jobs:
-            - 'bifrost-verify-.*'
-            - 'bifrost-periodic-.*'
+            - '.*-bifrost-verify-.*'
+            - '.*-bifrost-periodic-.*'
             - 'osa-verify-.*'
             - 'osa-periodic-.*'
           block-level: 'NODE'
           #!/bin/bash
 
           # skip the deployment if the patch doesn't impact the deployment
-          if [[ "$GERRIT_TOPIC" =~ 'skip-verify' ]]; then
+          if [[ "$GERRIT_TOPIC" =~ skip-verify|skip-deployment ]]; then
               echo "Skipping the deployment!"
               exit 0
           fi
 
-          ssh ${DISTRO}_xci_vm "cd releng-xci && ./xci_test.sh"
+          ssh -F $HOME/.ssh/xci-vm-config ${DISTRO}_xci_vm "cd releng-xci && ./xci_test.sh"
 
 
 - builder:
           #!/bin/bash
 
           # skip the healthcheck if the patch doesn't impact the deployment
-          if [[ "$GERRIT_TOPIC" =~ 'skip-verify' ]]; then
+          if [[ "$GERRIT_TOPIC" =~ skip-verify|skip-deployment ]]; then
               echo "Skipping the healthcheck!"
               exit 0
           fi