X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fric-plt-vespamgr%2Fric-plt-vespamgr.yaml;h=52f957d34af5c508d617468d5d1fa5ba8f2367ab;hb=c46bfa0b1a490006a53fde49610c8f909d1e1d4f;hp=df44cf9d9eba7b06a5e5b7d66e0d33572733983a;hpb=e626801d08afec3c448ca8f7fd23e626b15bad10;p=ci-management.git diff --git a/jjb/ric-plt-vespamgr/ric-plt-vespamgr.yaml b/jjb/ric-plt-vespamgr/ric-plt-vespamgr.yaml index df44cf9d..52f957d3 100644 --- a/jjb/ric-plt-vespamgr/ric-plt-vespamgr.yaml +++ b/jjb/ric-plt-vespamgr/ric-plt-vespamgr.yaml @@ -13,8 +13,8 @@ jobs: - gerrit-info-yaml-verify -- vespamgr_docker_common: &vespamgr_docker_common - # values apply to all vespamgr docker projects +- _vespamgr_docker_common: + &vespamgr_docker_common # values apply to all vespamgr docker projects name: vespamgr-docker-common # git repo project: ric-plt/vespamgr @@ -27,13 +27,51 @@ <<: *vespamgr_docker_common name: ric-plt-vespamgr # image name - docker-name: '{name}' + docker-name: "o-ran-sc/{name}" # source of docker tag container-tag-method: yaml-file # use host network - docker-build-args: '--network=host' + docker-build-args: "--network=host" jobs: - - '{project-name}-gerrit-docker-jobs' + - "{project-name}-gerrit-docker-jobs" stream: - master: branch: master +- project: + <<: *vespamgr_docker_common + name: ric-plt-vespamgr-go-sonarqube + # docker-enabled nodes have golang + # build script needs ubuntu + build-node: ubuntu1804-docker-4c-4g + sonar-prescan-script: !include-raw-escape: prescan-ric-plt-vespamgr-ubuntu.sh + sonar-project-file: "" + # 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=**/cover.out + # Inclusions + sonar.inclusions=**/*.go + # Exclusions + sonar.exclusions=**/*_test.go + jobs: + - gerrit-sonar-prescan-script + +- project: + <<: *vespamgr_docker_common + name: ric-plt-vespamgr-release + # maven release requires sigul which requires centos + # container release requires docker + build-node: centos7-docker-2c-8g + jobs: + - "{project-name}-gerrit-release-jobs"