X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fpti-o2%2Fpti-o2.yaml;h=d5b43a4ac77852d63ccf1f3ccdb5f2ac3ac1fd8c;hb=bbebabca91199730908998b57d5a82a697b2ed7a;hp=ea3d9f6edd99d690d012c41256bc9b9374c04432;hpb=00b84117b8783f117d835ead755b004e216e238a;p=ci-management.git diff --git a/jjb/pti-o2/pti-o2.yaml b/jjb/pti-o2/pti-o2.yaml index ea3d9f6e..d5b43a4a 100644 --- a/jjb/pti-o2/pti-o2.yaml +++ b/jjb/pti-o2/pti-o2.yaml @@ -47,18 +47,52 @@ - master: branch: master -- project: +- pti_o2_docker: &pti_o2_docker_common <<: *pti_o2_common - <<: *pti_o2_python - name: pti-o2-imsdms-sonarqube - 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=src - sonar.python.coverage.reportPaths=coverage.xml + # values apply to all pti/o2 docker projects + # maven settings file has docker credentials + docker-name: 'o-ran-sc/pti-o2imsdms' + docker-build-args: '--network=host -f Dockerfile' + # source of docker tag + container-tag-method: yaml-file + # docker-root: src + # if no container-tag-yaml-dir is defined, container-tag.yml is taken from the docker-root + container-tag-yaml-dir: stages + build-node: ubuntu1804-docker-4c-4g + stream: + - master: + branch: master + +- project: + <<: *pti_o2_docker_common + name: pti-o2-imsdms + # do not trigger on changes in docs, releases + gerrit_trigger_file_paths: + - compare-type: REG_EXP + pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$' + jobs: + - '{project-name}-gerrit-docker-jobs' + stream: + - master: + branch: master + +- project: + <<: *pti_o2_docker_common + name: pti-o2-imsdms-release + # maven release requires sigul which requires centos + # container release requires docker + build-node: centos7-docker-2c-8g + container-tag-yaml-dir: releases + gerrit_trigger_file_paths: + - compare-type: REG_EXP + pattern: 'releases\/.*\.yaml' + jobs: + - '{project-name}-gerrit-release-jobs' + +- project: + <<: *pti_o2_docker_common + name: pti-o2-nexus-iq + build-node: centos7-builder-1c-1g + nexus-iq-namespace: oran- jobs: - - gerrit-tox-sonarqube + - gerrit-tox-nexus-iq-clm