Skip to content

Commit

Permalink
bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mxssl committed Apr 18, 2022
1 parent 9b26b95 commit 5d94523
Show file tree
Hide file tree
Showing 672 changed files with 61 additions and 274,796 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,19 @@ on:
- '*'

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.45.2

docker-release:
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v1
- name: Docker login
Expand All @@ -17,12 +28,12 @@ jobs:

github-release:
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
- uses: actions/setup-go@v2
with:
go-version: 1.16
go-version: 1.18
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.16.5-alpine3.13 as builder
FROM golang:1.18.0-alpine3.15 as builder

ENV GO111MODULE=on

Expand All @@ -14,10 +14,10 @@ RUN apk add --no-cache \
RUN CGO_ENABLED=0 \
GOOS=`go env GOHOSTOS` \
GOARCH=`go env GOHOSTARCH` \
go build -v -mod=vendor -o app
go build -v -o app

# copy compiled binary to a clear Alpine Linux image
FROM alpine:3.13.5
FROM alpine:3.15.4
WORKDIR /
RUN apk add --no-cache \
ca-certificates
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ version: '3'

services:
selectel_exporter:
image: mxssl/selectel_billing_exporter:0.0.2
image: mxssl/selectel_billing_exporter:1.0.0
ports:
- "6789:80"
restart: always
Expand All @@ -41,6 +41,7 @@ docker-compose logs
Метрики доступны по url `your_ip:6789/metrics`

### Запуск в Kubernetes

```yaml
---
apiVersion: apps/v1
Expand Down
22 changes: 17 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,24 @@
module github.com/mxssl/selectel_billing_exporter

require (
github.com/golang/protobuf v1.5.2 // indirect
github.com/jarcoal/httpmock v1.0.8
github.com/prometheus/client_golang v1.11.0
github.com/prometheus/common v0.29.0 // indirect
github.com/prometheus/client_golang v1.12.1
github.com/stretchr/testify v1.7.0
golang.org/x/sys v0.0.0-20210611083646-a4fc73990273 // indirect
)

go 1.16
require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.33.0 // indirect
github.com/prometheus/procfs v0.7.3 // indirect
golang.org/x/sys v0.0.0-20220412211240-33da011f77ad // indirect
google.golang.org/protobuf v1.28.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
)

go 1.18
112 changes: 25 additions & 87 deletions go.sum

Large diffs are not rendered by default.

20 changes: 0 additions & 20 deletions vendor/github.com/beorn7/perks/LICENSE

This file was deleted.

Loading

0 comments on commit 5d94523

Please sign in to comment.