blob: c497f9284717d9e844c354aa0cff3743a20e82af [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 Belur439502c2023-05-07 12:39:38 +100017- _aiml_de_docker_common:
18 &aiml_de_docker_common # values apply to all training manager projects
SANDEEP KUMAR JAISAWAL5a8739d2022-11-17 13:46:41 +053019 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:
Anil Belur439502c2023-05-07 12:39:38 +100034 - "{project-name}-gerrit-release-jobs"
SANDEEP KUMAR JAISAWAL5a8739d2022-11-17 13:46:41 +053035
36- project:
37 <<: *aiml_de_docker_common
38 name: aiml-fw-athp-data-extraction-docker
Anil Belur439502c2023-05-07 12:39:38 +100039 project-name: "{name}"
SANDEEP KUMAR JAISAWAL5a8739d2022-11-17 13:46:41 +053040 # image name
Anil Belur439502c2023-05-07 12:39:38 +100041 docker-name: "o-ran-sc/{name}"
SANDEEP KUMAR JAISAWAL5a8739d2022-11-17 13:46:41 +053042 # Dockerfile is in a subdir
Anil Belur439502c2023-05-07 12:39:38 +100043 docker-root: "."
SANDEEP KUMAR JAISAWAL5a8739d2022-11-17 13:46:41 +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 JAISAWAL5a8739d2022-11-17 13:46:41 +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
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
Anil Belur439502c2023-05-07 12:39:38 +100063 tox-dir: "."
ashishj1729b80a0272022-12-06 14:37:15 +053064 # do not trigger on changes in docs, releases
65 gerrit_trigger_file_paths:
66 - compare-type: REG_EXP
Anil Belur439502c2023-05-07 12:39:38 +100067 pattern: "dataextraction/.*"
ashishj1729b80a0272022-12-06 14:37:15 +053068 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
Anil Belur439502c2023-05-07 12:39:38 +100080 tox-dir: "."
ashishj1729b80a0272022-12-06 14:37:15 +053081 # 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
Anil Belur439502c2023-05-07 12:39:38 +100086 pattern: "dataextraction/.*"
ashishj1729b80a0272022-12-06 14:37:15 +053087 sonar-project-file: ""
88 sonar-properties: |
Anil Belur439502c2023-05-07 12:39:38 +100089 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
ashishj1729b80a0272022-12-06 14:37:15 +053096 jobs:
97 - gerrit-tox-sonarqube