X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fnonrtric%2Fnonrtric.yaml;h=b54e6ac36d1f59f325910db5a718524abe9b69ee;hb=641ac9c3cb4ee512eccec9c228bb819e0a743025;hp=bed5d915407caf5d57b51bcd4582b61accede20e;hpb=0cd6d4f35b7fe50eec05551e827b87e352b3c94f;p=ci-management.git diff --git a/jjb/nonrtric/nonrtric.yaml b/jjb/nonrtric/nonrtric.yaml index bed5d915..b54e6ac3 100644 --- a/jjb/nonrtric/nonrtric.yaml +++ b/jjb/nonrtric/nonrtric.yaml @@ -22,139 +22,135 @@ # maven settings file has docker credentials mvn-settings: nonrtric-settings mvn-version: mvn36 - java-version: openjdk11 + java-version: openjdk17 - project: <<: *nonrtric_jdk_common - mvn-params: -Dbuild.number=${{BUILD_NUMBER}} - jobs: - - gerrit-maven-docker-verify - - gerrit-maven-docker-merge - - gerrit-maven-docker-stage - stream: - - master: - branch: master - - cherry: - branch: cherry - - dawn: - branch: dawn - -# nonrtric:policy-agent -# Maven artifacts for nonrtric-policy-agent -- project: - <<: *nonrtric_jdk_common - name: nonrtric-policy-agent + name: nonrtric-test-kafka-procon project-name: '{name}' - mvn-opts: '-Ddocker.skip=true' - mvn-params: '-f policy-agent' + # image name + docker-name: 'kafka-procon' + # get tag from YAML + container-tag-method: yaml-file + # use host network to clone from our gerrit + docker-build-args: '--network=host' + # Directory with Dockerfile + docker-root: 'test/kafka-procon' + # use host network to clone from our gerrit + docker-build-args: '--network=host' + # Directory where go test should be run + # Limit build trigger to appropriate files gerrit_trigger_file_paths: - compare-type: REG_EXP - pattern: 'policy-agent/.*' - build-node: ubuntu1804-builder-4c-4g + pattern: 'test/kafka-procon/.*' + build-node: ubuntu1804-docker-4c-4g + # Includes verify and merge jobs jobs: - - gerrit-maven-verify - - gerrit-maven-merge - - gerrit-maven-stage - - gerrit-maven-clm + - "{project-name}-gerrit-docker-jobs" stream: - master: branch: master - - cherry: - branch: cherry - - dawn: - branch: dawn -# nonrtric:sdnc-a1-controller -# Maven artifacts for nonrtric-sdnc-a1-controller - project: <<: *nonrtric_jdk_common - name: nonrtric-sdnc-a1-controller + name: nonrtric-test-http-https-proxy project-name: '{name}' - mvn-opts: '-Ddocker.skip=true' - mvn-params: '-f sdnc-a1-controller/northbound' + # image name + docker-name: 'http-https-proxy' + # get tag from YAML + container-tag-method: yaml-file + # use host network to clone from our gerrit + docker-build-args: '--network=host' + # Directory with Dockerfile + docker-root: 'test/http-https-proxy' + # use host network to clone from our gerrit + docker-build-args: '--network=host' + # Directory where go test should be run + # Limit build trigger to appropriate files gerrit_trigger_file_paths: - compare-type: REG_EXP - pattern: 'sdnc-a1-controller/northbound/.*' - build-node: ubuntu1804-builder-4c-4g + pattern: 'test/http-https-proxy/.*' + build-node: ubuntu1804-docker-4c-4g + # Includes verify and merge jobs jobs: - - gerrit-maven-verify - - gerrit-maven-merge - - gerrit-maven-stage - - gerrit-maven-clm + - "{project-name}-gerrit-docker-jobs" stream: - master: branch: master - - cherry: - branch: cherry - - dawn: - branch: dawn -# nonrtric:enrichment-coordinator-service -# Maven artifacts for nonrtric-enrichment-coordinator-service - project: <<: *nonrtric_jdk_common - name: nonrtric-enrichment-coordinator-service + name: nonrtric-test-cr project-name: '{name}' - mvn-opts: '-Ddocker.skip=true' - mvn-params: '-f enrichment-coordinator-service' + # image name + docker-name: 'cr' + # get tag from YAML + container-tag-method: yaml-file + # use host network to clone from our gerrit + docker-build-args: '--network=host' + # Directory with Dockerfile + docker-root: 'test/cr' + # use host network to clone from our gerrit + docker-build-args: '--network=host' + # Directory where go test should be run + # Limit build trigger to appropriate files gerrit_trigger_file_paths: - compare-type: REG_EXP - pattern: 'enrichment-coordinator-service/.*' - build-node: ubuntu1804-builder-4c-4g + pattern: 'test/cr/.*' + build-node: ubuntu1804-docker-4c-4g + # Includes verify and merge jobs jobs: - - gerrit-maven-verify - - gerrit-maven-merge - - gerrit-maven-stage - - gerrit-maven-clm + - "{project-name}-gerrit-docker-jobs" stream: - master: branch: master - - cherry: - branch: cherry - - dawn: - branch: dawn -# nonrtric:r-app-catalogue -# Maven artifacts for r-app-catalogue - project: <<: *nonrtric_jdk_common - name: nonrtric-r-app-catalogue + name: nonrtric-test-prodstub project-name: '{name}' - mvn-opts: '-Ddocker.skip=true' - mvn-params: '-f r-app-catalogue' + # image name + docker-name: 'prodstub' + # get tag from YAML + container-tag-method: yaml-file + # use host network to clone from our gerrit + docker-build-args: '--network=host' + # Directory with Dockerfile + docker-root: 'test/prodstub' + # use host network to clone from our gerrit + docker-build-args: '--network=host' + # Directory where go test should be run + # Limit build trigger to appropriate files gerrit_trigger_file_paths: - compare-type: REG_EXP - pattern: 'r-app-catalogue/.*' - build-node: ubuntu1804-builder-4c-4g + pattern: 'test/prodstub/.*' + build-node: ubuntu1804-docker-4c-4g + # Includes verify and merge jobs jobs: - - gerrit-maven-verify - - gerrit-maven-merge - - gerrit-maven-stage - - gerrit-maven-clm + - "{project-name}-gerrit-docker-jobs" stream: - master: branch: master - - cherry: - branch: cherry - - dawn: - branch: dawn - project: <<: *nonrtric_jdk_common - name: nonrtric-o-ru-closed-loop-recovery + name: nonrtric-test-mrstub project-name: '{name}' # image name - docker-name: 'o-ran-sc/nonrtric-o-ru-closed-loop-recovery' + docker-name: 'mrstub' # get tag from YAML container-tag-method: yaml-file # use host network to clone from our gerrit docker-build-args: '--network=host' # Directory with Dockerfile - docker-root: 'test/usecases/oruclosedlooprecovery/scriptversion/app' + docker-root: 'test/mrstub' + # use host network to clone from our gerrit + docker-build-args: '--network=host' + # Directory where go test should be run # Limit build trigger to appropriate files gerrit_trigger_file_paths: - compare-type: REG_EXP - pattern: 'test/usecases/oruclosedlooprecovery/scriptversion/app/.*' + pattern: 'test/mrstub/.*' build-node: ubuntu1804-docker-4c-4g # Includes verify and merge jobs jobs: @@ -162,62 +158,54 @@ stream: - master: branch: master - - dawn: - branch: dawn - project: <<: *nonrtric_jdk_common - name: nonrtric-dmaap-mediator-producer + name: nonrtric-plt-auth-token-fetch project-name: '{name}' # image name - docker-name: 'o-ran-sc/nonrtric-dmaap-mediator-producer' + docker-name: 'o-ran-sc/nonrtric-plt-auth-token-fetch' # get tag from YAML container-tag-method: yaml-file # use host network to clone from our gerrit docker-build-args: '--network=host' # Directory with Dockerfile - docker-root: 'dmaap-mediator-producer' + docker-root: 'auth-token-fetch' + # use host network to clone from our gerrit + docker-build-args: '--network=host' + # Directory where go test should be run + go-root: 'auth-token-fetch' # Limit build trigger to appropriate files gerrit_trigger_file_paths: - compare-type: REG_EXP - pattern: 'dmaap-mediator-producer/.*' + pattern: 'auth-token-fetch/.*' build-node: ubuntu1804-docker-4c-4g # Includes verify and merge jobs jobs: - "{project-name}-gerrit-docker-jobs" + - gerrit-go-verify stream: - master: branch: master + - f-release: + java-version: openjdk11 + branch: f-release + - g-release: + java-version: openjdk11 + branch: g-release - project: <<: *nonrtric_jdk_common - name: nonrtric-dmaap-mediator-producer-sonar - project-name: '{name}' + name: nonrtric-plt-auth-token-fetch-sonar + project-name: nonrtric-plt-auth-token-fetch # prescan script requires ubuntu # golang is only on docker-enabled nodes build-node: ubuntu1804-docker-4c-4g - sonar-prescan-script: !include-raw-escape: prescan-dmaapmediatorproducer-ubuntu.sh + sonar-prescan-script: !include-raw-escape: prescan-nonrtric-auth-token-fetch-ubuntu.sh sonar-project-file: "" java-version: openjdk11 # use sonarcloud values from defaults.yaml - sonar-properties: | - # Required metadata - sonar.login={sonarcloud_api_token} - sonar.projectKey={sonarcloud_project_organization}_{project-name} - sonar.projectName={project-name} - sonar.organization={sonarcloud_project_organization} - # Encoding - sonar.build.sourceEncoding=UTF-8 - # Language - sonar.language=go - # Source - sonar.sources=. - # Unit tests - sonar.go.coverage.reportPaths=dmaap-mediator-producer/coverage.txt - # Inclusions - sonar.inclusions=dmaap-mediator-producer/internal/**/**.go - # Exclusions - sonar.exclusions=dmaap-mediator-producer/main.go,dmaap-mediator-producer/mocks/**.go,dmaap-mediator-producer/internal/**/**_test.go + sonar-properties: !include-raw: sonar-project.properties jobs: - gerrit-sonar-prescan-script @@ -229,16 +217,3 @@ build-node: centos7-docker-2c-8g jobs: - '{project-name}-gerrit-release-jobs' - -- project: - <<: *nonrtric_jdk_common - name: nonrtric-sonar - project-name: '{name}' - # template goal install builds docker image unnecessarily - mvn-params: '-Ddocker.skip=true' - sonarcloud: true - sonarcloud-api-token: '{sonarcloud_api_token}' - sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' - sonarcloud-project-organization: '{sonarcloud_project_organization}' - jobs: - - gerrit-maven-sonar