diff options
author | adheli.tavares <adheli.tavares@est.tech> | 2024-06-18 13:41:32 +0100 |
---|---|---|
committer | Adheli Tavares <adheli.tavares@est.tech> | 2024-06-21 08:41:02 +0000 |
commit | a68d010b604df2ccc5bd4019008bcef05086ea0f (patch) | |
tree | d66fc4643fba0b1842c30e3452741720c94560eb /jjb | |
parent | cbd30e345e36898b57b83f6e0878f2ab409123d3 (diff) |
[POLICY] Trigger CSITs in code reviews.
- use a template job for cron and docker checks
- use a template job for repository code reviews, triggered by gerrit
Issue-ID: POLICY-5029
Change-Id: Ia0757b98929675d069e83d41ca27e4f25930fa76
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/policy/policy-csit-jobs.yaml | 5 | ||||
-rw-r--r-- | jjb/policy/policy-csit-verify.yaml | 140 | ||||
-rw-r--r-- | jjb/policy/policy-csit.yaml | 9 |
3 files changed, 145 insertions, 9 deletions
diff --git a/jjb/policy/policy-csit-jobs.yaml b/jjb/policy/policy-csit-jobs.yaml index 4b54b4da8..d27786715 100644 --- a/jjb/policy/policy-csit-jobs.yaml +++ b/jjb/policy/policy-csit-jobs.yaml @@ -36,6 +36,11 @@ triggers: - timed: "@daily" + - gerrit-trigger-patch-submitted: + server: "{server-name}" + project: "{project}" + branch: "{branch}" + files: "**/**" builders: - lf-infra-pre-build diff --git a/jjb/policy/policy-csit-verify.yaml b/jjb/policy/policy-csit-verify.yaml new file mode 100644 index 000000000..35ed7fbe4 --- /dev/null +++ b/jjb/policy/policy-csit-verify.yaml @@ -0,0 +1,140 @@ +--- +- project: + name: policy-distribution-project-csit-verify + jobs: + - "{project-name}-{stream}-project-csit-verify-{functionality}" + project-name: "policy-distribution" + project: "policy/distribution" + stream: + - "master": + branch: "master" + - "montreal": + branch: "montreal" + - "newdelhi": + branch: "newdelhi" + functionality: + - "distribution" + +- project: + name: policy-xacml-pdp-project-csit-verify + jobs: + - "{project-name}-{stream}-project-csit-verify-{functionality}" + project-name: "policy-xacml-pdp" + project: "policy/xacml-pdp" + stream: + - "master": + branch: "master" + - "montreal": + branch: "montreal" + - "newdelhi": + branch: "newdelhi" + functionality: + - "xacml-pdp" + +- project: + name: policy-drools-applications-project-csit-verify + jobs: + - "{project-name}-{stream}-project-csit-verify-{functionality}" + project-name: "policy-drools-applications" + project: "policy/drools-applications" + stream: + - "master": + branch: "master" + - "montreal": + branch: "montreal" + - "newdelhi": + branch: "newdelhi" + functionality: + - "drools-applications" + +- project: + name: policy-drools-pdp-project-csit-verify + jobs: + - "{project-name}-{stream}-project-csit-verify-{functionality}" + project-name: "policy-drools-pdp" + project: "policy/drools-pdp" + stream: + - "master": + branch: "master" + - "montreal": + branch: "montreal" + - "newdelhi": + branch: "newdelhi" + functionality: + - "drools-pdp" + +- project: + name: policy-apex-pdp-project-csit-verify + jobs: + - "{project-name}-{stream}-project-csit-verify-{functionality}" + project-name: "policy-apex-pdp" + project: "policy/apex-pdp" + stream: + - "master": + branch: "master" + - "montreal": + branch: "montreal" + - "newdelhi": + branch: "newdelhi" + functionality: + - "apex-pdp" + +- project: + name: policy-pap-project-csit-verify + jobs: + - "{project-name}-{stream}-project-csit-verify-{functionality}" + project-name: "policy-pap" + project: "policy/pap" + stream: + - "master": + branch: "master" + - "montreal": + branch: "montreal" + - "newdelhi": + branch: "newdelhi" + functionality: + - "pap" + +- project: + name: policy-api-project-csit-verify + jobs: + - "{project-name}-{stream}-project-csit-verify-{functionality}" + project-name: "policy-api" + project: "policy/api" + stream: + - "master": + branch: "master" + - "montreal": + branch: "montreal" + - "newdelhi": + branch: "newdelhi" + functionality: + - "api" + +- project: + name: policy-clamp-project-csit-verify + jobs: + - "{project-name}-{stream}-project-csit-verify-{functionality}" + project-name: "policy-clamp" + project: "policy/clamp" + stream: + - "master": + branch: "master" + - "montreal": + branch: "montreal" + - "newdelhi": + branch: "newdelhi" + functionality: + - "clamp" + +- project: + name: policy-apex-pdp-postgres-project-csit-verify + jobs: + - "{project-name}-{stream}-project-csit-verify-{functionality}" + project-name: "policy-apex-pdp" + project: "policy/apex-pdp" + stream: + - "master": + branch: "master" + functionality: + - "apex-pdp-postgres" diff --git a/jjb/policy/policy-csit.yaml b/jjb/policy/policy-csit.yaml index 99df2a47f..d88070ab7 100644 --- a/jjb/policy/policy-csit.yaml +++ b/jjb/policy/policy-csit.yaml @@ -2,7 +2,6 @@ - project: name: policy-distribution-project-csit jobs: - - "{project-name}-{stream}-project-csit-verify-{functionality}" - "{project-name}-{stream}-project-csit-{functionality}" project-name: "policy-distribution" recipients: "ram_krishna.verma@bell.ca" @@ -20,7 +19,6 @@ - project: name: policy-xacml-pdp-project-csit jobs: - - "{project-name}-{stream}-project-csit-verify-{functionality}" - "{project-name}-{stream}-project-csit-{functionality}" project-name: "policy-xacml-pdp" recipients: "jrh3@att.com jorge.hernandez-herrero@att.com" @@ -38,7 +36,6 @@ - project: name: policy-drools-applications-project-csit jobs: - - "{project-name}-{stream}-project-csit-verify-{functionality}" - "{project-name}-{stream}-project-csit-{functionality}" project-name: "policy-drools-applications" recipients: "jrh3@att.com jorge.hernandez-herrero@att.com" @@ -56,7 +53,6 @@ - project: name: policy-drools-pdp-project-csit jobs: - - "{project-name}-{stream}-project-csit-verify-{functionality}" - "{project-name}-{stream}-project-csit-{functionality}" project-name: "policy-drools-pdp" recipients: "jrh3@att.com jorge.hernandez-herrero@att.com" @@ -74,7 +70,6 @@ - project: name: policy-apex-pdp-project-csit jobs: - - "{project-name}-{stream}-project-csit-verify-{functionality}" - "{project-name}-{stream}-project-csit-{functionality}" project-name: "policy-apex-pdp" recipients: "liam.fallon@est.tech ram_krishna.verma@bell.ca" @@ -92,7 +87,6 @@ - project: name: policy-pap-project-csit jobs: - - "{project-name}-{stream}-project-csit-verify-{functionality}" - "{project-name}-{stream}-project-csit-{functionality}" project-name: "policy-pap" recipients: "jrh3@att.com ram_krishna.verma@bell.ca" @@ -110,7 +104,6 @@ - project: name: policy-api-project-csit jobs: - - "{project-name}-{stream}-project-csit-verify-{functionality}" - "{project-name}-{stream}-project-csit-{functionality}" project-name: "policy-api" recipients: "jrh3@att.com ram_krishna.verma@bell.ca" @@ -128,7 +121,6 @@ - project: name: policy-clamp-project-csit jobs: - - "{project-name}-{stream}-project-csit-verify-{functionality}" - "{project-name}-{stream}-project-csit-{functionality}" project-name: "policy-clamp" recipients: "jrh3@att.com ram_krishna.verma@bell.ca liam.fallon@est.tech pd1248@att.com" @@ -146,7 +138,6 @@ - project: name: policy-apex-pdp-postgres-project-csit jobs: - - "{project-name}-{stream}-project-csit-verify-{functionality}" - "{project-name}-{stream}-project-csit-{functionality}" project-name: "policy-apex-pdp" recipients: "jrh3@att.com ram_krishna.verma@bell.ca liam.fallon@est.tech pd1248@att.com" |