forked from kanisterio/kanister
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
139 lines (139 loc) · 3.91 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
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:
- 'ghcr.io/kanisterio/controller:{{ .Tag }}'
dockerfile: 'docker/controller/Dockerfile'
- binaries:
- kando
image_templates:
- 'ghcr.io/kanisterio/kanister-tools:{{ .Tag }}'
dockerfile: 'docker/tools/Dockerfile'
build_flag_templates:
- "--build-arg=kan_tools_version={{ .Tag }}"
extra_files:
- 'LICENSE'
- binaries:
- kando
image_templates:
- 'ghcr.io/kanisterio/postgres-kanister-tools:{{ .Tag }}'
dockerfile: 'docker/postgres-kanister-tools/Dockerfile'
- binaries:
- kando
image_templates:
- 'ghcr.io/kanisterio/postgres-tools-9.6:{{ .Tag }}'
dockerfile: 'docker/postgres-tools-9.6/Dockerfile'
- image_templates:
- 'ghcr.io/kanisterio/postgresql:{{ .Tag }}'
dockerfile: 'docker/postgresql/Dockerfile'
- binaries:
- kando
image_templates:
- 'ghcr.io/kanisterio/es-sidecar:{{ .Tag }}'
dockerfile: 'docker/kanister-elasticsearch/image/Dockerfile'
build_flag_templates:
- "--build-arg=TOOLS_IMAGE=ghcr.io/kanisterio/kanister-tools:{{ .Tag }}"
extra_files:
- 'docker/kanister-elasticsearch/image/esdump-setup.sh'
- binaries:
- kando
image_templates:
- 'ghcr.io/kanisterio/mysql-sidecar:{{ .Tag }}'
dockerfile: 'docker/kanister-mysql/image/Dockerfile'
build_flag_templates:
- "--build-arg=TOOLS_IMAGE=ghcr.io/kanisterio/kanister-tools:{{ .Tag }}"
- image_templates:
- 'ghcr.io/kanisterio/kanister-kubectl-1.18:{{ .Tag }}'
dockerfile: 'docker/kanister-kubectl/Dockerfile'
build_flag_templates:
- "--build-arg=TOOLS_IMAGE=ghcr.io/kanisterio/kanister-tools:{{ .Tag }}"
- binaries:
- kando
image_templates:
- 'ghcr.io/kanisterio/mongo-sidecar:{{ .Tag }}'
dockerfile: 'docker/kanister-mongodb-replicaset/image/Dockerfile'
extra_files:
- 'docker/kanister-mongodb-replicaset/image/install.sh'
- 'docker/kanister-mongodb-replicaset/image/90forceyes'
- 'docker/kanister-mongodb-replicaset/image/config'
- 'docker/kanister-mongodb-replicaset/image/gbl_env.sh'
- binaries:
- kando
image_templates:
- 'ghcr.io/kanisterio/mongodb:{{ .Tag }}'
dockerfile: 'docker/mongodb/Dockerfile'
- binaries:
- kando
image_templates:
- 'ghcr.io/kanisterio/cassandra:{{ .Tag }}'
dockerfile: 'docker/cassandra/Dockerfile'
- binaries:
- kando
image_templates:
- 'ghcr.io/kanisterio/couchbase-tools:{{ .Tag }}'
dockerfile: 'docker/couchbase-tools/Dockerfile'
- binaries:
- kando
image_templates:
- 'ghcr.io/kanisterio/foundationdb:{{ .Tag }}'
dockerfile: 'docker/foundationdb/Dockerfile'
- image_templates:
- 'ghcr.io/kanisterio/kafka-adobe-s3-source-connector:{{ .Tag }}'
dockerfile: 'docker/kafka-adobes3Connector/image/adobeSource.Dockerfile'
extra_files:
- 'docker/kafka-adobes3Connector/image/adobe-monitorsource.sh'
- 'docker/kafka-adobes3Connector/image/cleans3.py'
- binaries:
- kando
image_templates:
- 'ghcr.io/kanisterio/kafka-adobe-s3-sink-connector:{{ .Tag }}'
dockerfile: 'docker/kafka-adobes3Connector/image/adobeSink.Dockerfile'
extra_files:
- 'docker/kafka-adobes3Connector/image/adobe-monitorsink.sh'
snapshot:
name_template: '{{ .Tag }}'
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'