491fcee569d46916180e383612b9eb916fbdbab9
[ci-management.git] / jjb / it-test / it-test.yaml
1 ---
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
17     # values apply to all RIC docker-build projects.
18     # use a specific name to prevent reuse attempts
19     # bcos anchors don't cross document boundaries.
20     name: it-test-docker-common
21     build-node: ubuntu1804-docker-4c-4g
22     # pull from the public mirror + releases registry
23     container-public-registry: nexus3.o-ran-sc.org:10001
24     # push to the staging repo bcos all builds are RCs
25     container-push-registry: nexus3.o-ran-sc.org:10004
26     # use host network to clone from our gerrit
27     docker-build-args: '--network=host'
28     # source of docker tag
29     container-tag-method: yaml-file
30     stream:
31       - master:
32           branch: master
33
34 - project:
35     name: it-test-nanobot
36     # git repo
37     project: it/test
38     # jenkins job name prefix
39     project-name: '{name}'
40     # image name
41     docker-name: '{name}'
42     # start in parent directory with shared files
43     docker-root: ric_robot_suite
44     # dockerfile is in subdir of docker root
45     docker-build-args: -f docker/nanobot/Dockerfile
46     # tag file is in subdir
47     container-tag-yaml-dir: ric_robot_suite/docker/nanobot
48     # maven settings file has docker credentials
49     mvn-settings: it-test-settings
50     # build only on relevant changes
51     gerrit_trigger_file_paths:
52       - compare-type: REG_EXP
53         pattern: 'ric_robot_suite/.*'
54     jobs:
55       - '{project-name}-gerrit-docker-jobs'
56     <<: *it_test_common
57
58 - project:
59     name: it-test-ric-robot
60     # git repo
61     project: it/test
62     # jenkins job name prefix
63     project-name: '{name}'
64     # image name
65     docker-name: '{name}'
66     # start in parent directory with shared files
67     docker-root: ric_robot_suite
68     # dockerfile is in subdir of docker root
69     docker-build-args: -f docker/ric-robot/Dockerfile
70     # tag file is in subdir
71     container-tag-yaml-dir: ric_robot_suite/docker/ric-robot
72     # maven settings file has docker credentials
73     mvn-settings: it-test-settings
74     # build only on relevant changes
75     gerrit_trigger_file_paths:
76       - compare-type: REG_EXP
77         pattern: 'ric_robot_suite/.*'
78     jobs:
79       - '{project-name}-gerrit-docker-jobs'
80     <<: *it_test_common