forked from Soluto/tweek
-
Notifications
You must be signed in to change notification settings - Fork 0
/
skaffold.yaml
64 lines (64 loc) · 1.66 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
apiVersion: skaffold/v1beta10
kind: Config
profiles:
- name: microk8s
patches:
- op: add
path: /build/tagPolicy
value: {
envTemplate: {
template: "localhost:32000/{{.IMAGE_NAME}}"
}
}
- op: add
path: /build/local/push
value: true
build:
artifacts:
- image: soluto/tweek-api
context: .
docker:
dockerfile: TweekApi.Dockerfile
- image: soluto/tweek-bare-repo
context: services/git-service/BareRepository
- image: soluto/tweek-authoring
context: services/authoring
- image: soluto/tweek-publishing
context: services/publishing
- image: soluto/tweek-gateway
context: services/gateway
sync:
manual:
- src: '**/*.go'
dest: /app
docker:
dockerfile: debug.Dockerfile
- image: soluto/tweek-editor
context: services/editor
sync:
manual:
- src: src/**/*.*
dest: /app
docker:
dockerfile: debug.Dockerfile
local:
push: false
useBuildkit: true
tagPolicy:
envTemplate:
template: "{{ .IMAGE_NAME }}"
deploy:
kubectl:
manifests:
- deployments/kubernetes/infra/tweek-secrets.yaml
- deployments/kubernetes/infra/gateway-config.yaml
- deployments/kubernetes/infra/minio.yaml
- deployments/kubernetes/infra/nats.yaml
- deployments/kubernetes/infra/redis.yaml
- deployments/kubernetes/infra/oidc-server-mock.yaml
- deployments/kubernetes/git.yaml
- deployments/kubernetes/publishing.yaml
- deployments/kubernetes/api.yaml
- deployments/kubernetes/authoring.yaml
- deployments/kubernetes/gateway.yaml
- deployments/kubernetes/editor.yaml