blob: adf8900521b84601aad12f4d74ee02ac529255c8 [file] [log] [blame]
lf-jobbuilder85d34602022-10-03 17:07:40 +00001---
2- project:
3 name: aiml-fw-awmf-tm-project-view
4 project-name: aiml-fw-awmf-tm
5 views:
6 - project-view
7
8- project:
9 name: aiml-fw-awmf-tm-info
10 project: aiml-fw/awmf/tm
11 project-name: aiml-fw-awmf-tm
12 build-node: centos7-builder-1c-1g
13 branch: master
14 jobs:
SANDEEP KUMAR JAISAWAL907ed202022-11-07 15:44:52 +053015 - gerrit-info-yaml-verify
16
Anil Belur4e0d56a2023-04-18 11:49:03 +100017- _aiml_tm_docker_common: &aiml_tm_docker_common
SANDEEP KUMAR JAISAWAL907ed202022-11-07 15:44:52 +053018 # values apply to all training manager projects
19 name: aiml-fw-awmf-tm-docker-common
20 # git repo
21 project: aiml-fw/awmf/tm
22 # jenkins job name prefix
23 project-name: aiml-fw-awmf-tm
24 # maven settings file has docker credentials
25 mvn-settings: aiml-fw-awmf-tm-settings
26
27- project:
28 <<: *aiml_tm_docker_common
SANDEEP KUMAR JAISAWAL5a8739d2022-11-17 13:46:41 +053029 name: aiml-fw-awmf-tm-release
SANDEEP KUMAR JAISAWAL907ed202022-11-07 15:44:52 +053030 # maven release requires sigul which requires centos
31 # container release requires docker
32 build-node: centos7-docker-2c-8g
33 jobs:
34 - '{project-name}-gerrit-release-jobs'
35
36- project:
37 <<: *aiml_tm_docker_common
38 name: aiml-fw-awmf-tm-docker
39 project-name: '{name}'
40 # image name
41 docker-name: 'o-ran-sc/{name}'
42 # Dockerfile is in a subdir
43 docker-root: '.'
44 # source of docker tag
45 # dockerfile is in subdir of docker root
46 docker-build-args: '--network=host'
47 container-tag-method: yaml-file
48 build-node: ubuntu1804-docker-4c-4g
49 jobs:
50 - "{project-name}-gerrit-docker-jobs"
51 stream:
52 - master:
53 branch: master
SANDEEP KUMAR JAISAWAL548264f2022-11-21 19:32:49 +053054- project:
55 <<: *aiml_tm_docker_common
56 name: aiml-fw-awmf-tm-tox-verify
57 # the install script assumes an ubuntu image
58 build-node: ubuntu1804-builder-2c-2g
59 python-version: python3
60 # skip docs on verify
61 tox-envs: code
62 tox-dir: '.'
63 # do not trigger on changes in docs, releases
64 gerrit_trigger_file_paths:
65 - compare-type: REG_EXP
66 pattern: 'trainingmgr/.*'
67 stream:
68 # run verify on all branches
69 # the ANT pattern is **/{branch}, we are exploiting that.
70 - all:
71 branch: master
72 jobs:
73 - gerrit-tox-verify
74
75- project:
76 <<: *aiml_tm_docker_common
77 name: aiml-fw-awmf-tm-sonarqube
78 python-version: python3
79 tox-dir: '.'
80 # the install script assumes an ubuntu image
81 build-node: ubuntu1804-builder-2c-2g
82 # do not trigger on changes in docs, releases
83 gerrit_trigger_file_paths:
84 - compare-type: REG_EXP
85 pattern: 'trainingmgr/.*'
86 sonar-project-file: ""
87 sonar-properties: |
88 sonar.login={sonarcloud_api_token}
89 sonar.projectKey={sonarcloud_project_organization}_{project-name}
90 sonar.projectName={project-name}
91 sonar.organization={sonarcloud_project_organization}
92 sonar.build.sourceEncoding=UTF-8
SANDEEP KUMAR JAISAWALfc1cda32022-12-01 17:17:49 +053093 sonar.sources=trainingmgr
94 sonar.python.coverage.reportPaths=coverage.xml
SANDEEP KUMAR JAISAWAL548264f2022-11-21 19:32:49 +053095 jobs:
96 - gerrit-tox-sonarqube