From: Jeremy Phelps Date: Mon, 30 Jul 2018 21:53:02 +0000 (-0500) Subject: Add github whitelist branches params to trigger. X-Git-Tag: v0.24.0~26 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=1a0058195bbe4b34dd34309b254ffa49f72261d9;p=releng%2Fglobal-jjb.git Add github whitelist branches params to trigger. Issue: RELENG-1104 Change-Id: I02c7d8926888f17e8b9b7d78deb561147f44602f Signed-off-by: Jeremy Phelps --- diff --git a/jjb/lf-c-cpp-jobs.yaml b/jjb/lf-c-cpp-jobs.yaml index 3164b2b9..87003411 100644 --- a/jjb/lf-c-cpp-jobs.yaml +++ b/jjb/lf-c-cpp-jobs.yaml @@ -131,3 +131,5 @@ permit-all: true github-hooks: true included-regions: '{obj:github_included_regions}' + white-list-target-branches: + - '{branch}' diff --git a/jjb/lf-ci-jobs.yaml b/jjb/lf-ci-jobs.yaml index 13723b81..8edcb7fb 100644 --- a/jjb/lf-ci-jobs.yaml +++ b/jjb/lf-ci-jobs.yaml @@ -410,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 # @@ -524,6 +526,8 @@ status-context: 'JJB Deploy Job' permit-all: true github-hooks: true + white-list-target-branches: + - '{branch}' ############# # JJB Merge # @@ -624,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 # @@ -734,6 +740,8 @@ permit-all: true github-hooks: true included-regions: '{obj:github_included_regions}' + white-list-target-branches: + - '{branch}' ################# # License Check # @@ -863,6 +871,8 @@ status-context: 'License Check' permit-all: true github-hooks: true + white-list-target-branches: + - '{branch}' #################### # Info YAML Verify # @@ -957,6 +967,8 @@ github-hooks: true # included-regions MUST match gerrit file-paths included-regions: 'INFO.yaml' + white-list-target-branches: + - '{branch}' ################ # Packer Merge # @@ -1086,6 +1098,8 @@ - 'packer\/provision\/local-{templates}\.yaml' - 'packer\/templates\/{templates}\.json' - 'packer\/vars\/{platforms}\.json' + white-list-target-branches: + - '{branch}' ################# # Packer Verify # @@ -1201,3 +1215,5 @@ permit-all: true github-hooks: true included-regions: '{obj:github_included_regions}' + white-list-target-branches: + - '{branch}' diff --git a/jjb/lf-maven-jobs.yaml b/jjb/lf-maven-jobs.yaml index 0a4cc163..c4331372 100644 --- a/jjb/lf-maven-jobs.yaml +++ b/jjb/lf-maven-jobs.yaml @@ -296,6 +296,8 @@ - '{github-org}' white-list: '{obj:github_pr_whitelist}' admin-list: '{obj:github_pr_admin_list}' + white-list-target-branches: + - '{branch}' ######################### # Maven Javadoc Publish # @@ -415,6 +417,8 @@ - '{github-org}' white-list: '{obj:github_pr_whitelist}' admin-list: '{obj:github_pr_admin_list}' + white-list-target-branches: + - '{branch}' ######################## # Maven Javadoc Verify # @@ -525,6 +529,8 @@ status-context: 'Maven Javadoc Verify' permit-all: true github-hooks: true + white-list-target-branches: + - '{branch}' ############### # Maven Merge # @@ -667,6 +673,8 @@ - '{github-org}' white-list: '{obj:github_pr_whitelist}' admin-list: '{obj:github_pr_admin_list}' + white-list-target-branches: + - '{branch}' included-regions: '{obj:github_included_regions}' ################# @@ -780,6 +788,8 @@ status-context: 'Maven Release' permit-all: true github-hooks: true + white-list-target-branches: + - '{branch}' ############### # Maven Sonar # @@ -932,6 +942,8 @@ status-context: 'Maven Sonar' permit-all: true github-hooks: true + white-list-target-branches: + - '{branch}' ################ # Maven Verify # @@ -1059,6 +1071,8 @@ status-context: 'Maven Verify' permit-all: true github-hooks: true + white-list-target-branches: + - '{branch}' included-regions: '{obj:github_included_regions}' ############################# diff --git a/jjb/lf-node-jobs.yaml b/jjb/lf-node-jobs.yaml index cca9388b..79f11248 100644 --- a/jjb/lf-node-jobs.yaml +++ b/jjb/lf-node-jobs.yaml @@ -153,3 +153,5 @@ permit-all: true github-hooks: true included-regions: '{obj:github_included_regions}' + white-list-target-branches: + - '{branch}' diff --git a/jjb/lf-python-jobs.yaml b/jjb/lf-python-jobs.yaml index 9b077e4a..441e5381 100644 --- a/jjb/lf-python-jobs.yaml +++ b/jjb/lf-python-jobs.yaml @@ -213,6 +213,8 @@ status-context: 'CLM' permit-all: true github-hooks: true + white-list-target-branches: + - '{branch}' included-regions: '{obj:github_included_regions}' ######################## @@ -389,6 +391,8 @@ status-context: 'Python Sonar' permit-all: true github-hooks: true + white-list-target-branches: + - '{branch}' included-regions: '{obj:github_included_regions}' ############## @@ -538,4 +542,6 @@ status-context: 'Tox Verify' permit-all: true github-hooks: true + white-list-target-branches: + - '{branch}' included-regions: '{obj:github_included_regions}' diff --git a/jjb/lf-rtd-jobs.yaml b/jjb/lf-rtd-jobs.yaml index cb044d9b..5d53bde7 100644 --- a/jjb/lf-rtd-jobs.yaml +++ b/jjb/lf-rtd-jobs.yaml @@ -150,6 +150,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}' ############# # RTD VERIFY# @@ -249,3 +251,5 @@ permit-all: true github-hooks: true included-regions: '{obj:github_included_regions}' + white-list-target-branches: + - '{branch}'