Code Review
/
infra
/
cicd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
engine: Switch to build throttling
[infra/cicd.git]
/
jjb
/
engine
/
verify-jobs
/
engine-verify-tox.yaml
diff --git
a/jjb/engine/verify-jobs/engine-verify-tox.yaml
b/jjb/engine/verify-jobs/engine-verify-tox.yaml
index 3d34add817df4118d8e1729744d42387ac9cad02..d679ed9069f72c3d84af85a7e4544f733e03a7bc 100644
(file)
--- a/
jjb/engine/verify-jobs/engine-verify-tox.yaml
+++ b/
jjb/engine/verify-jobs/engine-verify-tox.yaml
@@
-25,7
+25,7
@@
stream:
- 'master':
branch: '{stream}'
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
'
+ gated-projects: 'infra/engine|infra/hwconfig|infra/
test|infra/provisioner/bifrost|infra/provisioner/heat
'
lint-type:
- ansible-lint:
lint-type:
- ansible-lint:
@@
-33,7
+33,7
@@
repos-to-ignore: 'infra/hwconfig'
- docs:
disabled: false
repos-to-ignore: 'infra/hwconfig'
- docs:
disabled: false
- repos-to-ignore: 'infra/hwconfig|infra/
swconfig|infra/test|infra/provisioner/bifrost|infra/provisioner/heat|infra/installer/kolla|infra/installer/kubespray
'
+ repos-to-ignore: 'infra/hwconfig|infra/
test|infra/provisioner/bifrost|infra/provisioner/heat
'
- shellcheck:
disabled: false
repos-to-ignore: 'infra/hwconfig'
- shellcheck:
disabled: false
repos-to-ignore: 'infra/hwconfig'
@@
-67,6
+67,14
@@
properties:
- logrotate
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:
wrappers:
- build-timeout:
@@
-76,7
+84,7
@@
scm:
- git-scm-gerrit:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
scm:
- git-scm-gerrit:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
- branch:
refs/heads/
$GERRIT_BRANCH
+ branch: $GERRIT_BRANCH
refspec: $GERRIT_REFSPEC
wipe_workspace: true
clean_before: false
refspec: $GERRIT_REFSPEC
wipe_workspace: true
clean_before: false
@@
-108,7
+116,7
@@
builders:
- multijob:
builders:
- multijob:
- name:
Engine Lint
+ name:
Static Analysis
condition: ALWAYS
execution-type: PARALLEL
projects:
condition: ALWAYS
execution-type: PARALLEL
projects:
@@
-159,7
+167,7
@@
scm:
- git-scm-gerrit:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
scm:
- git-scm-gerrit:
ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
- branch:
refs/heads/
$GERRIT_BRANCH
+ branch: $GERRIT_BRANCH
refspec: $GERRIT_REFSPEC
wipe_workspace: true
clean_before: false
refspec: $GERRIT_REFSPEC
wipe_workspace: true
clean_before: false