From: afenner Date: Fri, 25 Oct 2024 15:54:45 +0000 (+0100) Subject: add policy opa-pap X-Git-Url: https://gerrit.nordix.org/gitweb?a=commitdiff_plain;h=4cf133260e74a411b190ecdddbc1dca156f1d6d7;p=infra%2Fcicd.git add policy opa-pap Change-Id: I88b21af9e6b2a7b661baffc931969b2c012fc8eb Signed-off-by: afenner --- diff --git a/jjb/onap/policy-opa-pdp/policy-opa-pdp-push-upstream-jobs.yaml b/jjb/onap/policy-opa-pdp/policy-opa-pdp-push-upstream-jobs.yaml new file mode 100644 index 00000000..1ab85808 --- /dev/null +++ b/jjb/onap/policy-opa-pdp/policy-opa-pdp-push-upstream-jobs.yaml @@ -0,0 +1,28 @@ +--- +# ============LICENSE_START======================================================= +# Copyright (C) 2024 Nordix Foundation. +# ================================================================================ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 +# ============LICENSE_END========================================================= +# + +# this job gets triggered when push-upstream is commented on a change on Nordix Gerrit. +- project: + name: policy-opa-pdp-push-upstream + project: policy/opa-pdp + project-name: policy-opa-pdp + + jobs: + - 'onap-{project-name}-push-upstream' diff --git a/jjb/onap/policy-opa-pdp/policy-opa-pdp-rebase-jobs.yaml b/jjb/onap/policy-opa-pdp/policy-opa-pdp-rebase-jobs.yaml new file mode 100644 index 00000000..6e19b25f --- /dev/null +++ b/jjb/onap/policy-opa-pdp/policy-opa-pdp-rebase-jobs.yaml @@ -0,0 +1,29 @@ +--- +# ============LICENSE_START======================================================= +# Copyright (C) 2024 Nordix Foundation. +# ================================================================================ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 +# ============LICENSE_END========================================================= +# + +# this job gets triggered when a change is merged to +# policy/opa-pdp project on ONAP Gerrit. +- project: + name: policy-opa-pdp-rebase + project: policy/opa-pdp + project-name: policy-opa-pdp + + jobs: + - 'onap-{project-name}-rebase' diff --git a/jjb/onap/policy-opa-pdp/policy-opa-pdp-verify-jobs.yaml b/jjb/onap/policy-opa-pdp/policy-opa-pdp-verify-jobs.yaml new file mode 100644 index 00000000..a87311ac --- /dev/null +++ b/jjb/onap/policy-opa-pdp/policy-opa-pdp-verify-jobs.yaml @@ -0,0 +1,35 @@ +--- +# +# ============LICENSE_START======================================================= +# Copyright (C) 2024 Nordix Foundation. +# ================================================================================ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 +# ============LICENSE_END========================================================= + +# this job gets triggered when a change is proposed to +# policy/opa-pdp project on Nordix Gerrit. + +- project: + name: policy-opa-pdp-verify + project: policy/opa-pdp + project-name: policy-opa-pdp + + stream: + - master: + branch: '{stream}' + jdk-version: java-17 + + jobs: + - 'onap-{project-name}-{stream}-verify-java'