-
Notifications
You must be signed in to change notification settings - Fork 18
/
skaffold.yaml
288 lines (283 loc) · 7.88 KB
/
skaffold.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
##
## Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
##
## This file is part of ewm-cloud-robotics
## (see https://github.com/SAP/ewm-cloud-robotics).
##
## This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file (https://github.com/SAP/ewm-cloud-robotics/blob/main/LICENSE)
##
apiVersion: skaffold/v2beta28
kind: Config
## Default profile:
## Use local Docker daemon & registry to build and test all images, then exit without deployment
## to verify that builds and tests are OK.
build:
tagPolicy:
customTemplate:
template: "v{{.date}}-{{.gitSHA}}"
components:
- name: date
dateTime:
format: "20060102"
timezone: "UTC"
- name: gitSHA
gitCommit:
variant: AbbrevCommitSha
artifacts:
- image: ewm-sim
context: .
docker:
dockerfile: Dockerfile
target: ewm-sim
- image: dummy-mission-controller
context: .
docker:
dockerfile: Dockerfile
target: dummy-mission-controller
- image: fetch-mission-controller
context: .
docker:
dockerfile: Dockerfile
target: fetch-mission-controller
- image: mir-mission-controller
context: .
docker:
dockerfile: Dockerfile
target: mir-mission-controller
- image: order-manager
context: .
docker:
dockerfile: Dockerfile
target: order-manager
- image: robot-controller
context: .
docker:
dockerfile: Dockerfile
target: robot-controller
- image: robot-configurator
context: .
docker:
dockerfile: Dockerfile
target: robot-configurator
- image: monitoring-ui
context: .
docker:
dockerfile: Dockerfile
target: monitoring-ui
- image: order-auctioneer
context: .
docker:
dockerfile: Dockerfile
target: order-auctioneer
- image: order-bid-agent
context: .
docker:
dockerfile: Dockerfile
target: order-bid-agent
- image: mir-travel-time-calculator
context: .
docker:
dockerfile: Dockerfile
target: mir-travel-time-calculator
local:
push: false
test:
- image: ewm-sim
structureTests:
- tests/container-structure-tests/ewm-sim.yaml
- image: dummy-mission-controller
structureTests:
- tests/container-structure-tests/dummy-mission-controller.yaml
- image: mir-mission-controller
structureTests:
- tests/container-structure-tests/mir-mission-controller.yaml
- image: fetch-mission-controller
structureTests:
- tests/container-structure-tests/fetch-mission-controller.yaml
- image: order-manager
structureTests:
- tests/container-structure-tests/order-manager.yaml
- image: robot-controller
structureTests:
- tests/container-structure-tests/robot-controller.yaml
- image: robot-configurator
structureTests:
- tests/container-structure-tests/robot-configurator.yaml
- image: monitoring-ui
structureTests:
- tests/container-structure-tests/monitoring-ui.yaml
- image: order-auctioneer
structureTests:
- tests/container-structure-tests/order-auctioneer.yaml
- image: order-bid-agent
structureTests:
- tests/container-structure-tests/order-bid-agent.yaml
- image: mir-travel-time-calculator
structureTests:
- tests/container-structure-tests/mir-travel-time-calculator.yaml
#########################################################################################
profiles:
- name: push-all
build:
local:
push: true
- name: push-all-latest
build:
local:
push: true
tagPolicy:
sha256: {}
## Profiles to build and push application specific images via deploy.sh to
## custom container registry
##
## ewm-order-manager
- name: ewm-order-manager
build:
artifacts:
- image: order-manager
context: .
docker:
dockerfile: Dockerfile
target: order-manager
local:
push: true
test:
- image: order-manager
structureTests:
- tests/container-structure-tests/order-manager.yaml
## ewm-robot-controller
- name: ewm-robot-controller
build:
artifacts:
- image: robot-controller
context: .
docker:
dockerfile: Dockerfile
target: robot-controller
- image: robot-configurator
context: .
docker:
dockerfile: Dockerfile
target: robot-configurator
local:
push: true
test:
- image: robot-controller
structureTests:
- tests/container-structure-tests/robot-controller.yaml
- image: robot-configurator
structureTests:
- tests/container-structure-tests/robot-configurator.yaml
## ewm-monitoring-ui
- name: ewm-monitoring-ui
build:
artifacts:
- image: monitoring-ui
context: .
docker:
dockerfile: Dockerfile
target: monitoring-ui
local:
push: true
test:
- image: monitoring-ui
structureTests:
- tests/container-structure-tests/monitoring-ui.yaml
## ewm-order-auction
- name: ewm-order-auction
build:
artifacts:
- image: order-auctioneer
context: .
docker:
dockerfile: Dockerfile
target: order-auctioneer
- image: order-bid-agent
context: .
docker:
dockerfile: Dockerfile
target: order-bid-agent
local:
push: true
test:
- image: order-auctioneer
structureTests:
- tests/container-structure-tests/order-auctioneer.yaml
- image: order-bid-agent
structureTests:
- tests/container-structure-tests/order-bid-agent.yaml
## ewm-sim
- name: ewm-sim
build:
artifacts:
- image: ewm-sim
context: .
docker:
dockerfile: Dockerfile
target: ewm-sim
local:
push: true
test:
- image: ewm-sim
structureTests:
- tests/container-structure-tests/ewm-sim.yaml
## mir-mission-controller
- name: mir-mission-controller
build:
artifacts:
- image: mir-mission-controller
context: .
docker:
dockerfile: Dockerfile
target: mir-mission-controller
local:
push: true
test:
- image: mir-mission-controller
structureTests:
- tests/container-structure-tests/mir-mission-controller.yaml
## mir-travel-time-calculator
- name: mir-travel-time-calculator
build:
artifacts:
- image: mir-travel-time-calculator
context: .
docker:
dockerfile: Dockerfile
target: mir-travel-time-calculator
local:
push: true
test:
- image: mir-travel-time-calculator
structureTests:
- tests/container-structure-tests/mir-travel-time-calculator.yaml
## dummy-mission-controller
- name: dummy-mission-controller
build:
artifacts:
- image: dummy-mission-controller
context: .
docker:
dockerfile: Dockerfile
target: dummy-mission-controller
local:
push: true
test:
- image: dummy-mission-controller
structureTests:
- tests/container-structure-tests/dummy-mission-controller.yaml
## fetch-mission-controller
- name: fetch-mission-controller
build:
artifacts:
- image: fetch-mission-controller
context: .
docker:
dockerfile: Dockerfile
target: fetch-mission-controller
local:
push: true
test:
- image: fetch-mission-controller
structureTests:
- tests/container-structure-tests/fetch-mission-controller.yaml