-
Notifications
You must be signed in to change notification settings - Fork 6
/
skaffold.yaml
50 lines (50 loc) · 1.28 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
apiVersion: skaffold/v1
kind: Config
build:
artifacts:
- image: cage1016/gokitconsulk8s-addsvc
custom:
buildCommand: make dev_docker_addsvc
dependencies:
paths:
- cmd/addsvc/main.go
- pkg/addsvc
- image: cage1016/gokitconsulk8s-foosvc
custom:
buildCommand: make dev_docker_foosvc
dependencies:
paths:
- cmd/foosvc/main.go
- pkg/foosvc
- image: cage1016/gokitconsulk8s-router
custom:
buildCommand: make dev_docker_router
dependencies:
paths:
- cmd
- pkg/router
- pkg/foosvc
- pkg/addsvc
- image: cage1016/gokitconsulk8s-website
context: deployments/k8s/website
docker:
dockerfile: DockerFile
tagPolicy:
sha256: {}
local: {}
deploy:
kubectl:
manifests:
- ./deployments/k8s/*.yaml
profiles:
- name: debug
patches:
- op: replace
path: /build/artifacts/0/custom/buildCommand
value: make debug_docker_addsvc
# - op: replace
# path: /build/artifacts/1/custom/buildCommand
# value: make debug_docker_foosvc
# - op: replace
# path: /build/artifacts/2/custom/buildCommand
# value: make debug_docker_router