X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-ci-jobs.yaml;h=db12af262e9a07a1fcfc40e237459fbbef05898c;hb=26d174d7d7acd639ea28e1b7d140fefdaa81171d;hp=cc4399b97052c0a3b9c4074cca007b7613c5ce31;hpb=08453751efb9b2737b05a03c9f1925435478db8d;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-ci-jobs.yaml b/jjb/lf-ci-jobs.yaml index cc4399b9..db12af26 100644 --- a/jjb/lf-ci-jobs.yaml +++ b/jjb/lf-ci-jobs.yaml @@ -127,16 +127,21 @@ submodule-recursive: true gerrit_trigger_file_paths: - - compare-type: ANT - pattern: '**/*.groovy' - - compare-type: ANT - pattern: '**/*.sh' - - compare-type: ANT - pattern: '**/*.yml' - - compare-type: ANT - pattern: '**/*.yaml' - - compare-type: ANT - pattern: '**/global-jjb' + - compare-type: REG_EXP + pattern: '.*\.groovy' + - compare-type: REG_EXP + pattern: '.*\.sh' + - compare-type: REG_EXP + pattern: '.*\.(yaml|yml)' + - compare-type: REG_EXP + pattern: '.*\/global-jjb' + + # github_included_regions MUST match gerrit_trigger_file_paths + github_included_regions: + - '.*\.groovy' + - '.*\.sh' + - '.*\.(yaml|yml)' + - '.*\/global-jjb' ##################### # Job Configuration # @@ -478,17 +483,12 @@ jenkins-ssh-credential: '{jenkins-ssh-credential}' triggers: - - lf-infra-github-pr-trigger: + - github-pull-request: trigger-phrase: '^jjb-deploy (?!\*+$).+$' only-trigger-phrase: true status-context: 'JJB Deploy Job' permit-all: true github-hooks: true - github-org: '' - github_pr_whitelist: - - '' - github_pr_admin_list: - - '' ############# # JJB Merge # @@ -554,6 +554,10 @@ # yamllint disable-line rule:key-duplicates <<: *lf_jjb_merge + ##################### + # Job Configuration # + ##################### + properties: - github: url: '{git-url}/{github-org}/{project}' @@ -571,15 +575,17 @@ - github - pollscm: cron: '' - - lf-infra-github-pr-trigger: + - github-pull-request: trigger-phrase: '^remerge$' only-trigger-phrase: true status-context: 'JJB Merge' permit-all: false github-hooks: true - github-org: '{github-org}' - github_pr_whitelist: '{obj:github_pr_whitelist}' - github_pr_admin_list: '{obj:github_pr_admin_list}' + org-list: + - '{github-org}' + white-list: '{obj:github_pr_whitelist}' + admin-list: '{obj:github_pr_admin_list}' + included-regions: '{obj:github_included_regions}' ############## # JJB Verify # @@ -624,8 +630,16 @@ # yamllint disable-line rule:key-duplicates <<: *lf_jjb_verify + ###################### + # Default parameters # + ###################### + git-url: '$GIT_URL/$GERRIT_PROJECT' + ##################### + # Job Configuration # + ##################### + scm: - lf-infra-gerrit-scm: git-url: '{git-url}' @@ -654,6 +668,10 @@ # yamllint disable-line rule:key-duplicates <<: *lf_jjb_verify + ##################### + # Job Configuration # + ##################### + properties: - github: url: '{git-url}/{github-org}/{project}' @@ -668,17 +686,13 @@ jenkins-ssh-credential: '{jenkins-ssh-credential}' triggers: - - lf-infra-github-pr-trigger: + - github-pull-request: trigger-phrase: '^recheck$' only-trigger-phrase: false status-context: 'JJB Verify' permit-all: true github-hooks: true - github-org: '' - github_pr_whitelist: - - '' - github_pr_admin_list: - - '' + included-regions: '{obj:github_included_regions}' ################ # Packer Merge #