blob: c6981c1acf2800da4b0bfacdaf47626af22b3ff5 [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
Lott, Christopher (cl778h)8c8d7172019-07-23 13:55:19 -040021 # source of docker tag
22 container-tag-method: yaml-file
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040023 # use host network to clone from our gerrit
24 docker-build-args: '--network=host'
25 # maven settings file has docker credentials
26 mvn-settings: it-test-settings
27 jobs:
28 - '{project-name}-gerrit-docker-jobs'
Lott, Christopher (cl778h)8c8d7172019-07-23 13:55:19 -040029 stream:
30 - master:
31 branch: master
32
33- project:
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040034 <<: *it_test_common
Lott, Christopher (cl778h)8c8d7172019-07-23 13:55:19 -040035 name: it-test-nanobot
Lott, Christopher (cl778h)8c8d7172019-07-23 13:55:19 -040036 # jenkins job name prefix
37 project-name: '{name}'
38 # image name
39 docker-name: '{name}'
Lott, Christopher (cl778h)04e1b922019-07-26 13:00:19 -040040 # start in parent directory with shared files
41 docker-root: ric_robot_suite
42 # dockerfile is in subdir of docker root
Lott, Christopher (cl778h)2fd3a3e2019-09-06 10:34:46 -040043 docker-build-args: '--network=host -f docker/nanobot/Dockerfile'
Lott, Christopher (cl778h)04e1b922019-07-26 13:00:19 -040044 # tag file is in subdir
45 container-tag-yaml-dir: ric_robot_suite/docker/nanobot
Lott, Christopher (cl778h)04e1b922019-07-26 13:00:19 -040046 # build only on relevant changes
47 gerrit_trigger_file_paths:
48 - compare-type: REG_EXP
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040049 pattern: '{docker-root}/.*'
Lott, Christopher (cl778h)8c8d7172019-07-23 13:55:19 -040050
51- project:
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040052 <<: *it_test_common
Lott, Christopher (cl778h)8c8d7172019-07-23 13:55:19 -040053 name: it-test-ric-robot
Lott, Christopher (cl778h)8c8d7172019-07-23 13:55:19 -040054 # jenkins job name prefix
55 project-name: '{name}'
56 # image name
57 docker-name: '{name}'
Lott, Christopher (cl778h)04e1b922019-07-26 13:00:19 -040058 # start in parent directory with shared files
59 docker-root: ric_robot_suite
60 # dockerfile is in subdir of docker root
Lott, Christopher (cl778h)2fd3a3e2019-09-06 10:34:46 -040061 docker-build-args: '--network=host -f docker/ric-robot/Dockerfile'
Lott, Christopher (cl778h)04e1b922019-07-26 13:00:19 -040062 # tag file is in subdir
63 container-tag-yaml-dir: ric_robot_suite/docker/ric-robot
Lott, Christopher (cl778h)04e1b922019-07-26 13:00:19 -040064 # build only on relevant changes
65 gerrit_trigger_file_paths:
66 - compare-type: REG_EXP
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040067 pattern: '{docker-root}/.*'