-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathskaffold.yaml
More file actions
58 lines (57 loc) · 1.6 KB
/
skaffold.yaml
File metadata and controls
58 lines (57 loc) · 1.6 KB
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
54
55
56
57
58
apiVersion: skaffold/v2beta24
kind: Config
metadata:
name: upbound-go-api3
profiles:
- name: local
activation:
- command: dev
build:
tagPolicy:
gitCommit: {}
artifacts:
- image: upbound-go-api3
custom:
buildCommand: |
make go.build PLATFORM=linux_$HOSTARCH
make -C cluster/images/upbound-go-api3 img.build IMAGE=$IMAGE IMAGE_PLATFORMS=linux/$HOSTARCH
dependencies:
paths:
- cmd
- internal
- cluster/images/upbound-go-api3/Dockerfile
ignore:
- build
- .cache
- .github
- skaffold.yaml
- .work
- .vscode
deploy:
helm:
hooks:
before:
- host:
command: [
"sh",
"-c",
"kubectl create namespace argo-rollouts --dry-run=client -o yaml | kubectl apply -f -",
]
- host:
command: [
"sh",
"-c",
"kubectl apply -n argo-rollouts -f https://github.com/argoproj/argo-rollouts/releases/download/v1.2.0/install.yaml"
]
releases:
- name: upbound-go-api3
chartPath: cluster/charts/upbound-go-api3
namespace: default
createNamespace: true
artifactOverrides:
image: upbound-go-api3
imageStrategy:
helm: {}
build:
local:
push: false