Skip to content

Commit 1617577

Browse files
authored
chore: dependencies, tooling and go updates (#799)
1 parent 7540b1a commit 1617577

File tree

9 files changed

+159
-136
lines changed

9 files changed

+159
-136
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- name: Set up Go
5757
uses: actions/setup-go@v4
5858
with:
59-
go-version: '1.21'
59+
go-version: '1.22'
6060

6161
- name: Import GPG key
6262
uses: crazy-max/ghaction-import-gpg@v5
@@ -67,7 +67,7 @@ jobs:
6767
- name: Install goreleaser
6868
uses: goreleaser/goreleaser-action@v4
6969
with:
70-
version: v1.21.2
70+
version: v1.24.0
7171
install-only: true
7272

7373
- name: Run goreleaser

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Install Go
3030
uses: actions/setup-go@v4
3131
with:
32-
go-version: '1.21'
32+
go-version: '1.22'
3333

3434
- name: Lint
3535
if: ${{ matrix.os == 'ubuntu-22.04' }}

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,34 @@ and this project adheres to [0ver](https://0ver.org) (more or less).
77

88
## [Unreleased]
99

10+
## [v0.5.6] - 2023-12-06
11+
12+
### Changed
13+
14+
* fix default branch regexp by @gnomus in https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/pull/665
15+
* Add test cases metrics from pipeline reports by @karpanin in https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/pull/675
16+
* bump go-gitlab version, bump golang version for make dev-env by @jasonwliu in https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/pull/670
17+
* Combine test report metrics with childrens reports by @jasonwliu in https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/pull/672
18+
* Fix misformed url to Gitlab pipeline by @fredsnap in https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/pull/650
19+
* Update go-gitlab to fix test reports by @clawoflight in https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/pull/686
20+
* Update GitLab logo to new branding in Grafana dashboard quickstart by @dnsmichi in https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/pull/694
21+
* Add tag_list label to metrics by @mpetke in https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/pull/499
22+
* pipelines: store the source of the pipeline as well by @mathstuf in https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/pull/723
23+
* feat: failure reason to job status by @strpc in https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/pull/718
24+
* build(deps): bump github.com/xanzy/go-gitlab from 0.92.3 to 0.94.0 by @dependabot in https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/pull/743
25+
* build(deps): bump github.com/charmbracelet/lipgloss from 0.8.0 to 0.9.1 by @dependabot in https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/pull/735
26+
* gitlab/client: guard against `nil` responses by @mathstuf in https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/pull/729
27+
* build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 by @dependabot in https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/pull/732
28+
* build(deps): bump github.com/alicebob/miniredis/v2 from 2.23.0 to 2.31.0 by @dependabot in https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/pull/734
29+
* build(deps): bump github.com/google/uuid from 1.3.1 to 1.4.0 by @dependabot in https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/pull/737
30+
* build(deps): bump golang.org/x/time from 0.3.0 to 0.4.0 by @dependabot in https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/pull/741
31+
* build(deps): bump github.com/go-playground/validator/v10 from 10.15.4 to 10.16.0 by @dependabot in https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/pull/742
32+
* build(deps): bump github.com/redis/go-redis/v9 from 9.2.1 to 9.3.0 by @dependabot in https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/pull/740
33+
* build(deps): bump github.com/vmihailenco/msgpack/v5 from 5.4.0 to 5.4.1 by @dependabot in https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/pull/739
34+
* build(deps): bump google.golang.org/grpc from 1.58.2 to 1.59.0 by @dependabot in https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/pull/736
35+
* feat: use keyset pagination for retrieving project CI jobs by @stanhu in https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/pull/744
36+
* fix: use keyset pagination only when it is supported by @stanhu in https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/pull/755
37+
1038
## [v0.5.5] - 2023-05-22
1139

1240
### Added
@@ -658,6 +686,8 @@ if not seen in a long time.
658686
- README
659687

660688
[Unreleased]: https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/compare/v0.5.4...HEAD
689+
[v0.5.6]: https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/tree/v0.5.6
690+
[v0.5.5]: https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/tree/v0.5.5
661691
[v0.5.4]: https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/tree/v0.5.4
662692
[v0.5.3]: https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/tree/v0.5.3
663693
[v0.5.2]: https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/tree/v0.5.2

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# BUILD CONTAINER
33
##
44

5-
FROM alpine:3.18 as certs
5+
FROM alpine:3.19 as certs
66

77
RUN \
88
apk add --no-cache ca-certificates

go.mod

Lines changed: 38 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,47 @@
11
module github.com/mvisonneau/gitlab-ci-pipelines-exporter
22

3-
go 1.21
3+
go 1.22
44

55
require (
66
dario.cat/mergo v1.0.0
77
github.com/alicebob/miniredis/v2 v2.31.0
8-
github.com/charmbracelet/bubbles v0.16.1
9-
github.com/charmbracelet/bubbletea v0.24.2
8+
github.com/charmbracelet/bubbles v0.18.0
9+
github.com/charmbracelet/bubbletea v0.25.0
1010
github.com/charmbracelet/lipgloss v0.9.1
1111
github.com/creasty/defaults v1.7.0
1212
github.com/go-logr/stdr v1.2.2
13-
github.com/go-playground/validator/v10 v10.16.0
13+
github.com/go-playground/validator/v10 v10.19.0
1414
github.com/go-redis/redis_rate/v10 v10.0.1
15-
github.com/google/uuid v1.4.0
15+
github.com/google/uuid v1.6.0
1616
github.com/heptiolabs/healthcheck v0.0.0-20211123025425-613501dd5deb
1717
github.com/mvisonneau/go-helpers v0.0.1
1818
github.com/paulbellamy/ratecounter v0.2.0
1919
github.com/pkg/errors v0.9.1
20-
github.com/prometheus/client_golang v1.17.0
20+
github.com/prometheus/client_golang v1.19.0
2121
github.com/redis/go-redis/extra/redisotel/v9 v9.0.5
22-
github.com/redis/go-redis/v9 v9.3.0
22+
github.com/redis/go-redis/v9 v9.5.1
2323
github.com/sirupsen/logrus v1.9.3
2424
github.com/stretchr/testify v1.8.4
2525
github.com/uptrace/opentelemetry-go-extra/otellogrus v0.2.3
26-
github.com/urfave/cli/v2 v2.25.7
26+
github.com/urfave/cli/v2 v2.27.1
2727
github.com/vmihailenco/msgpack/v5 v5.4.1
2828
github.com/vmihailenco/taskq/memqueue/v4 v4.0.0-beta.4
2929
github.com/vmihailenco/taskq/redisq/v4 v4.0.0-beta.4
3030
github.com/vmihailenco/taskq/v4 v4.0.0-beta.4
31-
github.com/xanzy/go-gitlab v0.94.0
31+
github.com/xanzy/go-gitlab v0.98.0
3232
github.com/xeonx/timeago v1.0.0-rc5
3333
go.openly.dev/pointy v1.3.0
34-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1
35-
go.opentelemetry.io/otel v1.21.0
36-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.21.0
37-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.21.0
38-
go.opentelemetry.io/otel/sdk v1.21.0
39-
go.opentelemetry.io/otel/trace v1.21.0
40-
golang.org/x/exp v0.0.0-20231127185646-65229373498e
34+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0
35+
go.opentelemetry.io/otel v1.24.0
36+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.24.0
37+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.24.0
38+
go.opentelemetry.io/otel/sdk v1.24.0
39+
go.opentelemetry.io/otel/trace v1.24.0
40+
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225
41+
golang.org/x/mod v0.15.0
4142
golang.org/x/time v0.5.0
42-
google.golang.org/grpc v1.59.0
43-
google.golang.org/protobuf v1.31.0
43+
google.golang.org/grpc v1.62.0
44+
google.golang.org/protobuf v1.32.0
4445
gopkg.in/yaml.v3 v3.0.1
4546
)
4647

@@ -52,56 +53,54 @@ require (
5253
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
5354
github.com/cespare/xxhash/v2 v2.2.0 // indirect
5455
github.com/charmbracelet/harmonica v0.2.0 // indirect
55-
github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect
56+
github.com/containerd/console v1.0.4 // indirect
5657
github.com/cpuguy83/go-md2man/v2 v2.0.3 // indirect
5758
github.com/davecgh/go-spew v1.1.1 // indirect
5859
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
5960
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
6061
github.com/felixge/httpsnoop v1.0.4 // indirect
6162
github.com/gabriel-vasile/mimetype v1.4.3 // indirect
62-
github.com/go-logr/logr v1.3.0 // indirect
63+
github.com/go-logr/logr v1.4.1 // indirect
6364
github.com/go-playground/locales v0.14.1 // indirect
6465
github.com/go-playground/universal-translator v0.18.1 // indirect
6566
github.com/golang/protobuf v1.5.3 // indirect
6667
github.com/google/go-querystring v1.1.0 // indirect
67-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.1 // indirect
68+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1 // indirect
6869
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
6970
github.com/hashicorp/go-retryablehttp v0.7.5 // indirect
7071
github.com/hashicorp/golang-lru v1.0.2 // indirect
71-
github.com/klauspost/compress v1.17.3 // indirect
72-
github.com/leodido/go-urn v1.2.4 // indirect
72+
github.com/klauspost/compress v1.17.7 // indirect
73+
github.com/leodido/go-urn v1.4.0 // indirect
7374
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
7475
github.com/mattn/go-isatty v0.0.20 // indirect
7576
github.com/mattn/go-localereader v0.0.1 // indirect
7677
github.com/mattn/go-runewidth v0.0.15 // indirect
77-
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
7878
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
7979
github.com/muesli/cancelreader v0.2.2 // indirect
8080
github.com/muesli/reflow v0.3.0 // indirect
8181
github.com/muesli/termenv v0.15.2 // indirect
8282
github.com/pmezard/go-difflib v1.0.0 // indirect
83-
github.com/prometheus/client_model v0.5.0 // indirect
84-
github.com/prometheus/common v0.45.0 // indirect
83+
github.com/prometheus/client_model v0.6.0 // indirect
84+
github.com/prometheus/common v0.49.0 // indirect
8585
github.com/prometheus/procfs v0.12.0 // indirect
8686
github.com/redis/go-redis/extra/rediscmd/v9 v9.0.5 // indirect
87-
github.com/rivo/uniseg v0.4.4 // indirect
87+
github.com/rivo/uniseg v0.4.7 // indirect
8888
github.com/russross/blackfriday/v2 v2.1.0 // indirect
8989
github.com/uptrace/opentelemetry-go-extra/otelutil v0.2.3 // indirect
9090
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
91-
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
91+
github.com/xrash/smetrics v0.0.0-20231213231151-1d8dd44e695e // indirect
9292
github.com/yuin/gopher-lua v1.1.0 // indirect
93-
go.opentelemetry.io/otel/metric v1.21.0 // indirect
94-
go.opentelemetry.io/proto/otlp v1.0.0 // indirect
95-
golang.org/x/crypto v0.16.0 // indirect
96-
golang.org/x/mod v0.14.0 // indirect
97-
golang.org/x/net v0.19.0 // indirect
98-
golang.org/x/oauth2 v0.15.0 // indirect
99-
golang.org/x/sync v0.5.0 // indirect
100-
golang.org/x/sys v0.15.0 // indirect
101-
golang.org/x/term v0.15.0 // indirect
93+
go.opentelemetry.io/otel/metric v1.24.0 // indirect
94+
go.opentelemetry.io/proto/otlp v1.1.0 // indirect
95+
golang.org/x/crypto v0.20.0 // indirect
96+
golang.org/x/net v0.21.0 // indirect
97+
golang.org/x/oauth2 v0.17.0 // indirect
98+
golang.org/x/sync v0.6.0 // indirect
99+
golang.org/x/sys v0.17.0 // indirect
100+
golang.org/x/term v0.17.0 // indirect
102101
golang.org/x/text v0.14.0 // indirect
103102
google.golang.org/appengine v1.6.8 // indirect
104-
google.golang.org/genproto/googleapis/api v0.0.0-20231127180814-3a041ad873d4 // indirect
105-
google.golang.org/genproto/googleapis/rpc v0.0.0-20231127180814-3a041ad873d4 // indirect
103+
google.golang.org/genproto/googleapis/api v0.0.0-20240228224816-df926f6c8641 // indirect
104+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240228224816-df926f6c8641 // indirect
106105
gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0 // indirect
107106
)

0 commit comments

Comments
 (0)