X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=jjb%2Faiml-fw-athp-data-extraction%2Faiml-fw-athp-data-extraction.yaml;h=4714a148e5fc57cd0e3cae5c3ad5cb601d7b7c41;hb=refs%2Fheads%2Fmaster;hp=b59f2942c2c6c78b4c0fea121ee1b61f043de1e3;hpb=f0b8d8adda5786f5124c282063a25e316631c466;p=ci-management.git diff --git a/jjb/aiml-fw-athp-data-extraction/aiml-fw-athp-data-extraction.yaml b/jjb/aiml-fw-athp-data-extraction/aiml-fw-athp-data-extraction.yaml index b59f2942..38cbe4c4 100644 --- a/jjb/aiml-fw-athp-data-extraction/aiml-fw-athp-data-extraction.yaml +++ b/jjb/aiml-fw-athp-data-extraction/aiml-fw-athp-data-extraction.yaml @@ -5,11 +5,63 @@ views: - project-view -- project: - name: aiml-fw-athp-data-extraction-info +- _aiml_de_docker_common: + &aiml_de_docker_common # values apply to all training manager projects + name: aiml-fw-athp-data-extraction-docker-common + # git repo project: aiml-fw/athp/data-extraction + # jenkins job name prefix project-name: aiml-fw-athp-data-extraction - build-node: centos7-builder-1c-1g - branch: master + # maven settings file has docker credentials + mvn-settings: aiml-fw-athp-data-extraction-settings + +- project: + <<: *aiml_de_docker_common + name: aiml-fw-athp-data-extraction-release + # maven release requires sigul which requires centos + # container release requires docker + build-node: centos7-docker-2c-8g + jobs: + - "{project-name}-gerrit-release-jobs" + +- project: + <<: *aiml_de_docker_common + name: aiml-fw-athp-data-extraction-docker + project-name: "{name}" + # image name + docker-name: "o-ran-sc/{name}" + # Dockerfile is in a subdir + docker-root: "." + # source of docker tag + # dockerfile is in subdir of docker root + docker-build-args: "--network=host" + container-tag-method: yaml-file + build-node: ubuntu1804-docker-4c-4g + jobs: + - "{project-name}-gerrit-docker-jobs" + stream: + - master: + branch: master + +- project: + <<: *aiml_de_docker_common + name: aiml-fw-athp-data-extraction-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: "dataextraction/.*" + 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=dataextraction + sonar.python.coverage.reportPaths=coverage.xml jobs: - - gerrit-info-yaml-verify \ No newline at end of file + - gerrit-tox-sonarqube