-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathskaffold.yaml
40 lines (38 loc) · 1.12 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/v1beta9
kind: Config
build:
artifacts:
- image: gcr.io/gcp-dev-tools/duct-tape/go
context: go
- image: gcr.io/gcp-dev-tools/duct-tape/python
context: python
- image: gcr.io/gcp-dev-tools/duct-tape/netcore
context: netcore
test:
- image: gcr.io/gcp-dev-tools/duct-tape/go
structureTests: [./test/structure-tests-go.yaml]
- image: gcr.io/gcp-dev-tools/duct-tape/python
structureTests: [./test/structure-tests-python.yaml]
- image: gcr.io/gcp-dev-tools/duct-tape/netcore
structureTests: [./test/structure-tests-netcore.yaml]
deploy:
kubectl:
manifests:
# launches a busybox image with the duct-tape images as initContainers
# and lists the contents of /dbg: it should list out the top-level
# values from the initContainers
- test/k8s-test-installation.yaml
profiles:
# local: builds to local daemon only
- name: local
build:
local:
push: false
# prod: pushes images to production with :latest
- name: prod
build:
local:
push: true
tagPolicy:
envTemplate:
template: '{{.IMAGE_NAME}}:latest'