forked from kanisterio/kanister
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
111 lines (110 loc) · 2.84 KB
/
.goreleaser.yml
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
project_name: kanister
before:
hooks:
- go mod download
builds:
- id: kanctl
binary: kanctl
main: cmd/kanctl/main.go
ldflags: &ldflags
- -s -w
-X github.com/kanisterio/kanister/pkg/version.VERSION={{.Version}}
-X github.com/kanisterio/kanister/pkg/version.GIT_COMMIT={{.Commit}}
-X github.com/kanisterio/kanister/pkg/version.BUILD_DATE={{.Date}}
env: &env
- GO111MODULE=on
- CGO_ENABLED=0
- GO_EXTLINK_ENABLED=0
goos:
- darwin
- linux
goarch: &goarch
- amd64
- id: kando
binary: kando
main: cmd/kando/main.go
ldflags: *ldflags
env: *env
goos: &goos
- linux
goarch: *goarch
- id: controller
binary: controller
main: cmd/controller/main.go
ldflags: *ldflags
env: *env
goos: *goos
goarch: *goarch
dockers:
- binaries:
- controller
image_templates:
- 'kanisterio/controller:{{ .Tag }}'
dockerfile: 'docker/controller/Dockerfile'
- binaries:
- kando
image_templates:
- 'kanisterio/kanister-tools:{{ .Tag }}'
dockerfile: 'docker/tools/Dockerfile'
- binaries:
- kando
image_templates:
- 'kanisterio/postgres-kanister-tools:{{ .Tag }}'
dockerfile: 'docker/postgres-kanister-tools/Dockerfile'
- image_templates:
- 'kanisterio/postgresql:{{ .Tag }}'
dockerfile: 'docker/postgresql/Dockerfile'
- binaries:
- kando
image_templates:
- 'kanisterio/es-sidecar:{{ .Tag }}'
dockerfile: 'examples/helm/kanister/kanister-elasticsearch/image/Dockerfile'
extra_files:
- 'examples/helm/kanister/kanister-elasticsearch/image/esdump-setup.sh'
- binaries:
- kando
image_templates:
- 'kanisterio/mysql-sidecar:{{ .Tag }}'
dockerfile: 'examples/helm/kanister/kanister-mysql/image/Dockerfile'
build_flag_templates:
- "--build-arg=TOOLS_IMAGE=kanisterio/kanister-tools:{{ .Tag }}"
- binaries:
- kando
image_templates:
- 'kanisterio/mongo-sidecar:{{ .Tag }}'
dockerfile: 'examples/helm/kanister/kanister-mongodb-replicaset/image/Dockerfile'
extra_files:
- 'examples/helm/kanister/kanister-mongodb-replicaset/image/install.sh'
- 'examples/helm/kanister/kanister-mongodb-replicaset/image/90forceyes'
- 'examples/helm/kanister/kanister-mongodb-replicaset/image/config'
- 'examples/helm/kanister/kanister-mongodb-replicaset/image/gbl_env.sh'
- binaries:
- kando
image_templates:
- 'kanisterio/mongodb:{{ .Tag }}'
dockerfile: 'docker/mongodb/Dockerfile'
- binaries:
- kando
image_templates:
- 'kanisterio/cassandra:{{ .Tag }}'
dockerfile: 'docker/cassandra/Dockerfile'
- binaries:
- kando
image_templates:
- 'kanisterio/couchbase-tools:{{ .Tag }}'
dockerfile: 'docker/couchbase-tools/Dockerfile'
- binaries:
- kando
image_templates:
- 'kanisterio/foundationdb:6.2.11'
dockerfile: 'docker/foundationdb/Dockerfile'
snapshot:
name_template: '{{ .Tag }}'
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'