X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fsim-a1-interface%2Fsim-a1-interface.yaml;fp=jjb%2Fsim-a1-interface%2Fsim-a1-interface.yaml;h=f8391e00f3b0fb64061d2020440444f5b62c5188;hb=228db909d5561b1b5409f86958af5542e45503cb;hp=b4e3dfdd18145e95681667e481f0815ba0bdbab3;hpb=d6b2f6b43972fc6e8aba8dcb5ff50ca0c52ca2c4;p=ci-management.git diff --git a/jjb/sim-a1-interface/sim-a1-interface.yaml b/jjb/sim-a1-interface/sim-a1-interface.yaml index b4e3dfdd..f8391e00 100644 --- a/jjb/sim-a1-interface/sim-a1-interface.yaml +++ b/jjb/sim-a1-interface/sim-a1-interface.yaml @@ -1,4 +1,10 @@ --- +- project: + name: sim-a1-interface-project-view + project-name: sim-a1-interface + views: + - project-view + - project: name: sim-a1-interface-info project: sim/a1-interface @@ -6,3 +12,58 @@ build-node: centos7-builder-1c-1g jobs: - gerrit-info-yaml-verify + +- sim_a1_interface_common: &sim_a1_interface_common + # values apply to all projects here + name: sim-a1-interface-common + # git repo + project: sim/a1-interface + # jenkins job name prefix + project-name: sim-a1-interface + # maven settings file has docker credentials + mvn-settings: sim-a1-interface-settings + +- project: + <<: *sim_a1_interface_common + name: a1-simulator + # image name + docker-name: 'o-ran-sc/{name}' + # source of docker tag + container-tag-method: yaml-file + # use tag yaml from subdirectory + container-tag-yaml-dir: near-rt-ric-simulator/scripts + # use host network + docker-build-args: '-f near-rt-ric-simulator/scripts/Dockerfile --network=host' + build-node: ubuntu1804-docker-4c-4g + stream: + - master: + branch: master + jobs: + - '{project-name}-gerrit-docker-jobs' + +- project: + <<: *sim_a1_interface_common + name: sim-a1-interface-sonarqube + python-version: python3 + build-node: ubuntu1804-builder-2c-2g + sonar-project-file: "" + sonar-properties: | + sonar.login={sonarcloud_api_token} + sonar.projectKey={sonarcloud_project_organization}_{project-name} + sonar.projectName={project-name} + sonar.organization={sonarcloud_project_organization} + sonar.build.sourceEncoding=UTF-8 + sonar.sources=near-rt-ric-simulator + sonar.python.coverage.reportPaths=coverage.xml + jobs: + - gerrit-tox-sonarqube + + +- project: + <<: *sim_a1_interface_common + name: sim-a1-interface-release + # maven release requires sigul which requires centos + # container release requires docker + build-node: centos7-docker-2c-8g + jobs: + - '{project-name}-gerrit-release-jobs' \ No newline at end of file