-
Notifications
You must be signed in to change notification settings - Fork 1
/
skaffold.yaml
40 lines (39 loc) · 1.1 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
apiVersion: skaffold/v2beta29
kind: Config
metadata:
name: nautible-app-ms-customer
build:
artifacts:
- image: public.ecr.aws/nautible/nautible-app-ms-customer
# Dockerfileを指定するやり方では、skaffoldはappのjarファイル監視し、javaコードの変更などを監視しない。
# そのため、skaffold customを利用し、プロジェクト全体のソースを監視し、変更があった場合にはapp image ビルドを行う
custom:
buildCommand: ./build.sh aws
dependencies:
paths:
- "."
ignore:
- "**/target/**"
local:
push: false
deploy:
kustomize:
paths:
- ../nautible-app-ms-customer-manifest/overlays/aws/local-dev
profiles:
- name: aws
- name: azure
build:
artifacts:
- image: nautibledevacr.azurecr.io/nautible-app-ms-customer
custom:
buildCommand: ./build.sh azure
dependencies:
paths:
- "."
ignore:
- "**/target/**"
deploy:
kustomize:
paths:
- ../nautible-app-ms-customer-manifest/overlays/azure/local-dev