-
Notifications
You must be signed in to change notification settings - Fork 681
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #461 from gliderlabs/master
release 3.2.7
- Loading branch information
Showing
35 changed files
with
354 additions
and
263 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 |
---|---|---|
@@ -0,0 +1,77 @@ | ||
linters-settings: | ||
errcheck: | ||
# ignore cases where we truly don't care about the returned error | ||
ignore: net/http:^Write$,io:^WriteString$ | ||
govet: | ||
check-shadowing: true | ||
settings: | ||
printf: | ||
funcs: | ||
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Infof | ||
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Warnf | ||
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Errorf | ||
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf | ||
golint: | ||
min-confidence: 0 | ||
gocyclo: | ||
min-complexity: 12 | ||
maligned: | ||
suggest-new: true | ||
dupl: | ||
threshold: 100 | ||
goconst: | ||
min-len: 2 | ||
min-occurrences: 2 | ||
depguard: | ||
list-type: blacklist | ||
misspell: | ||
locale: US | ||
lll: | ||
line-length: 160 | ||
goimports: | ||
local-prefixes: github.com/gliderlabs/logspout | ||
gocritic: | ||
settings: | ||
hugeParam: | ||
sizeThreshold: 160 | ||
enabled-tags: | ||
- performance | ||
nakedret: | ||
max-func-lines: 65 | ||
|
||
linters: | ||
enable-all: true | ||
disable: | ||
- maligned | ||
- prealloc | ||
- gochecknoglobals | ||
- funlen | ||
- gochecknoinits | ||
|
||
issues: | ||
# Excluding configuration per-path, per-linter, per-text and per-source | ||
exclude-rules: | ||
# Exclude some linters from running on tests files. | ||
- path: _test\.go | ||
linters: | ||
- dupl | ||
- errcheck | ||
- goconst | ||
- gocyclo | ||
- gosec | ||
- lll | ||
- nakedret | ||
- unparam | ||
- funlen | ||
|
||
run: | ||
deadline: 2m | ||
issues-exit-code: 1 | ||
|
||
# golangci.com configuration | ||
# https://github.com/golangci/golangci/wiki/Configuration | ||
service: | ||
golangci-lint-version: 1.18.x # use the fixed version to not introduce new linters unexpectedly | ||
prepare: | ||
- echo "here I can run custom commands, but no preparation needed for this repo" | ||
|
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,4 +1,4 @@ | ||
FROM alpine:3.8 | ||
FROM alpine:3.10 | ||
ENTRYPOINT ["/bin/logspout"] | ||
VOLUME /mnt/routes | ||
EXPOSE 80 | ||
|
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,12 +1,9 @@ | ||
FROM alpine:3.8 | ||
FROM alpine:3.10 | ||
VOLUME /mnt/routes | ||
EXPOSE 80 | ||
|
||
ENV GOPATH /go | ||
RUN apk --no-cache add go build-base git mercurial ca-certificates | ||
COPY . /go/src/github.com/gliderlabs/logspout | ||
WORKDIR /go/src/github.com/gliderlabs/logspout | ||
RUN go get | ||
CMD go get \ | ||
&& go build -ldflags "-X main.Version=dev" -o /bin/logspout \ | ||
&& exec /bin/logspout | ||
RUN apk --no-cache add go build-base git mercurial ca-certificates curl | ||
COPY . /src | ||
WORKDIR /src | ||
CMD go build -ldflags "-X main.Version=dev" -o /bin/logspout \ | ||
&& exec /bin/logspout |
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
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 +1 @@ | ||
v3.2.6 | ||
v3.2.7 |
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
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
Oops, something went wrong.