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