This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
forked from linkedin/Burrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add goreleaser support (linkedin#293)
* Add a simple goreleaser config * Add docker to goreleaser
- Loading branch information
Todd Palino
authored
Dec 3, 2017
1 parent
89f072a
commit cffd70e
Showing
7 changed files
with
75 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
burrow-src | ||
.*.swp | ||
!config | ||
dist | ||
log | ||
.idea | ||
*.cov | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# .goreleaser.yml | ||
# Build customization | ||
builds: | ||
- main: main.go | ||
binary: burrow | ||
goos: | ||
- windows | ||
- darwin | ||
- linux | ||
goarch: | ||
- amd64 | ||
# Archive customization | ||
archive: | ||
format: tar.gz | ||
files: | ||
- LICENSE | ||
- NOTICE | ||
- README.md | ||
- CHANGELOG.md | ||
- config/burrow.toml | ||
- config/default-email.tmpl | ||
- config/default-http-delete.tmpl | ||
- config/default-http-post.tmpl | ||
- config/default-slack-delete.tmpl | ||
- config/default-slack-post.tmpl | ||
dockers: | ||
- | ||
goos: linux | ||
goarch: amd64 | ||
goarm: '' | ||
binary: burrow | ||
image: toddpalino/burrow | ||
dockerfile: Dockerfile | ||
latest: true | ||
extra_files: | ||
- docker-config/burrow.toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,8 @@ | ||
FROM golang:alpine | ||
|
||
FROM iron/go | ||
MAINTAINER LinkedIn Burrow "https://github.com/linkedin/Burrow" | ||
|
||
RUN apk add --no-cache curl bash git ca-certificates wget \ | ||
&& update-ca-certificates \ | ||
&& curl -sSO https://raw.githubusercontent.com/pote/gpm/v1.4.0/bin/gpm \ | ||
&& chmod +x gpm \ | ||
&& mv gpm /usr/local/bin | ||
|
||
ADD . $GOPATH/src/github.com/linkedin/Burrow | ||
RUN cd $GOPATH/src/github.com/linkedin/Burrow \ | ||
&& gpm install \ | ||
&& go install \ | ||
&& mv $GOPATH/bin/Burrow $GOPATH/bin/burrow \ | ||
&& apk del git curl wget | ||
|
||
ADD docker-config /etc/burrow | ||
|
||
WORKDIR /var/tmp/burrow | ||
WORKDIR /app | ||
ADD burrow /app/ | ||
ADD burrow.toml /etc/burrow/ | ||
|
||
CMD ["/go/bin/burrow", "--config", "/etc/burrow/burrow.cfg"] | ||
CMD ["/app/burrow", "--config-dir", "/etc/burrow"] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
[zookeeper] | ||
servers=[ "zookeeper:2181" ] | ||
timeout=6 | ||
root-path="/burrow" | ||
|
||
[cluster.local] | ||
class-name="kafka" | ||
servers=[ "kafka:9092" ] | ||
topic-refresh=60 | ||
offset-refresh=30 | ||
|
||
[consumer.local] | ||
class-name="kafka" | ||
cluster="local" | ||
servers=[ "kafka:9092" ] | ||
group-blacklist="^(console-consumer-|python-kafka-consumer-).*$" | ||
group-whitelist="" | ||
|
||
[consumer.local_zk] | ||
class-name="kafka_zk" | ||
cluster="local" | ||
servers=[ "zookeeper:2181" ] | ||
zookeeper-path="/local" | ||
zookeeper-timeout=30 | ||
group-blacklist="^(console-consumer-|python-kafka-consumer-).*$" | ||
group-whitelist="" | ||
|
||
[httpserver.default] | ||
address=":8000" |
This file was deleted.
Oops, something went wrong.