engine: Implement change dependency handling
[infra/cicd.git] / jjb / engine / verify-jobs / kubernetes-verify-tox.yaml
index 2c192ba35fe6ad720b6d1da20b60c45f6282b681..b7ae50aadddf5b5034ddf9c69585ece92adb4379 100644 (file)
 
     project: 'kubernetes-tox'
 
+    # NOTE (fdegir): dot is not an allowed character in groovy var names and also for
+    # naming openstack objects so stream is used for that purpose but branch points to
+    # actual branch name on gerrit
     stream:
       - 'master':
-          branch: '{stream}'
+          branch: 'master'
           gated-projects: 'infra/stack/kubernetes|infra/installer/kubespray'
-      - '1.17':
-          branch: '{stream}'
+      - '1_17':
+          branch: '1.17'
           gated-projects: 'infra/stack/kubernetes|infra/installer/kubespray'
-      - '1.15':
-          branch: '{stream}'
+      - '1_16':
+          branch: '1.16'
+          gated-projects: 'infra/stack/kubernetes|infra/installer/kubespray'
+      - '1_15':
+          branch: '1.15'
           gated-projects: 'infra/stack/kubernetes|infra/installer/kubespray'
 
     lint-type:
 
     properties:
       - logrotate
+      # NOTE (fdegir): throttle categories are controlled in jenkins global configuration
+      - throttle:
+          enabled: true
+          max-per-node: 1
+          max-total: 4
+          option: category
+          categories:
+            - engine-verify-tox
 
     wrappers:
       - build-timeout:
                 - compare-type: ANT
                   pattern: '.gitignore|.gitreview|.yamllint|README.md|bindep.txt|setup.cfg|setup.py'
           custom-url: '* $JOB_NAME $BUILD_URL'
+          readable-message: 'true'
 
     builders:
       - multijob: