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 | |
| 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 Yang | d818ab2 | 2021-10-22 13:50:26 +0800 | [diff] [blame] | 15 | |
| 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 Yang | 00b8411 | 2021-10-22 13:58:26 +0800 | [diff] [blame] | 49 | |
Bin Yang | eda7ba7 | 2021-10-22 15:00:15 +0800 | [diff] [blame] | 50 | - 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 Yang | 1e8c1d5 | 2021-12-21 11:05:13 +0800 | [diff] [blame] | 60 | container-tag-yaml-dir: stages |
Bin Yang | eda7ba7 | 2021-10-22 15:00:15 +0800 | [diff] [blame] | 61 | build-node: ubuntu1804-docker-4c-4g |
| 62 | stream: |
| 63 | - master: |
| 64 | branch: master |
| 65 | |
| 66 | - project: |
| 67 | <<: *pti_o2_docker_common |
Bin Yang | 1e8c1d5 | 2021-12-21 11:05:13 +0800 | [diff] [blame] | 68 | 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 Yang | eda7ba7 | 2021-10-22 15:00:15 +0800 | [diff] [blame] | 73 | jobs: |
Bin Yang | 1e8c1d5 | 2021-12-21 11:05:13 +0800 | [diff] [blame] | 74 | - '{project-name}-gerrit-docker-jobs' |
| 75 | stream: |
| 76 | - master: |
| 77 | branch: master |
Bin Yang | eda7ba7 | 2021-10-22 15:00:15 +0800 | [diff] [blame] | 78 | |
| 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 Yang | 1e8c1d5 | 2021-12-21 11:05:13 +0800 | [diff] [blame] | 85 | container-tag-yaml-dir: releases |
Bin Yang | eda7ba7 | 2021-10-22 15:00:15 +0800 | [diff] [blame] | 86 | gerrit_trigger_file_paths: |
| 87 | - compare-type: REG_EXP |
Bin Yang | 1e8c1d5 | 2021-12-21 11:05:13 +0800 | [diff] [blame] | 88 | pattern: 'releases\/.*\.yaml' |
Bin Yang | eda7ba7 | 2021-10-22 15:00:15 +0800 | [diff] [blame] | 89 | jobs: |
| 90 | - '{project-name}-gerrit-release-jobs' |