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