-
Notifications
You must be signed in to change notification settings - Fork 5
/
skaffold.yaml
43 lines (41 loc) · 1.17 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
apiVersion: skaffold/v2beta16
kind: Config
metadata:
name: alex
deploy:
helm:
releases:
- name: release
artifactOverrides:
frontendImage: ghcr.io/learnlib/alex/alex-frontend
backendImage: ghcr.io/learnlib/alex/alex-backend
chartPath: ./infrastructure/helm-chart
valuesFiles:
- ./infrastructure/helm-chart/values.yaml
build:
tagPolicy:
gitCommit: {}
artifacts:
- image: ghcr.io/learnlib/alex/alex-frontend
context: ./frontend
docker:
dockerfile: Dockerfile
- image: ghcr.io/learnlib/alex/alex-backend
context: ./backend
docker:
dockerfile: Dockerfile
profiles:
# profile for local development purposes
# run with `skaffold run -p local`
- name: local
patches:
- op: add
path: /deploy/helm/releases/0/valuesFiles/1
value: ./infrastructure/helm-chart/values-local.yaml
# profile that can be used to deploy ALEX to an arbitrary, temporary server
# run with `skaffold run -p temp`
- name: temp
patches:
- op: add
path: /deploy/helm/releases/0/valuesFiles/1
value: ./infrastructure/helm-chart/values-temp.yaml