Merge "Automation adds nonrtric-plt-a1policymanagementservice.yaml"
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Thu, 10 Feb 2022 17:16:21 +0000 (17:16 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Thu, 10 Feb 2022 17:16:21 +0000 (17:16 +0000)
14 files changed:
jenkins-config/global-vars-production.sh
jenkins-config/managed-config-files/custom/sigul-config/content
jjb/ci-management/ci-jobs.yaml
jjb/nonrtric-plt-dmaapadapter/nonrtric-plt-dmaapadapter.yaml [new file with mode: 0644]
jjb/nonrtric-plt-dmaapmediatorproducer/nonrtric-plt-dmaapmediatorproducer.yaml [new file with mode: 0644]
jjb/nonrtric-plt-helmmanager/nonrtric-plt-helmmanager.yaml [new file with mode: 0644]
jjb/nonrtric-plt-informationcoordinatorservice/nonrtric-plt-informationcoordinatorservice.yaml [new file with mode: 0644]
jjb/nonrtric-plt-rappcatalogue/nonrtric-plt-rappcatalogue.yaml [new file with mode: 0644]
jjb/nonrtric-plt-sdnca1controller/nonrtric-plt-sdnca1controller.yaml [new file with mode: 0644]
jjb/nonrtric-rapp-healthcheck/nonrtric-rapp-healthcheck.yaml [new file with mode: 0644]
jjb/nonrtric-rapp-orufhrecovery/nonrtric-rapp-orufhrecovery.yaml [new file with mode: 0644]
jjb/nonrtric-rapp-ransliceassurance/nonrtric-rapp-ransliceassurance.yaml [new file with mode: 0644]
jjb/ric-plt-sdlgo/prescan-sdlgo-go-ubuntu.sh
jjb/ric-plt-sdlgo/ric-plt-sdlgo.yaml

index 72dd525..e6dfb09 100644 (file)
@@ -9,6 +9,6 @@ RELEASE_EMAIL=collab-it+o-ran-sc-release@linuxfoundation.org
 RELEASE_USERNAME=o-ran-sc-release
 S3_BUCKET=
 SIGUL_BRIDGE_IP=44.232.126.158
-SIGUL_KEY=oran-release-2019
+SIGUL_KEY=oran-release-2022
 SILO=production
 MASTER_RTD_PROJECT=doc
index d07ba54..96558f4 100644 (file)
@@ -2,7 +2,7 @@
 bridge-hostname: sigul-bridge-us-west-2.linuxfoundation.org
 bridge-port: 44334
 client-cert-nickname: $SIGUL_CONFIG_USR
-server-hostname: aws-us-west-2-lfit-sigul-bridge-1.dr.codeaurora.org
+server-hostname: aws-us-west-2-lfit-sigul-server-1.dr.codeaurora.org
 user-name: $SIGUL_CONFIG_USR
 
 [koji]
index 42fd7a9..59b0dbc 100644 (file)
     build-node-label-list: ""
 
     jobs:
-      - '{project-name}-ci-jobs'
       - 'gerrit-info-yaml-verify'
+      - gerrit-jenkins-cfg-verify
+      - gerrit-jenkins-sandbox-cleanup
+      - gerrit-jjb-deploy-job
+      - gerrit-jjb-merge
+      - gerrit-jjb-verify
 
     <<: *ci_jobs_common
 
diff --git a/jjb/nonrtric-plt-dmaapadapter/nonrtric-plt-dmaapadapter.yaml b/jjb/nonrtric-plt-dmaapadapter/nonrtric-plt-dmaapadapter.yaml
new file mode 100644 (file)
index 0000000..76caf0d
--- /dev/null
@@ -0,0 +1,14 @@
+---
+- project:
+    name: nonrtric-plt-dmaapadapter-project-view
+    project-name: nonrtric-plt-dmaapadapter
+    views:
+      - project-view
+
+- project:
+    name: nonrtric-plt-dmaapadapter-info
+    project: nonrtric/plt/dmaapadapter
+    project-name: nonrtric-plt-dmaapadapter
+    build-node: centos7-builder-1c-1g
+    jobs:
+      - gerrit-info-yaml-verify
diff --git a/jjb/nonrtric-plt-dmaapmediatorproducer/nonrtric-plt-dmaapmediatorproducer.yaml b/jjb/nonrtric-plt-dmaapmediatorproducer/nonrtric-plt-dmaapmediatorproducer.yaml
new file mode 100644 (file)
index 0000000..43bb3b0
--- /dev/null
@@ -0,0 +1,14 @@
+---
+- project:
+    name: nonrtric-plt-dmaapmediatorproducer-project-view
+    project-name: nonrtric-plt-dmaapmediatorproducer
+    views:
+      - project-view
+
+- project:
+    name: nonrtric-plt-dmaapmediatorproducer-info
+    project: nonrtric/plt/dmaapmediatorproducer
+    project-name: nonrtric-plt-dmaapmediatorproducer
+    build-node: centos7-builder-1c-1g
+    jobs:
+      - gerrit-info-yaml-verify
diff --git a/jjb/nonrtric-plt-helmmanager/nonrtric-plt-helmmanager.yaml b/jjb/nonrtric-plt-helmmanager/nonrtric-plt-helmmanager.yaml
new file mode 100644 (file)
index 0000000..a747bf2
--- /dev/null
@@ -0,0 +1,14 @@
+---
+- project:
+    name: nonrtric-plt-helmmanager-project-view
+    project-name: nonrtric-plt-helmmanager
+    views:
+      - project-view
+
+- project:
+    name: nonrtric-plt-helmmanager-info
+    project: nonrtric/plt/helmmanager
+    project-name: nonrtric-plt-helmmanager
+    build-node: centos7-builder-1c-1g
+    jobs:
+      - gerrit-info-yaml-verify
diff --git a/jjb/nonrtric-plt-informationcoordinatorservice/nonrtric-plt-informationcoordinatorservice.yaml b/jjb/nonrtric-plt-informationcoordinatorservice/nonrtric-plt-informationcoordinatorservice.yaml
new file mode 100644 (file)
index 0000000..72e0eec
--- /dev/null
@@ -0,0 +1,14 @@
+---
+- project:
+    name: nonrtric-plt-informationcoordinatorservice-project-view
+    project-name: nonrtric-plt-informationcoordinatorservice
+    views:
+      - project-view
+
+- project:
+    name: nonrtric-plt-informationcoordinatorservice-info
+    project: nonrtric/plt/informationcoordinatorservice
+    project-name: nonrtric-plt-informationcoordinatorservice
+    build-node: centos7-builder-1c-1g
+    jobs:
+      - gerrit-info-yaml-verify
diff --git a/jjb/nonrtric-plt-rappcatalogue/nonrtric-plt-rappcatalogue.yaml b/jjb/nonrtric-plt-rappcatalogue/nonrtric-plt-rappcatalogue.yaml
new file mode 100644 (file)
index 0000000..c68ea8f
--- /dev/null
@@ -0,0 +1,14 @@
+---
+- project:
+    name: nonrtric-plt-rappcatalogue-project-view
+    project-name: nonrtric-plt-rappcatalogue
+    views:
+      - project-view
+
+- project:
+    name: nonrtric-plt-rappcatalogue-info
+    project: nonrtric/plt/rappcatalogue
+    project-name: nonrtric-plt-rappcatalogue
+    build-node: centos7-builder-1c-1g
+    jobs:
+      - gerrit-info-yaml-verify
diff --git a/jjb/nonrtric-plt-sdnca1controller/nonrtric-plt-sdnca1controller.yaml b/jjb/nonrtric-plt-sdnca1controller/nonrtric-plt-sdnca1controller.yaml
new file mode 100644 (file)
index 0000000..1cfdd69
--- /dev/null
@@ -0,0 +1,14 @@
+---
+- project:
+    name: nonrtric-plt-sdnca1controller-project-view
+    project-name: nonrtric-plt-sdnca1controller
+    views:
+      - project-view
+
+- project:
+    name: nonrtric-plt-sdnca1controller-info
+    project: nonrtric/plt/sdnca1controller
+    project-name: nonrtric-plt-sdnca1controller
+    build-node: centos7-builder-1c-1g
+    jobs:
+      - gerrit-info-yaml-verify
diff --git a/jjb/nonrtric-rapp-healthcheck/nonrtric-rapp-healthcheck.yaml b/jjb/nonrtric-rapp-healthcheck/nonrtric-rapp-healthcheck.yaml
new file mode 100644 (file)
index 0000000..e8cb4d6
--- /dev/null
@@ -0,0 +1,14 @@
+---
+- project:
+    name: nonrtric-rapp-healthcheck-project-view
+    project-name: nonrtric-rapp-healthcheck
+    views:
+      - project-view
+
+- project:
+    name: nonrtric-rapp-healthcheck-info
+    project: nonrtric/rapp/healthcheck
+    project-name: nonrtric-rapp-healthcheck
+    build-node: centos7-builder-1c-1g
+    jobs:
+      - gerrit-info-yaml-verify
diff --git a/jjb/nonrtric-rapp-orufhrecovery/nonrtric-rapp-orufhrecovery.yaml b/jjb/nonrtric-rapp-orufhrecovery/nonrtric-rapp-orufhrecovery.yaml
new file mode 100644 (file)
index 0000000..e63df7e
--- /dev/null
@@ -0,0 +1,14 @@
+---
+- project:
+    name: nonrtric-rapp-orufhrecovery-project-view
+    project-name: nonrtric-rapp-orufhrecovery
+    views:
+      - project-view
+
+- project:
+    name: nonrtric-rapp-orufhrecovery-info
+    project: nonrtric/rapp/orufhrecovery
+    project-name: nonrtric-rapp-orufhrecovery
+    build-node: centos7-builder-1c-1g
+    jobs:
+      - gerrit-info-yaml-verify
diff --git a/jjb/nonrtric-rapp-ransliceassurance/nonrtric-rapp-ransliceassurance.yaml b/jjb/nonrtric-rapp-ransliceassurance/nonrtric-rapp-ransliceassurance.yaml
new file mode 100644 (file)
index 0000000..fe3bb4d
--- /dev/null
@@ -0,0 +1,14 @@
+---
+- project:
+    name: nonrtric-rapp-ransliceassurance-project-view
+    project-name: nonrtric-rapp-ransliceassurance
+    views:
+      - project-view
+
+- project:
+    name: nonrtric-rapp-ransliceassurance-info
+    project: nonrtric/rapp/ransliceassurance
+    project-name: nonrtric-rapp-ransliceassurance
+    build-node: centos7-builder-1c-1g
+    jobs:
+      - gerrit-info-yaml-verify
index b9c27b5..18d4d54 100644 (file)
@@ -58,11 +58,11 @@ hash=$(git rev-parse --short HEAD || true)
 
 # Build
 
-go build -a -installsuffix cgo -ldflags "-X main.Version=$tag -X main.Hash=$hash" -o ./cmd/*.go
+go build ./...
 
 # Execute UT and measure coverage
 
-go test . -v -coverprofile cover.out || true
+go test ./... -v -coverprofile cover.out || true
 
 echo "--> build_sdlgo_ubuntu.sh ends"
 
index 3e2a454..41592ab 100644 (file)
         # Source
         sonar.sources=.
         # Unit tests
-        sonar.go.coverage.reportPaths=./cover.out,/internal/sdlgoredis/cover.out
+        sonar.go.coverage.reportPaths=**/cover.out
         # Inclusions
         sonar.inclusions=**/*.go
         # Exclusions
-        sonar.exclusions=**/*_test.go
+        sonar.exclusions=cmd/**.go,example/**.go,internal/mocks/**.go,**/*_test.go
     jobs:
       - gerrit-sonar-prescan-script