Skip to content

Commit 5d94523

Browse files
committed
bump deps
1 parent 9b26b95 commit 5d94523

File tree

672 files changed

+61
-274796
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

672 files changed

+61
-274796
lines changed

.github/workflows/release.yaml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,19 @@ on:
66
- '*'
77

88
jobs:
9+
lint:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/setup-go@v2
13+
- uses: actions/checkout@v2
14+
- name: golangci-lint
15+
uses: golangci/golangci-lint-action@v2
16+
with:
17+
version: v1.45.2
18+
919
docker-release:
1020
runs-on: ubuntu-latest
21+
needs: lint
1122
steps:
1223
- uses: actions/checkout@v1
1324
- name: Docker login
@@ -17,12 +28,12 @@ jobs:
1728

1829
github-release:
1930
runs-on: ubuntu-latest
31+
needs: lint
2032
steps:
2133
- uses: actions/checkout@v2
22-
- name: Set up Go
23-
uses: actions/setup-go@v2
34+
- uses: actions/setup-go@v2
2435
with:
25-
go-version: 1.16
36+
go-version: 1.18
2637
- name: Run GoReleaser
2738
uses: goreleaser/goreleaser-action@v2
2839
with:

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.16.5-alpine3.13 as builder
1+
FROM golang:1.18.0-alpine3.15 as builder
22

33
ENV GO111MODULE=on
44

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

1919
# copy compiled binary to a clear Alpine Linux image
20-
FROM alpine:3.13.5
20+
FROM alpine:3.15.4
2121
WORKDIR /
2222
RUN apk add --no-cache \
2323
ca-certificates

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ version: '3'
1717

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

4343
### Запуск в Kubernetes
44+
4445
```yaml
4546
---
4647
apiVersion: apps/v1

go.mod

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,24 @@
11
module github.com/mxssl/selectel_billing_exporter
22

33
require (
4-
github.com/golang/protobuf v1.5.2 // indirect
54
github.com/jarcoal/httpmock v1.0.8
6-
github.com/prometheus/client_golang v1.11.0
7-
github.com/prometheus/common v0.29.0 // indirect
5+
github.com/prometheus/client_golang v1.12.1
86
github.com/stretchr/testify v1.7.0
9-
golang.org/x/sys v0.0.0-20210611083646-a4fc73990273 // indirect
107
)
118

12-
go 1.16
9+
require (
10+
github.com/beorn7/perks v1.0.1 // indirect
11+
github.com/cespare/xxhash/v2 v2.1.2 // indirect
12+
github.com/davecgh/go-spew v1.1.1 // indirect
13+
github.com/golang/protobuf v1.5.2 // indirect
14+
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
15+
github.com/pmezard/go-difflib v1.0.0 // indirect
16+
github.com/prometheus/client_model v0.2.0 // indirect
17+
github.com/prometheus/common v0.33.0 // indirect
18+
github.com/prometheus/procfs v0.7.3 // indirect
19+
golang.org/x/sys v0.0.0-20220412211240-33da011f77ad // indirect
20+
google.golang.org/protobuf v1.28.0 // indirect
21+
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
22+
)
23+
24+
go 1.18

go.sum

Lines changed: 25 additions & 87 deletions
Large diffs are not rendered by default.

vendor/github.com/beorn7/perks/LICENSE

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)