Add jobs to build integration test Docker images
[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     # subdirectory
43     docker-root: 'ric_robot_suite/docker/nanobot'
44     # maven settings file has docker credentials
45     mvn-settings: it-test-settings
46     jobs:
47       - '{project-name}-gerrit-docker-jobs'
48     <<: *it_test_common
49
50 - project:
51     name: it-test-ric-robot
52     # git repo
53     project: it/test
54     # jenkins job name prefix
55     project-name: '{name}'
56     # image name
57     docker-name: '{name}'
58     # subdirectory
59     docker-root: 'ric_robot_suite/docker/ric-robot'
60     # maven settings file has docker credentials
61     mvn-settings: it-test-settings
62     jobs:
63       - '{project-name}-gerrit-docker-jobs'
64     <<: *it_test_common