-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathskaffold.yaml
112 lines (112 loc) · 3.04 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
apiVersion: skaffold/v4beta11
kind: Config
metadata:
name: tasdis-microsservices
build:
local:
# useBuildkit: true
# concurrency: 0
# ![IMPORTANT] There is a open issue with jib failling to push images to some docker registries, so to ensure that the images are pushed to the registry, i'm using the docker build with push set to true only when necessary has a workaround.
push: false
artifacts:
- image: ghcr.io/llunno/tasdis-bff
context: bff
jib:
fromImage: gcr.io/distroless/java21:debug
args:
- "-DskipTests"
sync:
auto: true
# docker:
# dockerfile: Dockerfile
- image: ghcr.io/llunno/tasdis-curso
context: microsservice_curso
jib:
fromImage: gcr.io/distroless/java21:debug
args:
- "-DskipTests"
sync:
auto: true
# docker:
# dockerfile: Dockerfile
- image: ghcr.io/llunno/tasdis-endereco
context: microsservice_endereco
jib:
fromImage: gcr.io/distroless/java21:debug
args:
- "-DskipTests"
sync:
auto: true
# docker:
# dockerfile: Dockerfile
- image: ghcr.io/llunno/tasdis-gateway
context: gateway
jib:
fromImage: gcr.io/distroless/java21:debug
args:
- "-DskipTests"
sync:
auto: true
- image: ghcr.io/llunno/tasdis-instituicao
context: microsservice_instituicao
jib:
fromImage: gcr.io/distroless/java21:debug
args:
- "-DskipTests"
sync:
auto: true
# docker:
# dockerfile: Dockerfile
- image: ghcr.io/llunno/tasdis-tarefa
context: microsservice_tarefa
jib:
fromImage: gcr.io/distroless/java21:debug
args:
- "-DskipTests"
sync:
auto: true
# docker:
# dockerfile: Dockerfile
- image: ghcr.io/llunno/tasdis-usuario
context: microsservice_usuario
jib:
fromImage: gcr.io/distroless/java21:debug
args:
- "-DskipTests"
sync:
auto: true
# docker:
# dockerfile: Dockerfile
manifests:
rawYaml:
- kubernetes/bff-deployment.yaml
- kubernetes/bff-service.yaml
- kubernetes/curso-deployment.yaml
- kubernetes/curso-service.yaml
- kubernetes/endereco-deployment.yaml
- kubernetes/endereco-service.yaml
- kubernetes/gateway-deployment.yaml
- kubernetes/gateway-service.yaml
- kubernetes/instituicao-deployment.yaml
- kubernetes/instituicao-service.yaml
- kubernetes/tarefa-deployment.yaml
- kubernetes/tarefa-service.yaml
- kubernetes/usuario-deployment.yaml
- kubernetes/usuario-service.yaml
portForward:
- resourceType: service
resourceName: gateway-service
port: 8085
localPort: 8085
- resourceType: service
resourceName: postgresql
port: 5432
localPort: 5432
- resourceType: service
resourceName: rabbitmq
port: 15672
localPort: 15672
- resourceType: service
resourceName: zipkin
port: 9411
localPort: 9411