blob: e77a07b5fb6fe04effa00bb01dfea4988bf43887 [file] [log] [blame]
LF Jenkins CIfb465f62021-10-14 13:32:45 +00001---
2- project:
3 name: pti-o2-project-view
4 project-name: pti-o2
5 views:
6 - project-view
7
8- project:
9 name: pti-o2-info
10 project: pti/o2
11 project-name: pti-o2
12 build-node: centos7-builder-1c-1g
13 jobs:
14 - gerrit-info-yaml-verify
Bin Yangd818ab22021-10-22 13:50:26 +080015
Anil Belur4e0d56a2023-04-18 11:49:03 +100016- _pti_o2_common: &pti_o2_common
Bin Yangd818ab22021-10-22 13:50:26 +080017 # values apply to all pti/o2 projects
18 name: pti-o2-common
19 # git repo
20 project: pti/o2
21 # jenkins job name prefix
22 project-name: pti-o2
23 # maven settings file has credentials
24 mvn-settings: pti-o2-settings
25
Anil Belur4e0d56a2023-04-18 11:49:03 +100026- _pti_o2_python: &pti_o2_python
Bin Yangd818ab22021-10-22 13:50:26 +080027 # settings for python builds
28 name: pti-o2-python
29 # the install script assumes an ubuntu image
30 build-node: ubuntu1804-builder-2c-2g
31 # impt for verify and tox etc
32 python-version: python3
33 # no need to verify docs
34 tox-envs: code,flake8
35
36- project:
37 <<: *pti_o2_common
38 <<: *pti_o2_python
39 name: pti-o2-imsdms-verify
40 # do not trigger on changes in docs, releases
41 gerrit_trigger_file_paths:
42 - compare-type: REG_EXP
43 pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
44 jobs:
45 - gerrit-tox-verify
46 stream:
47 - master:
48 branch: master
Bin Yang00b84112021-10-22 13:58:26 +080049
Anil Belur4e0d56a2023-04-18 11:49:03 +100050- _pti_o2_docker: &pti_o2_docker_common
Bin Yangeda7ba72021-10-22 15:00:15 +080051 <<: *pti_o2_common
52 # values apply to all pti/o2 docker projects
53 # maven settings file has docker credentials
54 docker-name: 'o-ran-sc/pti-o2imsdms'
55 docker-build-args: '--network=host -f Dockerfile'
56 # source of docker tag
57 container-tag-method: yaml-file
58 # docker-root: src
59 # if no container-tag-yaml-dir is defined, container-tag.yml is taken from the docker-root
Bin Yang1e8c1d52021-12-21 11:05:13 +080060 container-tag-yaml-dir: stages
Bin Yangeda7ba72021-10-22 15:00:15 +080061 build-node: ubuntu1804-docker-4c-4g
62 stream:
63 - master:
64 branch: master
65
66- project:
67 <<: *pti_o2_docker_common
Bin Yang1e8c1d52021-12-21 11:05:13 +080068 name: pti-o2-imsdms
69 # do not trigger on changes in docs, releases
70 gerrit_trigger_file_paths:
71 - compare-type: REG_EXP
72 pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
Bin Yangeda7ba72021-10-22 15:00:15 +080073 jobs:
Bin Yang1e8c1d52021-12-21 11:05:13 +080074 - '{project-name}-gerrit-docker-jobs'
75 stream:
76 - master:
77 branch: master
Bin Yangeda7ba72021-10-22 15:00:15 +080078
79- project:
80 <<: *pti_o2_docker_common
81 name: pti-o2-imsdms-release
82 # maven release requires sigul which requires centos
83 # container release requires docker
84 build-node: centos7-docker-2c-8g
Bin Yang1e8c1d52021-12-21 11:05:13 +080085 container-tag-yaml-dir: releases
Bin Yangeda7ba72021-10-22 15:00:15 +080086 gerrit_trigger_file_paths:
87 - compare-type: REG_EXP
Bin Yang1e8c1d52021-12-21 11:05:13 +080088 pattern: 'releases\/.*\.yaml'
Bin Yangeda7ba72021-10-22 15:00:15 +080089 jobs:
90 - '{project-name}-gerrit-release-jobs'
Zhang Rong(Jon)e1d47af2022-07-03 16:28:10 +080091
92- project:
93 <<: *pti_o2_docker_common
94 name: pti-o2-nexus-iq
95 build-node: centos7-builder-1c-1g
96 nexus-iq-namespace: oran-
97 jobs:
98 - gerrit-tox-nexus-iq-clm