blob: d7580414946a160a066955aa0089ac9a890ce484 [file] [log] [blame]
lf-jobbuilderf8531bf2022-09-19 11:38:50 +00001---
2- project:
3 name: aiml-fw-athp-data-extraction-project-view
4 project-name: aiml-fw-athp-data-extraction
5 views:
6 - project-view
7
8- project:
9 name: aiml-fw-athp-data-extraction-info
10 project: aiml-fw/athp/data-extraction
11 project-name: aiml-fw-athp-data-extraction
12 build-node: centos7-builder-1c-1g
13 branch: master
14 jobs:
SANDEEP KUMAR JAISAWAL5a8739d2022-11-17 13:46:41 +053015 - gerrit-info-yaml-verify
16
Anil Belur4e0d56a2023-04-18 11:49:03 +100017- _aiml_de_docker_common: &aiml_de_docker_common
SANDEEP KUMAR JAISAWAL5a8739d2022-11-17 13:46:41 +053018 # values apply to all training manager projects
19 name: aiml-fw-athp-data-extraction-docker-common
20 # git repo
21 project: aiml-fw/athp/data-extraction
22 # jenkins job name prefix
23 project-name: aiml-fw-athp-data-extraction
24 # maven settings file has docker credentials
25 mvn-settings: aiml-fw-athp-data-extraction-settings
26
27- project:
28 <<: *aiml_de_docker_common
29 name: aiml-fw-athp-data-extraction-release
30 # 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_de_docker_common
38 name: aiml-fw-athp-data-extraction-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
Anil Belur4e0d56a2023-04-18 11:49:03 +100054
ashishj1729b80a0272022-12-06 14:37:15 +053055- project:
56 <<: *aiml_de_docker_common
57 name: aiml-fw-athp-data-extraction-tox-verify
58 # the install script assumes an ubuntu image
59 build-node: ubuntu1804-builder-2c-2g
60 python-version: python3
61 # skip docs on verify
62 tox-envs: code
63 tox-dir: '.'
64 # do not trigger on changes in docs, releases
65 gerrit_trigger_file_paths:
66 - compare-type: REG_EXP
67 pattern: 'dataextraction/.*'
68 stream:
69 # run verify on all branches
70 # the ANT pattern is **/{branch}, we are exploiting that.
71 - all:
72 branch: master
73 jobs:
74 - gerrit-tox-verify
75
76- project:
77 <<: *aiml_de_docker_common
78 name: aiml-fw-athp-data-extraction-sonarqube
79 python-version: python3
80 tox-dir: '.'
81 # the install script assumes an ubuntu image
82 build-node: ubuntu1804-builder-2c-2g
83 # do not trigger on changes in docs, releases
84 gerrit_trigger_file_paths:
85 - compare-type: REG_EXP
86 pattern: 'dataextraction/.*'
87 sonar-project-file: ""
88 sonar-properties: |
89 sonar.login={sonarcloud_api_token}
90 sonar.projectKey={sonarcloud_project_organization}_{project-name}
91 sonar.projectName={project-name}
92 sonar.organization={sonarcloud_project_organization}
93 sonar.build.sourceEncoding=UTF-8
94 sonar.sources=dataextraction
95 sonar.python.coverage.reportPaths=coverage.xml
96 jobs:
97 - gerrit-tox-sonarqube