13443c8c1f26484d50f905552a954876158586d5
[ci-management.git] / jjb / it-otf / it-otf.yaml
1 ---
2 - project:
3     name: it-otf-project-view
4     project-name: it-otf
5     views:
6       - project-view
7
8 - project:
9     name: it-otf-info
10     project: it/otf
11     project-name: it-otf
12     build-node: centos7-builder-1c-1g
13     jobs:
14       - gerrit-info-yaml-verify
15
16 - _it_otf_common: &it_otf_common # values apply to all it/otf docker projects
17     name: it_otf_common
18     # git repo
19     project: it/otf
20     # jenkins job name prefix
21     project-name: "{name}"
22     # source of docker tag
23     container-tag-method: yaml-file
24     # maven settings file has docker credentials
25     mvn-settings: it-otf-settings
26     # image name
27     docker-name: "o-ran-sc/{name}"
28     # dockerfile is in subdir of docker root
29     docker-build-args: "--network=host -f ./docker/Dockerfile"
30     # tag file is in subdir
31     container-tag-yaml-dir: "{docker-root}/docker"
32     # build only on relevant changes
33     gerrit_trigger_file_paths:
34       - compare-type: REG_EXP
35         pattern: "{docker-root}/.*"
36     jobs:
37       - "{project-name}-gerrit-docker-jobs"
38     stream:
39       - master:
40           branch: master
41
42 - project:
43     <<: *it_otf_common
44     name: it-otf-oran-ric-test-head
45     # start in parent directory with shared files
46     docker-root: oran-ric-test-head
47     # dockerfile is in subdir of docker root
48     docker-build-args: "--network=host"
49     # tag file is in subdir
50     container-tag-yaml-dir: "{docker-root}"
51
52 - project:
53     <<: *it_otf_common
54     name: it-otf-frontend
55     # start in parent directory with shared files
56     docker-root: otf-frontend
57     # dockerfile is in subdir of docker root
58     docker-build-args: "--network=host"
59     # tag file is in subdir
60     container-tag-yaml-dir: "{docker-root}"
61
62 - project:
63     <<: *it_otf_common
64     name: it-otf-ping-test-head
65     # start in parent directory with shared files
66     docker-root: otf-ping-test-head
67     # dockerfile is in subdir of docker root
68     docker-build-args: "--network=host"
69     # tag file is in subdir
70     container-tag-yaml-dir: "{docker-root}"
71
72 - project:
73     <<: *it_otf_common
74     name: it-otf-robot-test-head
75     # start in parent directory with shared files
76     docker-root: otf-robot-test-head
77     # dockerfile is in subdir of docker root
78     docker-build-args: "--network=host"
79     # tag file is in subdir
80     container-tag-yaml-dir: "{docker-root}"
81
82 - project:
83     <<: *it_otf_common
84     name: it-otf-ssh-test-head
85     # start in parent directory with shared files
86     docker-root: otf-ssh-test-head
87     # dockerfile is in subdir of docker root
88     docker-build-args: "--network=host"
89     # tag file is in subdir
90     container-tag-yaml-dir: "{docker-root}"
91
92 - project:
93     <<: *it_otf_common
94     name: it-otf-camunda
95     # start in parent directory with shared files
96     docker-root: otf-camunda
97
98 - project:
99     <<: *it_otf_common
100     name: it-otf-service-api
101     # start in parent directory with shared files
102     docker-root: otf-service-api
103
104 - project:
105     <<: *it_otf_common
106     name: it-otf-smo-o1-vth
107     # start in parent directory with shared files
108     docker-root: smo-o1-vth
109
110 - project:
111     <<: *it_otf_common
112     name: it-otf-dmaap-vth
113     # start in parent directory with shared files
114     docker-root: dmaap-vth
115
116 - project:
117     <<: *it_otf_common
118     name: it-otf-a1-mediator-vth
119     # start in parent directory with shared files
120     docker-root: a1-mediator-vth
121
122 - project:
123     <<: *it_otf_common
124     name: it-otf-a1-sdnc-vth
125     # start in parent directory with shared files
126     docker-root: a1-sdnc-vth
127
128 - project:
129     <<: *it_otf_common
130     name: it-otf-a1-policy-manager-vth
131     # start in parent directory with shared files
132     docker-root: a1-policy-manager-vth
133
134 - project:
135     name: it-otf-release
136     project: it/otf
137     # jenkins job name prefix
138     project-name: it-otf
139     # source of docker tag
140     container-tag-method: yaml-file
141     # maven settings file has docker credentials
142     mvn-settings: it-otf-settings
143     # maven release requires sigul which requires centos
144     # container release requires docker
145     build-node: centos7-docker-2c-8g
146     jobs:
147       - "{project-name}-gerrit-release-jobs"