blob: 5ff17478a844d5b7f035372082805d24f96a2008 [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
16- pti_o2_common: &pti_o2_common
17 # 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
26- pti_o2_python: &pti_o2_python
27 # 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
Bin Yangeda7ba72021-10-22 15:00:15 +080050- pti_o2_docker: &pti_o2_docker_common
51 <<: *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'