X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fnonrtric%2Fnonrtric.yaml;h=827dbdb13b228b90d94e8b091b24aa00a48db8aa;hb=641ac9c3cb4ee512eccec9c228bb819e0a743025;hp=ff7e8ff71ada8a0e24d6d62928cbe04d79ac197c;hpb=223c60c5688bd67a9629f7a548a9c9c8ef6841b3;p=ci-management.git diff --git a/jjb/nonrtric/nonrtric.yaml b/jjb/nonrtric/nonrtric.yaml index ff7e8ff7..b54e6ac3 100644 --- a/jjb/nonrtric/nonrtric.yaml +++ b/jjb/nonrtric/nonrtric.yaml @@ -9,6 +9,211 @@ name: nonrtric-info project: nonrtric project-name: nonrtric - branch: master + build-node: centos7-builder-1c-1g jobs: - gerrit-info-yaml-verify + +- nonrtric_jdk_common: &nonrtric_jdk_common + name: nonrtric-jdk-common + # git repo + project: nonrtric + # jenkins job name prefix + project-name: nonrtric + # maven settings file has docker credentials + mvn-settings: nonrtric-settings + mvn-version: mvn36 + java-version: openjdk17 + +- project: + <<: *nonrtric_jdk_common + name: nonrtric-test-kafka-procon + project-name: '{name}' + # 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: 'test/kafka-procon/.*' + build-node: ubuntu1804-docker-4c-4g + # Includes verify and merge jobs + jobs: + - "{project-name}-gerrit-docker-jobs" + stream: + - master: + branch: master + +- project: + <<: *nonrtric_jdk_common + name: nonrtric-test-http-https-proxy + project-name: '{name}' + # 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: 'test/http-https-proxy/.*' + build-node: ubuntu1804-docker-4c-4g + # Includes verify and merge jobs + jobs: + - "{project-name}-gerrit-docker-jobs" + stream: + - master: + branch: master + +- project: + <<: *nonrtric_jdk_common + name: nonrtric-test-cr + project-name: '{name}' + # 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: 'test/cr/.*' + build-node: ubuntu1804-docker-4c-4g + # Includes verify and merge jobs + jobs: + - "{project-name}-gerrit-docker-jobs" + stream: + - master: + branch: master + +- project: + <<: *nonrtric_jdk_common + name: nonrtric-test-prodstub + project-name: '{name}' + # 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: 'test/prodstub/.*' + build-node: ubuntu1804-docker-4c-4g + # Includes verify and merge jobs + jobs: + - "{project-name}-gerrit-docker-jobs" + stream: + - master: + branch: master + +- project: + <<: *nonrtric_jdk_common + name: nonrtric-test-mrstub + project-name: '{name}' + # image name + 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/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/mrstub/.*' + build-node: ubuntu1804-docker-4c-4g + # Includes verify and merge jobs + jobs: + - "{project-name}-gerrit-docker-jobs" + stream: + - master: + branch: master + +- project: + <<: *nonrtric_jdk_common + name: nonrtric-plt-auth-token-fetch + project-name: '{name}' + # image name + 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: '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: '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-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-nonrtric-auth-token-fetch-ubuntu.sh + sonar-project-file: "" + java-version: openjdk11 + # use sonarcloud values from defaults.yaml + sonar-properties: !include-raw: sonar-project.properties + jobs: + - gerrit-sonar-prescan-script + +- project: + <<: *nonrtric_jdk_common + name: nonrtric-release + # maven release requires sigul which requires centos + # container release requires docker + build-node: centos7-docker-2c-8g + jobs: + - '{project-name}-gerrit-release-jobs'