-
Notifications
You must be signed in to change notification settings - Fork 18
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 #18 from solarwinds/update-syslog
Update deps
- Loading branch information
Showing
444 changed files
with
46,231 additions
and
21,904 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,12 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "docker" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
|
||
- package-ecosystem: "gomod" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
|
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 |
---|---|---|
|
@@ -31,7 +31,7 @@ jobs: | |
fetch-depth: 1 | ||
- uses: golangci/[email protected] | ||
with: | ||
version: v1.32 | ||
version: v1.35 | ||
args: --allow-parallel-runners --timeout 3m ./... | ||
build: | ||
name: build check | ||
|
@@ -45,6 +45,6 @@ jobs: | |
- name: Setup Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ${{ secrets.GO_VERSION }} | ||
go-version: 1.15.7 | ||
- run: make build | ||
|
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,17 +1,18 @@ | ||
# Copyright 2019 SolarWinds Worldwide, LLC. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
FROM golang:1.15.1-alpine as main | ||
FROM golang:1.15.7-alpine as main | ||
RUN apk update && apk add --no-cache git ca-certificates wget && update-ca-certificates | ||
RUN wget -O /etc/ssl/certs/papertrail-bundle.pem https://papertrailapp.com/tools/papertrail-bundle.pem | ||
WORKDIR /github.com/solarwinds/rkubelog | ||
ADD . . | ||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -mod vendor -ldflags='-w -s -extldflags "-static"' -a -o /rkubelog . | ||
RUN CGO_ENABLED=0 go build -mod vendor -ldflags='-w -s -extldflags "-static"' -a -o /rkubelog . | ||
|
||
FROM alpine | ||
FROM alpine:3.13.0 | ||
COPY --from=main /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ | ||
COPY --from=main /etc/ssl/certs/papertrail-bundle.pem /etc/ssl/certs/ | ||
COPY --from=main /rkubelog /app/rkubelog | ||
USER 1001 | ||
WORKDIR /app | ||
ENTRYPOINT ./rkubelog | ||
RUN mkdir db; chmod -R 777 db | ||
USER 1001 | ||
ENTRYPOINT ["/app/rkubelog"] |
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.