-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathskaffold.yaml
53 lines (50 loc) · 1.08 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
apiVersion: skaffold/v2beta3
kind: Config
profiles:
- name: dev
activation:
- kubeContext: minikube
command: dev
build:
local:
push: false
artifacts:
- image: web-server
context: .
docker:
dockerfile: Dockerfile
sync:
infer:
- src/**/*
deploy:
kustomize:
paths:
- ./k8s/dev
- name: prod
activation:
- kubeContext: gke_scihive-prod_us-central1_scihive-prod-gke
build:
googleCloudBuild:
projectId: scihive-prod
artifacts:
- image: gcr.io/scihive-prod/web-server
context: .
kaniko:
dockerfile: Dockerfile
cache: {}
deploy:
statusCheckDeadlineSeconds: 600
kustomize:
paths:
- ./k8s/prod
portForward:
- resourceType: Service
resourceName: web-server
namespace: scihive-backend
port: 5000
localPort: 5000
- resourceType: Service
resourceName: postgres
namespace: scihive-backend
port: 5433
localPort: 5432