-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathskaffold.yaml
60 lines (53 loc) · 1.41 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
apiVersion: skaffold/v2beta16
kind: Config
build:
local:
push: false
useBuildkit: true
artifacts:
- image: meetings
context: packages/meetings
docker: &docker
dockerfile: build/nest-prisma.dockerfile
secret:
id: npmrc
src: .npmrc
sync: &sync
manual:
- src: src/**/*.ts
dest: .
# TODO: could consider a tigher dev loop on library work with something like
# - src: '../shared/dist/*'
# dest: node_modules/@jamesdabbs/nest-platform/dist
# - src: tmp/restart.txt
# dest: tmp/restart.txt
- image: minutes
context: packages/minutes
docker:
<<: *docker
dockerfile: build/nest.dockerfile
sync: *sync
- image: schedule
context: packages/schedule
docker:
<<: *docker
dockerfile: build/nest.dockerfile
sync: *sync
- image: slack
context: packages/slack
docker:
<<: *docker
dockerfile: build/nest.dockerfile
sync: *sync
deploy:
kubectl:
# kubectl apply --namespace=... -f packages/infra/dist/infra.k8s.yaml
flags:
global:
- --namespace=friday
manifests:
# Probably want to manually install these into the kafka namespace
# and not have them managed by Skaffold
# - packages/infra/vendor/strimzi-operator.yaml
# - packages/infra/vendor/kafka-persistent-single.yaml
- packages/infra/dist/infra.k8s.yaml