blob: 17c4854b9c964a38a88883fb0e547c065ec3794b [file] [log] [blame]
Lott, Christopher (cl778h)8c8d7172019-07-23 13:55:19 -04001---
2- project:
3 name: it-test-project-view
4 project-name: it-test
5 views:
6 - project-view
7
8- project:
9 name: it-test-info
10 project: it/test
11 project-name: it-test
12 build-node: centos7-builder-1c-1g
13 jobs:
14 - gerrit-info-yaml-verify
15
Anil Belur439502c2023-05-07 12:39:38 +100016- _it_test_common: &it_test_common # values apply to all it/test docker projects
Lott, Christopher (cl778h)8c8d7172019-07-23 13:55:19 -040017 name: it-test-docker-common
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040018 # git repo
19 project: it/test
wriderce1967e2019-11-19 00:37:10 -050020 # jenkins job name prefix
21 project-name: it-test
Lott, Christopher (cl778h)8c8d7172019-07-23 13:55:19 -040022 # source of docker tag
23 container-tag-method: yaml-file
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040024 # use host network to clone from our gerrit
Anil Belur439502c2023-05-07 12:39:38 +100025 docker-build-args: "--network=host"
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040026 # maven settings file has docker credentials
27 mvn-settings: it-test-settings
28 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100029 - "{project-name}-gerrit-docker-jobs"
Lott, Christopher (cl778h)8c8d7172019-07-23 13:55:19 -040030 stream:
31 - master:
32 branch: master
33
34- project:
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040035 <<: *it_test_common
Lott, Christopher (cl778h)8c8d7172019-07-23 13:55:19 -040036 name: it-test-nanobot
Lott, Christopher (cl778h)8c8d7172019-07-23 13:55:19 -040037 # jenkins job name prefix
Anil Belur439502c2023-05-07 12:39:38 +100038 project-name: "{name}"
Lott, Christopher (cl778h)8c8d7172019-07-23 13:55:19 -040039 # image name
Anil Belur439502c2023-05-07 12:39:38 +100040 docker-name: "o-ran-sc/{name}"
Lott, Christopher (cl778h)04e1b922019-07-26 13:00:19 -040041 # start in parent directory with shared files
42 docker-root: ric_robot_suite
43 # dockerfile is in subdir of docker root
Anil Belur439502c2023-05-07 12:39:38 +100044 docker-build-args: "--network=host -f docker/nanobot/Dockerfile"
Lott, Christopher (cl778h)04e1b922019-07-26 13:00:19 -040045 # tag file is in subdir
46 container-tag-yaml-dir: ric_robot_suite/docker/nanobot
Lott, Christopher (cl778h)04e1b922019-07-26 13:00:19 -040047 # build only on relevant changes
48 gerrit_trigger_file_paths:
49 - compare-type: REG_EXP
Anil Belur439502c2023-05-07 12:39:38 +100050 pattern: "{docker-root}/.*"
Lott, Christopher (cl778h)8c8d7172019-07-23 13:55:19 -040051
52- project:
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040053 <<: *it_test_common
Lott, Christopher (cl778h)8c8d7172019-07-23 13:55:19 -040054 name: it-test-ric-robot
Lott, Christopher (cl778h)8c8d7172019-07-23 13:55:19 -040055 # jenkins job name prefix
Anil Belur439502c2023-05-07 12:39:38 +100056 project-name: "{name}"
Lott, Christopher (cl778h)8c8d7172019-07-23 13:55:19 -040057 # image name
Anil Belur439502c2023-05-07 12:39:38 +100058 docker-name: "o-ran-sc/{name}"
Lott, Christopher (cl778h)04e1b922019-07-26 13:00:19 -040059 # start in parent directory with shared files
60 docker-root: ric_robot_suite
61 # dockerfile is in subdir of docker root
Anil Belur439502c2023-05-07 12:39:38 +100062 docker-build-args: "--network=host -f docker/ric-robot/Dockerfile"
Lott, Christopher (cl778h)04e1b922019-07-26 13:00:19 -040063 # tag file is in subdir
64 container-tag-yaml-dir: ric_robot_suite/docker/ric-robot
Lott, Christopher (cl778h)04e1b922019-07-26 13:00:19 -040065 # build only on relevant changes
66 gerrit_trigger_file_paths:
67 - compare-type: REG_EXP
Anil Belur439502c2023-05-07 12:39:38 +100068 pattern: "{docker-root}/.*"
wriderce1967e2019-11-19 00:37:10 -050069
70- project:
71 <<: *it_test_common
Anil Belurcd6d39a2022-05-10 07:40:19 +100072 name: it-test-ric-benchmarking
73 # jenkins job name prefix
Anil Belur439502c2023-05-07 12:39:38 +100074 project-name: "{name}"
Anil Belurcd6d39a2022-05-10 07:40:19 +100075 # image name
Anil Belur439502c2023-05-07 12:39:38 +100076 docker-name: "o-ran-sc/{name}"
Anil Belurcd6d39a2022-05-10 07:40:19 +100077 # start in parent directory with shared files
Anil Belur439502c2023-05-07 12:39:38 +100078 docker-root: ric_benchmarking/e2-interface/e2sim/e2sm_examples/kpm_e2sm
Anil Belurcd6d39a2022-05-10 07:40:19 +100079 # dockerfile is in subdir of docker root
Anil Belur439502c2023-05-07 12:39:38 +100080 docker-build-args: "--network=host -f Dockerfile"
Anil Belurcd6d39a2022-05-10 07:40:19 +100081 # tag file is in subdir
82 container-tag-yaml-dir: ric_benchmarking/e2-interface/e2sim/docker
83 # build only on relevant changes
84 gerrit_trigger_file_paths:
85 - compare-type: REG_EXP
Anil Belur439502c2023-05-07 12:39:38 +100086 pattern: "ric_benchmarking/e2-interface/.*"
Anil Belura7fbd142023-05-04 18:10:44 +100087 - compare-type: REG_EXP
88 pattern: "test_scripts/O2IMS_Compliance_Test/.*"
Anil Belurcd6d39a2022-05-10 07:40:19 +100089
90- project:
91 <<: *it_test_common
wriderce1967e2019-11-19 00:37:10 -050092 name: it-test-release
wriderce1967e2019-11-19 00:37:10 -050093 # maven release requires sigul which requires centos
94 # container release requires docker
95 build-node: centos7-docker-2c-8g
96 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100097 - "{project-name}-gerrit-release-jobs"