summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jjb/policy/build-opa-pdp-docker-image.sh25
-rw-r--r--jjb/policy/policy-opa-pdp.yaml46
2 files changed, 71 insertions, 0 deletions
diff --git a/jjb/policy/build-opa-pdp-docker-image.sh b/jjb/policy/build-opa-pdp-docker-image.sh
new file mode 100644
index 000000000..08fba307f
--- /dev/null
+++ b/jjb/policy/build-opa-pdp-docker-image.sh
@@ -0,0 +1,25 @@
+#!/bin/bash
+# -
+# ========================LICENSE_START=================================
+# Copyright (C) 2024-2025: Deutsche Telecom
+#
+# 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.
+# ========================LICENSE_END===================================
+#
+
+set -o xtrace
+
+echo '============== CALLING SCRIPT TO BUILD DOCKER IMAGES ================='
+cd ./build
+./build_image.sh
+
diff --git a/jjb/policy/policy-opa-pdp.yaml b/jjb/policy/policy-opa-pdp.yaml
new file mode 100644
index 000000000..66ee1bb9e
--- /dev/null
+++ b/jjb/policy/policy-opa-pdp.yaml
@@ -0,0 +1,46 @@
+---
+- project:
+ name: policy-opa-pdp-project-view
+ project-name: policy-opa-pdp
+ views:
+ - project-view
+
+- project:
+ name: policy-opa-pdp-info
+ project: policy/opa-pdp
+ project-name: policy-opa-pdp
+ build-node: centos8-builder-2c-1g
+ branch: master
+ jobs:
+ - gerrit-info-yaml-verify
+
+- project:
+ name: policy-opa-pdp-go-v123
+ project: policy/opa-pdp
+ project-name: policy-opa-pdp
+ path: "."
+ golangver: "golang123"
+ build-node: ubuntu1804-docker-8c-8g
+ branch: master
+ jobs:
+ - "{project-name}-{stream}-verify-golang"
+ - "{project-name}-{stream}-merge-golang"
+ - "{project-name}-{stream}-docker-golang-shell-daily":
+ script: !include-raw-escape: "build-opa-pdp-docker-image.sh"
+ - "{project-name}-gerrit-release-jobs":
+ build-node: centos7-docker-2c-1g
+ stream:
+ - "master":
+ branch: "master"
+ mvn-settings: "policy-opa-pdp-settings"
+
+- project:
+ name: policy-opa-pdp-clm
+ project: policy/opa-pdp
+ project-name: policy-opa-pdp
+ build-node: ubuntu2004-builder-4c-4g
+ nexus-iq-namespace: onap-
+ golang-version: "1.23"
+ jobs:
+ - gerrit-nexus-iq-go-clm
+ branch: "master"