3 name: aiml-fw-awmf-tm-project-view
4 project-name: aiml-fw-awmf-tm
8 - _aiml_tm_docker_common:
9 &aiml_tm_docker_common # values apply to all training manager projects
10 name: aiml-fw-awmf-tm-docker-common
12 project: aiml-fw/awmf/tm
13 # jenkins job name prefix
14 project-name: aiml-fw-awmf-tm
15 # maven settings file has docker credentials
16 mvn-settings: aiml-fw-awmf-tm-settings
19 <<: *aiml_tm_docker_common
20 name: aiml-fw-awmf-tm-release
21 # maven release requires sigul which requires centos
22 # container release requires docker
23 build-node: centos7-docker-2c-8g
25 - "{project-name}-gerrit-release-jobs"
28 <<: *aiml_tm_docker_common
29 name: aiml-fw-awmf-tm-docker
30 project-name: "{name}"
32 docker-name: "o-ran-sc/{name}"
33 # Dockerfile is in a subdir
35 # source of docker tag
36 # dockerfile is in subdir of docker root
37 docker-build-args: "--network=host"
38 container-tag-method: yaml-file
39 build-node: ubuntu1804-docker-4c-4g
41 - "{project-name}-gerrit-docker-jobs"
46 <<: *aiml_tm_docker_common
47 name: aiml-fw-awmf-tm-tox-verify
48 # the install script assumes an ubuntu image
49 build-node: ubuntu1804-builder-2c-2g
50 python-version: python3
54 # do not trigger on changes in docs, releases
55 gerrit_trigger_file_paths:
56 - compare-type: REG_EXP
57 pattern: "trainingmgr/.*"
59 # run verify on all branches
60 # the ANT pattern is **/{branch}, we are exploiting that.
67 <<: *aiml_tm_docker_common
68 name: aiml-fw-awmf-tm-sonarqube
69 python-version: python3
71 # the install script assumes an ubuntu image
72 build-node: ubuntu1804-builder-2c-2g
73 # do not trigger on changes in docs, releases
74 gerrit_trigger_file_paths:
75 - compare-type: REG_EXP
76 pattern: "trainingmgr/.*"
77 sonar-project-file: ""
79 sonar.login={sonarcloud_api_token}
80 sonar.projectKey={sonarcloud_project_organization}_{project-name}
81 sonar.projectName={project-name}
82 sonar.organization={sonarcloud_project_organization}
83 sonar.build.sourceEncoding=UTF-8
84 sonar.sources=trainingmgr
85 sonar.python.coverage.reportPaths=coverage.xml
87 - gerrit-tox-sonarqube