X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-ci-jobs.yaml;h=ebf637fdd28d183a1708a9fc2ef6a5d940184f21;hb=5e69a04c8ff3dc6c0cefa392b6b60c626aaddf24;hp=c34f63d1f0f06928a4f2c9d6310159d860137c87;hpb=c90444b34acce55c33b17d91c0e47612345b2249;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-ci-jobs.yaml b/jjb/lf-ci-jobs.yaml index c34f63d1..ebf637fd 100644 --- a/jjb/lf-ci-jobs.yaml +++ b/jjb/lf-ci-jobs.yaml @@ -113,6 +113,11 @@ stream: master submodule-recursive: true submodule-timeout: 10 + throttle_categories: [] + throttle-enabled: false + throttle-max-per-node: 1 + throttle-max-total: 0 + throttle-option: 'project' gerrit_trigger_file_paths: - compare-type: REG_EXP @@ -140,6 +145,12 @@ - lf-infra-properties: project: '{project}' build-days-to-keep: 7 + - throttle: + categories: '{obj:throttle_categories}' + enabled: '{throttle-enabled}' + max-per-node: '{throttle-max-per-node}' + max-total: '{throttle-max-total}' + option: '{throttle-option}' parameters: - lf-infra-parameters: @@ -506,7 +517,7 @@ url: '{git-clone-url}{github-org}/{project}' refspec: '+refs/pull/*:refs/remotes/origin/pr/*' branch: '$sha1' - submodule-recursive: '{submodule-recursive}' + submodule-recursive: true submodule-timeout: '{submodule-timeout}' choosing-strategy: default jenkins-ssh-credential: '{jenkins-ssh-credential}' @@ -598,7 +609,7 @@ submodule-timeout: 10 gerrit_jjb_deploy_job_triggers: - comment-added-contains-event: - comment-contains-value: 'jjb-deploy[:]* (?!\*+$).+$' + comment-contains-value: '^Patch Set[ ]+[0-9]+:([ ]+|[\n]+)(jjb-deploy[:]* (?!\*+$).+$)' ##################### # Job Configuration # @@ -708,6 +719,8 @@ # Default parameters # ###################### + jjb-workers: 0 + gerrit_merge_triggers: - change-merged-event - comment-added-contains-event: @@ -720,6 +733,8 @@ builders: - lf-infra-pre-build - lf-infra-jjbini + - inject: + properties-content: JJB_WORKERS={jjb-workers} - shell: !include-raw-escape: - ../shell/jjb-install.sh - ../shell/jjb-merge-job.sh @@ -1402,6 +1417,8 @@ packer-version: '{packer-version}' platform: '{platforms}' template: '{templates}' + - description-setter: + description: '.*Creating the image:(.*)' - job-template: name: '{project-name}-packer-merge-{platforms}-{templates}'