blob: 419b832e80536940a28e1df1def0bececd85b0f8 [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
Anil Belur439502c2023-05-07 12:39:38 +10008- _pti_o2_common: &pti_o2_common # values apply to all pti/o2 projects
Bin Yangd818ab22021-10-22 13:50:26 +08009 name: pti-o2-common
10 # git repo
11 project: pti/o2
12 # jenkins job name prefix
13 project-name: pti-o2
14 # maven settings file has credentials
15 mvn-settings: pti-o2-settings
16
Anil Belur439502c2023-05-07 12:39:38 +100017- _pti_o2_python: &pti_o2_python # settings for python builds
Bin Yangd818ab22021-10-22 13:50:26 +080018 name: pti-o2-python
19 # the install script assumes an ubuntu image
20 build-node: ubuntu1804-builder-2c-2g
21 # impt for verify and tox etc
22 python-version: python3
23 # no need to verify docs
24 tox-envs: code,flake8
25
26- project:
27 <<: *pti_o2_common
28 <<: *pti_o2_python
29 name: pti-o2-imsdms-verify
30 # do not trigger on changes in docs, releases
31 gerrit_trigger_file_paths:
Anil Belur439502c2023-05-07 12:39:38 +100032 - compare-type: REG_EXP
33 pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
Bin Yangd818ab22021-10-22 13:50:26 +080034 jobs:
35 - gerrit-tox-verify
36 stream:
37 - master:
38 branch: master
Bin Yang00b84112021-10-22 13:58:26 +080039
Anil Belur4e0d56a2023-04-18 11:49:03 +100040- _pti_o2_docker: &pti_o2_docker_common
Bin Yangeda7ba72021-10-22 15:00:15 +080041 <<: *pti_o2_common
42 # values apply to all pti/o2 docker projects
43 # maven settings file has docker credentials
Anil Belur439502c2023-05-07 12:39:38 +100044 docker-name: "o-ran-sc/pti-o2imsdms"
45 docker-build-args: "--network=host -f Dockerfile"
Bin Yangeda7ba72021-10-22 15:00:15 +080046 # source of docker tag
47 container-tag-method: yaml-file
48 # docker-root: src
49 # if no container-tag-yaml-dir is defined, container-tag.yml is taken from the docker-root
Bin Yang1e8c1d52021-12-21 11:05:13 +080050 container-tag-yaml-dir: stages
Bin Yangeda7ba72021-10-22 15:00:15 +080051 build-node: ubuntu1804-docker-4c-4g
52 stream:
53 - master:
54 branch: master
55
56- project:
57 <<: *pti_o2_docker_common
Bin Yang1e8c1d52021-12-21 11:05:13 +080058 name: pti-o2-imsdms
59 # do not trigger on changes in docs, releases
60 gerrit_trigger_file_paths:
Anil Belur439502c2023-05-07 12:39:38 +100061 - compare-type: REG_EXP
62 pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
Bin Yangeda7ba72021-10-22 15:00:15 +080063 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100064 - "{project-name}-gerrit-docker-jobs"
Bin Yang1e8c1d52021-12-21 11:05:13 +080065 stream:
66 - master:
67 branch: master
Bin Yangeda7ba72021-10-22 15:00:15 +080068
69- project:
70 <<: *pti_o2_docker_common
71 name: pti-o2-imsdms-release
72 # maven release requires sigul which requires centos
73 # container release requires docker
74 build-node: centos7-docker-2c-8g
Bin Yang1e8c1d52021-12-21 11:05:13 +080075 container-tag-yaml-dir: releases
Bin Yangeda7ba72021-10-22 15:00:15 +080076 gerrit_trigger_file_paths:
77 - compare-type: REG_EXP
Bin Yang1e8c1d52021-12-21 11:05:13 +080078 pattern: 'releases\/.*\.yaml'
Bin Yangeda7ba72021-10-22 15:00:15 +080079 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100080 - "{project-name}-gerrit-release-jobs"
Zhang Rong(Jon)e1d47af2022-07-03 16:28:10 +080081
82- project:
83 <<: *pti_o2_docker_common
84 name: pti-o2-nexus-iq
85 build-node: centos7-builder-1c-1g
86 nexus-iq-namespace: oran-
87 jobs:
88 - gerrit-tox-nexus-iq-clm