blob: cf2947c1f02e85a9b393272e1c152f8abb716916 [file] [log] [blame]
Hung-Wei Chiud27e33b2020-09-03 12:05:41 -07001---
2# TOST deployment tasks
3
4- project:
5 name: deploy-menlo-tost-dev
6 rancher_context: "c-lggdr"
7 rancher_project: "p-2nd5q"
8 k8s_config: "tost-dev-k8s"
9 config_env: "menlo-tost-dev"
10 jobs:
11 - "deploy"
12 - "deploy-onos"
13 - "deploy-stratum"
14 - "deploy-telegraf"
15 - "deploy-fluentbit":
16 rancher_project: "p -npzjd"
17
18- project:
19 name: deploy-menlo-tost-prod2
20 rancher_context: "c-5cfd8"
21 rancher_project: "p-54glz"
22 k8s_config: "tost-prod-k8s"
23 config_env: "menlo-prd"
24 rancher_server: "https://aether.onlab.us/"
25 rancher_api: "rancher_prod_token"
26 jobs:
27 - "deploy-onos"
28 - "deploy-stratum"
29 - "deploy-telegraf"
30 - "deploy-fluentbit":
31 rancher_project: "p-7kx2z"
32
33- job-template:
34 name: "{name}-onos"
35 id: "deploy-onos"
36
37 rancher_server: "https://testing.aether.onlab.us/"
38 rancher_api: "rancher_dev_token"
39 git_server: "gerrit.opencord.org"
40 git_user: "aether_jenkins"
41 git_repo: "aether-pod-configs"
42 registry_server: "registry.aetherproject.org"
43 registry_user: "admin"
44
45 disabled: true
46 pipeline-script: "tost-deploy-onos.groovy"
47 project-type: pipeline
48 dsl: !include-raw-escape: pipeline/{pipeline-script}
49 parameters:
50 - string:
51 name: rancher_server
52 default: "{rancher_server}"
53 - string:
54 name: rancher_context
55 default: "{rancher_context}"
56 - string:
57 name: rancher_project
58 default: "{rancher_project}"
59 - string:
60 name: rancher_api_env
61 default: "{rancher_api}"
62 - string:
63 name: git_repo
64 default: "{git_repo}"
65 - string:
66 name: git_server
67 default: "{git_server}"
68 - string:
69 name: git_user
70 default: "{git_user}"
71 - string:
72 name: git_password_env
73 default: "gerrit_password"
74 - string:
75 name: onos_catalog_name
76 default: "onos"
77 - string:
78 name: onos_ns
79 default: "onos-tost"
80 - string:
81 name: onos_user
82 default: "onos"
83 - string:
84 name: onos_password
85 default: "onos_password"
86 - string:
87 name: registry_server
88 default: "{registry_server}"
89 - string:
90 name: registry_user
91 default: "{registry_user}"
92 - string:
93 name: registry_password_env
94 default: "aether_registry_password"
95 - string:
96 name: config_review
97 - string:
98 name: config_patchset
99 - string:
100 name: config_env
101 default: "{config_env}"
102 - string:
103 name: k8s_config
104 default: "{k8s_config}"
105
106- job-template:
107 name: "{name}-stratum"
108 id: "deploy-stratum"
109
110 rancher_server: "https://testing.aether.onlab.us/"
111 rancher_api: "rancher_dev_token"
112 git_server: "gerrit.opencord.org"
113 git_user: "aether_jenkins"
114 git_repo: "aether-pod-configs"
115 registry_server: "registry.aetherproject.org"
116 registry_user: "admin"
117
118 disabled: true
119 pipeline-script: "tost-deploy-stratum.groovy"
120 project-type: pipeline
121 dsl: !include-raw-escape: pipeline/{pipeline-script}
122 parameters:
123 - string:
124 name: rancher_server
125 default: "{rancher_server}"
126 - string:
127 name: rancher_context
128 default: "{rancher_context}"
129 - string:
130 name: rancher_project
131 default: "{rancher_project}"
132 - string:
133 name: rancher_api_env
134 default: "{rancher_api}"
135 - string:
136 name: git_repo
137 default: "{git_repo}"
138 - string:
139 name: git_server
140 default: "{git_server}"
141 - string:
142 name: git_user
143 default: "{git_user}"
144 - string:
145 name: git_password_env
146 default: "gerrit_password"
147 - string:
148 name: stratum_ns
149 default: "stratum"
150 - string:
151 name: stratum_catalog_name
152 default: "stratum"
153 - string:
154 name: registry_server
155 default: "{registry_server}"
156 - string:
157 name: registry_user
158 default: "{registry_user}"
159 - string:
160 name: registry_password_env
161 default: "aether_registry_password"
162 - string:
163 name: config_review
164 - string:
165 name: config_patchset
166 - string:
167 name: config_env
168 default: "{config_env}"
169 - string:
170 name: k8s_config
171 default: "{k8s_config}"
172
173- job-template:
174 name: "{name}-telegraf"
175 id: "deploy-telegraf"
176
177 rancher_server: "https://testing.aether.onlab.us/"
178 rancher_api: "rancher_dev_token"
179 git_server: "gerrit.opencord.org"
180 git_user: "aether_jenkins"
181 git_repo: "aether-pod-configs"
182
183 disabled: true
184 pipeline-script: "tost-deploy-telegraf.groovy"
185 project-type: pipeline
186 dsl: !include-raw-escape: pipeline/{pipeline-script}
187 parameters:
188 - string:
189 name: rancher_server
190 default: "{rancher_server}"
191 - string:
192 name: rancher_context
193 default: "{rancher_context}"
194 - string:
195 name: rancher_project
196 default: "{rancher_project}"
197 - string:
198 name: rancher_api_env
199 default: "{rancher_api}"
200 - string:
201 name: git_repo
202 default: "{git_repo}"
203 - string:
204 name: git_server
205 default: "{git_server}"
206 - string:
207 name: git_user
208 default: "{git_user}"
209 - string:
210 name: git_password_env
211 default: "gerrit_password"
212 - string:
213 name: telegraf_ns
214 default: "telegraf"
215 - string:
216 name: config_review
217 - string:
218 name: config_patchset
219 - string:
220 name: config_env
221 default: "{config_env}"
222 - string:
223 name: k8s_config
224 default: "{k8s_config}"
225
226- job-template:
227 name: "{name}-fluentbit"
228 id: "deploy-fluentbit"
229
230 rancher_server: "https://testing.aether.onlab.us/"
231 rancher_api: "rancher_dev_token"
232 git_server: "gerrit.opencord.org"
233 git_user: "aether_jenkins"
234 git_repo: "aether-pod-configs"
235
236 disabled: true
237 pipeline-script: "tost-deploy-fluentbit.groovy"
238 project-type: pipeline
239 dsl: !include-raw-escape: pipeline/{pipeline-script}
240 parameters:
241 - string:
242 name: rancher_server
243 default: "{rancher_server}"
244 - string:
245 name: rancher_context
246 default: "{rancher_context}"
247 - string:
248 name: rancher_project
249 default: "{rancher_project}"
250 - string:
251 name: rancher_api_env
252 default: "{rancher_api}"
253 - string:
254 name: git_repo
255 default: "{git_repo}"
256 - string:
257 name: git_server
258 default: "{git_server}"
259 - string:
260 name: git_user
261 default: "{git_user}"
262 - string:
263 name: git_password_env
264 default: "gerrit_password"
265 - string:
266 name: fluentbit_ns
267 default: "logging"
268 - string:
269 name: config_review
270 - string:
271 name: config_patchset
272 - string:
273 name: config_env
274 default: "{config_env}"
275 - string:
276 name: k8s_config
277 default: "{k8s_config}"
278
279- job-template:
280 name: "{name}"
281 id: "deploy"
282 disabled: true
283 pipeline-script: "tost-deploy.groovy"
284 project-type: pipeline
285 dsl: !include-raw-escape: pipeline/{pipeline-script}
286 parameters:
287 - string:
288 name: job_name
289 default: "{name}"
290 - string:
291 name: target_server
292 - string:
293 name: k8s_config
294 default: "{k8s_config}"