-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathskaffold.yaml
58 lines (58 loc) · 1.33 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
apiVersion: skaffold/v2alpha3
kind: Config
deploy:
kubectl:
manifests:
- ./_infra/k8s/* # manage these k8s files
build:
local:
push: false # do not push all changes to docker-hub
artifacts:
- image: vincentza/client
context: webapp
docker:
dockerfile: Dockerfile
sync:
manual:
- src: 'src/**/*.js'
dest: . # auto rebuild image if file change isn't 'src/**/*.js', otherwise update pod with changes
- image: vincentza/comment-moderation
context: comment-moderation
docker:
dockerfile: Dockerfile
sync:
manual:
- src: '**/*.js'
dest: .
- image: vincentza/comments
context: comments
docker:
dockerfile: Dockerfile
sync:
manual:
- src: '**/*.js'
dest: .
- image: vincentza/event-bus
context: event-bus
docker:
dockerfile: Dockerfile
sync:
manual:
- src: '**/*.js'
dest: .
- image: vincentza/posts
context: posts
docker:
dockerfile: Dockerfile
sync:
manual:
- src: '**/*.js'
dest: .
- image: vincentza/query
context: query
docker:
dockerfile: Dockerfile
sync:
manual:
- src: '**/*.js'
dest: .