LF Jenkins CI | fb465f6 | 2021-10-14 13:32:45 +0000 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: pti-o2-project-view |
| 4 | project-name: pti-o2 |
| 5 | views: |
| 6 | - project-view |
| 7 | |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 8 | - _pti_o2_common: &pti_o2_common # values apply to all pti/o2 projects |
Bin Yang | d818ab2 | 2021-10-22 13:50:26 +0800 | [diff] [blame] | 9 | 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 Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 17 | - _pti_o2_python: &pti_o2_python # settings for python builds |
Bin Yang | d818ab2 | 2021-10-22 13:50:26 +0800 | [diff] [blame] | 18 | 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 Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 32 | - compare-type: REG_EXP |
| 33 | pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$' |
Bin Yang | d818ab2 | 2021-10-22 13:50:26 +0800 | [diff] [blame] | 34 | jobs: |
| 35 | - gerrit-tox-verify |
| 36 | stream: |
| 37 | - master: |
| 38 | branch: master |
Bin Yang | 00b8411 | 2021-10-22 13:58:26 +0800 | [diff] [blame] | 39 | |
Anil Belur | 4e0d56a | 2023-04-18 11:49:03 +1000 | [diff] [blame] | 40 | - _pti_o2_docker: &pti_o2_docker_common |
Bin Yang | eda7ba7 | 2021-10-22 15:00:15 +0800 | [diff] [blame] | 41 | <<: *pti_o2_common |
| 42 | # values apply to all pti/o2 docker projects |
| 43 | # maven settings file has docker credentials |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 44 | docker-name: "o-ran-sc/pti-o2imsdms" |
| 45 | docker-build-args: "--network=host -f Dockerfile" |
Bin Yang | eda7ba7 | 2021-10-22 15:00:15 +0800 | [diff] [blame] | 46 | # 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 Yang | 1e8c1d5 | 2021-12-21 11:05:13 +0800 | [diff] [blame] | 50 | container-tag-yaml-dir: stages |
Bin Yang | eda7ba7 | 2021-10-22 15:00:15 +0800 | [diff] [blame] | 51 | build-node: ubuntu1804-docker-4c-4g |
| 52 | stream: |
| 53 | - master: |
| 54 | branch: master |
| 55 | |
| 56 | - project: |
| 57 | <<: *pti_o2_docker_common |
Bin Yang | 1e8c1d5 | 2021-12-21 11:05:13 +0800 | [diff] [blame] | 58 | name: pti-o2-imsdms |
| 59 | # do not trigger on changes in docs, releases |
| 60 | gerrit_trigger_file_paths: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 61 | - compare-type: REG_EXP |
| 62 | pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$' |
Bin Yang | eda7ba7 | 2021-10-22 15:00:15 +0800 | [diff] [blame] | 63 | jobs: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 64 | - "{project-name}-gerrit-docker-jobs" |
Bin Yang | 1e8c1d5 | 2021-12-21 11:05:13 +0800 | [diff] [blame] | 65 | stream: |
| 66 | - master: |
| 67 | branch: master |
Bin Yang | eda7ba7 | 2021-10-22 15:00:15 +0800 | [diff] [blame] | 68 | |
| 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 Yang | 1e8c1d5 | 2021-12-21 11:05:13 +0800 | [diff] [blame] | 75 | container-tag-yaml-dir: releases |
Bin Yang | eda7ba7 | 2021-10-22 15:00:15 +0800 | [diff] [blame] | 76 | gerrit_trigger_file_paths: |
| 77 | - compare-type: REG_EXP |
Bin Yang | 1e8c1d5 | 2021-12-21 11:05:13 +0800 | [diff] [blame] | 78 | pattern: 'releases\/.*\.yaml' |
Bin Yang | eda7ba7 | 2021-10-22 15:00:15 +0800 | [diff] [blame] | 79 | jobs: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 80 | - "{project-name}-gerrit-release-jobs" |
Zhang Rong(Jon) | e1d47af | 2022-07-03 16:28:10 +0800 | [diff] [blame] | 81 | |
| 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 |