blob: 8c604e73bf7d0a88c2781e2442c42beffd2d6a5e [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 Belur439502c2023-05-07 12:39:38 +100017- _aiml_tm_docker_common:
18 &aiml_tm_docker_common # values apply to all training manager projects
SANDEEP KUMAR JAISAWAL907ed202022-11-07 15:44:52 +053019 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:
Anil Belur439502c2023-05-07 12:39:38 +100034 - "{project-name}-gerrit-release-jobs"
SANDEEP KUMAR JAISAWAL907ed202022-11-07 15:44:52 +053035
36- project:
37 <<: *aiml_tm_docker_common
38 name: aiml-fw-awmf-tm-docker
Anil Belur439502c2023-05-07 12:39:38 +100039 project-name: "{name}"
SANDEEP KUMAR JAISAWAL907ed202022-11-07 15:44:52 +053040 # image name
Anil Belur439502c2023-05-07 12:39:38 +100041 docker-name: "o-ran-sc/{name}"
SANDEEP KUMAR JAISAWAL907ed202022-11-07 15:44:52 +053042 # Dockerfile is in a subdir
Anil Belur439502c2023-05-07 12:39:38 +100043 docker-root: "."
SANDEEP KUMAR JAISAWAL907ed202022-11-07 15:44:52 +053044 # source of docker tag
45 # dockerfile is in subdir of docker root
Anil Belur439502c2023-05-07 12:39:38 +100046 docker-build-args: "--network=host"
SANDEEP KUMAR JAISAWAL907ed202022-11-07 15:44:52 +053047 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
Anil Belur439502c2023-05-07 12:39:38 +100062 tox-dir: "."
SANDEEP KUMAR JAISAWAL548264f2022-11-21 19:32:49 +053063 # do not trigger on changes in docs, releases
64 gerrit_trigger_file_paths:
65 - compare-type: REG_EXP
Anil Belur439502c2023-05-07 12:39:38 +100066 pattern: "trainingmgr/.*"
SANDEEP KUMAR JAISAWAL548264f2022-11-21 19:32:49 +053067 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
Anil Belur439502c2023-05-07 12:39:38 +100079 tox-dir: "."
SANDEEP KUMAR JAISAWAL548264f2022-11-21 19:32:49 +053080 # 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
Anil Belur439502c2023-05-07 12:39:38 +100085 pattern: "trainingmgr/.*"
SANDEEP KUMAR JAISAWAL548264f2022-11-21 19:32:49 +053086 sonar-project-file: ""
87 sonar-properties: |
Anil Belur439502c2023-05-07 12:39:38 +100088 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
93 sonar.sources=trainingmgr
94 sonar.python.coverage.reportPaths=coverage.xml
SANDEEP KUMAR JAISAWAL548264f2022-11-21 19:32:49 +053095 jobs:
96 - gerrit-tox-sonarqube