X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fengine%2Fverify-jobs%2Fengine-verify-tox.yaml;h=d679ed9069f72c3d84af85a7e4544f733e03a7bc;hb=8795fc300b9be39db86562dd94d71c464e8005b3;hp=4561c13ec41f082a7c483e83c7529021cef28759;hpb=7a40c76d50eb74886c849b05958fd0f420499688;p=infra%2Fcicd.git diff --git a/jjb/engine/verify-jobs/engine-verify-tox.yaml b/jjb/engine/verify-jobs/engine-verify-tox.yaml index 4561c13e..d679ed90 100644 --- a/jjb/engine/verify-jobs/engine-verify-tox.yaml +++ b/jjb/engine/verify-jobs/engine-verify-tox.yaml @@ -25,6 +25,7 @@ stream: - 'master': branch: '{stream}' + gated-projects: 'infra/engine|infra/hwconfig|infra/test|infra/provisioner/bifrost|infra/provisioner/heat' 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/test|infra/provisioner/bifrost|infra/provisioner/heat' - shellcheck: disabled: false repos-to-ignore: 'infra/hwconfig' @@ -66,6 +67,14 @@ 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: @@ -75,7 +84,7 @@ scm: - git-scm-gerrit: ssh-credentials-id: nordixinfra-nordix-gerrit-ssh - branch: '{branch}' + branch: $GERRIT_BRANCH refspec: $GERRIT_REFSPEC wipe_workspace: true clean_before: false @@ -95,7 +104,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}' @@ -107,7 +116,7 @@ builders: - multijob: - name: Engine Lint + name: Static Analysis condition: ALWAYS execution-type: PARALLEL projects: @@ -158,7 +167,7 @@ scm: - git-scm-gerrit: ssh-credentials-id: nordixinfra-nordix-gerrit-ssh - branch: '{branch}' + branch: $GERRIT_BRANCH refspec: $GERRIT_REFSPEC wipe_workspace: true clean_before: false