X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-ci-jobs.yaml;h=8edcb7fb4f1d7fb80b841993b789cd3a4c816ff1;hb=refs%2Fchanges%2F37%2F12037%2F6;hp=70c662c57928fd6a59dc94c5d05c0ea9a9606158;hpb=10a40a3480b3cc200f909dd19aee1beb69878573;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-ci-jobs.yaml b/jjb/lf-ci-jobs.yaml index 70c662c5..8edcb7fb 100644 --- a/jjb/lf-ci-jobs.yaml +++ b/jjb/lf-ci-jobs.yaml @@ -75,6 +75,7 @@ branch: master build-timeout: 90 cron: '@monthly' + github-url: 'https://github.com' stream: master submodule-recursive: true packer-cloud-settings: packer-cloud-env @@ -134,6 +135,7 @@ branch: master build-timeout: 10 + github-url: 'https://github.com' jjb-version: 2.0.5 stream: master submodule-recursive: true @@ -292,6 +294,7 @@ branch: master cron: '@daily' git-url: '$GIT_URL/$GERRIT_PROJECT' + github-url: 'https://github.com' jenkins-silos: production sandbox gerrit_merge_triggers: @@ -376,8 +379,11 @@ <<: *lf_jenkins_cfg_merge properties: + - lf-infra-properties: + project: '{project}' + build-days-to-keep: 1 - github: - url: '{git-url}/{github-org}/{project}' + url: '{github-url}/{github-org}/{project}' scm: - lf-infra-github-scm: @@ -404,6 +410,8 @@ white-list: '{obj:github_pr_whitelist}' admin-list: '{obj:github_pr_admin_list}' included-regions: '{obj:github_included_regions}' + white-list-target-branches: + - '{branch}' ################## # JJB DEPLOY JOB # @@ -420,6 +428,7 @@ # jjb-deploy should always clone $PROJECT regardless of what # $GERRIT_PROJECT triggered the job. git-url: '$GIT_URL/$PROJECT' + github-url: 'https://github.com' stream: master gerrit_jjb_deploy_job_triggers: - comment-added-contains-event: @@ -495,8 +504,11 @@ <<: *lf_jjb_deploy_job properties: + - lf-infra-properties: + project: '{project}' + build-days-to-keep: 1 - github: - url: '{git-url}/{github-org}/{project}' + url: '{github-url}/{github-org}/{project}' scm: - lf-infra-github-scm: @@ -514,6 +526,8 @@ status-context: 'JJB Deploy Job' permit-all: true github-hooks: true + white-list-target-branches: + - '{branch}' ############# # JJB Merge # @@ -584,8 +598,11 @@ ##################### properties: + - lf-infra-properties: + project: '{project}' + build-days-to-keep: 7 - github: - url: '{git-url}/{github-org}/{project}' + url: '{github-url}/{github-org}/{project}' scm: - lf-infra-github-scm: @@ -611,6 +628,8 @@ white-list: '{obj:github_pr_whitelist}' admin-list: '{obj:github_pr_admin_list}' included-regions: '{obj:github_included_regions}' + white-list-target-branches: + - '{branch}' ############## # JJB Verify # @@ -698,8 +717,11 @@ ##################### properties: + - lf-infra-properties: + project: '{project}' + build-days-to-keep: 7 - github: - url: '{git-url}/{github-org}/{project}' + url: '{github-url}/{github-org}/{project}' scm: - lf-infra-github-scm: @@ -718,6 +740,8 @@ permit-all: true github-hooks: true included-regions: '{obj:github_included_regions}' + white-list-target-branches: + - '{branch}' ################# # License Check # @@ -740,6 +764,7 @@ *.py *.sh git-url: '$GIT_URL/$PROJECT' + github-url: 'https://github.com' lhc-version: 0.2.0 license-exclude-paths: '' licenses-allowed: Apache-2.0,EPL-1.0,MIT @@ -824,8 +849,10 @@ <<: *lf_license_check properties: + - lf-infra-properties: + build-days-to-keep: '{build-days-to-keep}' - github: - url: '{git-url}/{github-org}/{project}' + url: '{github-url}/{github-org}/{project}' scm: - lf-infra-github-scm: @@ -844,6 +871,8 @@ status-context: 'License Check' permit-all: true github-hooks: true + white-list-target-branches: + - '{branch}' #################### # Info YAML Verify # @@ -915,9 +944,10 @@ # yamllint disable-line rule:key-duplicates <<: *lf_info_yaml_verify + github-url: 'https://github.com' properties: - github: - url: '{git-url}/{github-org}/{project}' + url: '{github-url}/{github-org}/{project}' scm: - lf-infra-github-scm: @@ -937,6 +967,8 @@ github-hooks: true # included-regions MUST match gerrit file-paths included-regions: 'INFO.yaml' + white-list-target-branches: + - '{branch}' ################ # Packer Merge # @@ -1026,8 +1058,11 @@ ##################### properties: + - lf-infra-properties: + project: '{project}' + build-days-to-keep: 7 - github: - url: '{git-url}/{github-org}/{project}' + url: '{github-url}/{github-org}/{project}' scm: - lf-infra-github-scm: @@ -1063,6 +1098,8 @@ - 'packer\/provision\/local-{templates}\.yaml' - 'packer\/templates\/{templates}\.json' - 'packer\/vars\/{platforms}\.json' + white-list-target-branches: + - '{branch}' ################# # Packer Verify # @@ -1155,8 +1192,11 @@ ##################### properties: + - lf-infra-properties: + project: '{project}' + build-days-to-keep: 7 - github: - url: '{git-url}/{github-org}/{project}' + url: '{github-url}/{github-org}/{project}' scm: - lf-infra-github-scm: @@ -1175,3 +1215,5 @@ permit-all: true github-hooks: true included-regions: '{obj:github_included_regions}' + white-list-target-branches: + - '{branch}'