X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=jjb%2Faiml-fw-athp-tps-kubeflow-adapter%2Faiml-fw-athp-tps-kubeflow-adapter.yaml;h=2429c4c8dabed3fe38ba6f108272a533449cc352;hb=refs%2Fheads%2Fmaster;hp=8eeddda395bca0411e0dc7c6264c94421c219f82;hpb=5a8739dc2ad72b7ec65fbd78cbb4eb6ea0ef37d6;p=ci-management.git diff --git a/jjb/aiml-fw-athp-tps-kubeflow-adapter/aiml-fw-athp-tps-kubeflow-adapter.yaml b/jjb/aiml-fw-athp-tps-kubeflow-adapter/aiml-fw-athp-tps-kubeflow-adapter.yaml index 8eeddda3..7d21fdf4 100644 --- a/jjb/aiml-fw-athp-tps-kubeflow-adapter/aiml-fw-athp-tps-kubeflow-adapter.yaml +++ b/jjb/aiml-fw-athp-tps-kubeflow-adapter/aiml-fw-athp-tps-kubeflow-adapter.yaml @@ -5,17 +5,8 @@ views: - project-view -- project: - name: aiml-fw-athp-tps-kubeflow-adapter-info - project: aiml-fw/athp/tps/kubeflow-adapter - project-name: aiml-fw-athp-tps-kubeflow-adapter - build-node: centos7-builder-1c-1g - branch: master - jobs: - - gerrit-info-yaml-verify - -- aiml_kfc_docker_common: &aiml_kfc_docker_common - # values apply to all training manager projects +- _aiml_kfc_docker_common: + &aiml_kfc_docker_common # values apply to all training manager projects name: aiml-fw-athp-tps-kubeflow-adapter-docker-common # git repo project: aiml-fw/athp/tps/kubeflow-adapter @@ -31,19 +22,19 @@ # container release requires docker build-node: centos7-docker-2c-8g jobs: - - '{project-name}-gerrit-release-jobs' + - "{project-name}-gerrit-release-jobs" - project: <<: *aiml_kfc_docker_common name: aiml-fw-athp-tps-kubeflow-adapter-docker - project-name: '{name}' + project-name: "{name}" # image name - docker-name: 'o-ran-sc/{name}' + docker-name: "o-ran-sc/{name}" # Dockerfile is in a subdir - docker-root: '.' + docker-root: "." # source of docker tag # dockerfile is in subdir of docker root - docker-build-args: '--network=host' + docker-build-args: "--network=host" container-tag-method: yaml-file build-node: ubuntu1804-docker-4c-4g jobs: @@ -51,3 +42,26 @@ stream: - master: branch: master + +- project: + <<: *aiml_kfc_docker_common + name: aiml-fw-athp-tps-kubeflow-adapter-sonarqube + python-version: python3 + tox-dir: "." + # the install script assumes an ubuntu image + build-node: ubuntu1804-builder-2c-2g + # do not trigger on changes in docs, releases + gerrit_trigger_file_paths: + - compare-type: REG_EXP + pattern: "kfadapter/.*" + 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=kfadapter + sonar.python.coverage.reportPaths=coverage.xml + jobs: + - gerrit-tox-sonarqube