blob: 4d9fa57160ad44a30f9ac0ad8f5f45f1510733f3 [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
16- it_test_common: &it_test_common
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040017 # values apply to all it/test docker projects
Lott, Christopher (cl778h)8c8d7172019-07-23 13:55:19 -040018 name: it-test-docker-common
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040019 # git repo
20 project: it/test
wriderce1967e2019-11-19 00:37:10 -050021 # jenkins job name prefix
22 project-name: it-test
Lott, Christopher (cl778h)8c8d7172019-07-23 13:55:19 -040023 # source of docker tag
24 container-tag-method: yaml-file
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040025 # use host network to clone from our gerrit
26 docker-build-args: '--network=host'
27 # maven settings file has docker credentials
28 mvn-settings: it-test-settings
29 jobs:
30 - '{project-name}-gerrit-docker-jobs'
Lott, Christopher (cl778h)8c8d7172019-07-23 13:55:19 -040031 stream:
32 - master:
33 branch: master
34
35- project:
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040036 <<: *it_test_common
Lott, Christopher (cl778h)8c8d7172019-07-23 13:55:19 -040037 name: it-test-nanobot
Lott, Christopher (cl778h)8c8d7172019-07-23 13:55:19 -040038 # jenkins job name prefix
39 project-name: '{name}'
40 # image name
wriderce1967e2019-11-19 00:37:10 -050041 docker-name: 'o-ran-sc/{name}'
Lott, Christopher (cl778h)04e1b922019-07-26 13:00:19 -040042 # start in parent directory with shared files
43 docker-root: ric_robot_suite
44 # dockerfile is in subdir of docker root
Lott, Christopher (cl778h)2fd3a3e2019-09-06 10:34:46 -040045 docker-build-args: '--network=host -f docker/nanobot/Dockerfile'
Lott, Christopher (cl778h)04e1b922019-07-26 13:00:19 -040046 # tag file is in subdir
47 container-tag-yaml-dir: ric_robot_suite/docker/nanobot
Lott, Christopher (cl778h)04e1b922019-07-26 13:00:19 -040048 # build only on relevant changes
49 gerrit_trigger_file_paths:
50 - compare-type: REG_EXP
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040051 pattern: '{docker-root}/.*'
Lott, Christopher (cl778h)8c8d7172019-07-23 13:55:19 -040052
53- project:
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040054 <<: *it_test_common
Lott, Christopher (cl778h)8c8d7172019-07-23 13:55:19 -040055 name: it-test-ric-robot
Lott, Christopher (cl778h)8c8d7172019-07-23 13:55:19 -040056 # jenkins job name prefix
57 project-name: '{name}'
58 # image name
wriderce1967e2019-11-19 00:37:10 -050059 docker-name: 'o-ran-sc/{name}'
Lott, Christopher (cl778h)04e1b922019-07-26 13:00:19 -040060 # start in parent directory with shared files
61 docker-root: ric_robot_suite
62 # dockerfile is in subdir of docker root
Lott, Christopher (cl778h)2fd3a3e2019-09-06 10:34:46 -040063 docker-build-args: '--network=host -f docker/ric-robot/Dockerfile'
Lott, Christopher (cl778h)04e1b922019-07-26 13:00:19 -040064 # tag file is in subdir
65 container-tag-yaml-dir: ric_robot_suite/docker/ric-robot
Lott, Christopher (cl778h)04e1b922019-07-26 13:00:19 -040066 # build only on relevant changes
67 gerrit_trigger_file_paths:
68 - compare-type: REG_EXP
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040069 pattern: '{docker-root}/.*'
wriderce1967e2019-11-19 00:37:10 -050070
71- project:
72 <<: *it_test_common
73 name: it-test-release
wriderce1967e2019-11-19 00:37:10 -050074 # maven release requires sigul which requires centos
75 # container release requires docker
76 build-node: centos7-docker-2c-8g
77 jobs:
Lott, Christopher (cl778h)be959962020-06-30 06:22:27 -040078 - '{project-name}-gerrit-release-jobs'