Skip to content

Commit 4771769

Browse files
committed
chore: bump deps
Updated dependencies Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
1 parent 12d2858 commit 4771769

File tree

9 files changed

+117
-118
lines changed

9 files changed

+117
-118
lines changed

.github/workflows/build-edge.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: git fetch --prune --unshallow
3131

3232
- name: Install Cosign
33-
uses: sigstore/cosign-installer@v3.4.0
33+
uses: sigstore/cosign-installer@v3.5.0
3434
- name: Set up QEMU
3535
uses: docker/setup-qemu-action@v3
3636
with:

.github/workflows/build-test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
go-version-file: 'go.mod'
3030

3131
- name: Lint
32-
uses: golangci/golangci-lint-action@v4
32+
uses: golangci/golangci-lint-action@v5
3333
with:
34-
version: v1.56.1
35-
args: --config=.golangci.yml
34+
version: v1.57.1
35+
args: --timeout=5m --config=.golangci.yml
3636
- name: Unit
3737
run: make unit
3838
- name: Build

.github/workflows/conform.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
run: git fetch --no-tags origin main:main
2121

2222
- name: Conform action
23-
uses: talos-systems/conform@v0.1.0-alpha.27
23+
uses: talos-systems/conform@v0.1.0-alpha.30

.github/workflows/release-charts.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
with:
2828
version: v3.13.3
2929
- name: Install Cosign
30-
uses: sigstore/cosign-installer@v3.4.0
30+
uses: sigstore/cosign-installer@v3.5.0
3131

3232
- name: Github registry login
3333
uses: docker/login-action@v3

.github/workflows/release.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run: git fetch --prune --unshallow
2222

2323
- name: Install Cosign
24-
uses: sigstore/cosign-installer@v3.4.0
24+
uses: sigstore/cosign-installer@v3.5.0
2525
- name: Set up docker buildx
2626
run: make docker-init
2727

@@ -32,6 +32,18 @@ jobs:
3232
username: ${{ github.actor }}
3333
password: ${{ secrets.GITHUB_TOKEN }}
3434

35+
- name: Build and push edge
36+
timeout-minutes: 10
37+
run: make images
38+
env:
39+
PUSH: "true"
40+
TAG: "edge"
41+
- name: Sign images
42+
timeout-minutes: 4
43+
run: make images-cosign
44+
env:
45+
TAG: "edge"
46+
3547
- name: Build and push
3648
timeout-minutes: 10
3749
run: make images

.golangci.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
# options for analysis running
55
run:
6-
go: '1.21'
76
# default concurrency is a available CPU number
87
# concurrency: 4
98

@@ -20,7 +19,7 @@ run:
2019
# won't be reported. Default value is empty list, but there is
2120
# no need to include all autogenerated files, we confidently recognize
2221
# autogenerated files. If it's not please let us know.
23-
skip-files:
22+
exclude-files:
2423
- charts/
2524
- docs/
2625

@@ -35,7 +34,13 @@ run:
3534
# output configuration options
3635
output:
3736
# colored-line-number|line-number|json|tab|checkstyle, default is "colored-line-number"
38-
format: line-number
37+
formats:
38+
- format: line-number
39+
path: stdout
40+
print-issued-lines: true
41+
print-linter-name: true
42+
uniq-by-line: true
43+
sort-results: true
3944

4045
# all available settings of specific linters
4146
linters-settings:
@@ -47,15 +52,13 @@ linters-settings:
4752
# report about assignment of errors to blank identifier: `num, _ := strconv.Atoi(numStr)`;
4853
# default is false: such cases aren't reported by default.
4954
check-blank: true
50-
govet:
51-
# report about shadowed variables
52-
check-shadowing: true
55+
govet: {}
5356
gofmt:
5457
# simplify code: gofmt with `-s` option, true by default
5558
simplify: true
5659
gocyclo:
5760
# minimal code complexity to report, 30 by default (but we recommend 10-20)
58-
min-complexity: 15
61+
min-complexity: 20
5962
maligned:
6063
# print struct with more effective memory layout or not, false by default
6164
suggest-new: true
@@ -144,6 +147,7 @@ linters:
144147
- gochecknoinits
145148
- gocognit
146149
- godox
150+
- godot
147151
- goerr113
148152
- gomnd
149153
- ifshort
@@ -165,12 +169,18 @@ linters:
165169
- varnamelen # too annoying
166170
- wrapcheck
167171
- perfsprint
172+
- protogetter
168173

169174
# abandoned linters for which golangci shows the warning that the repo is archived by the owner
170175
- golint
171176
- interfacer
172177
- maligned
173178
- scopelint
179+
- varcheck
180+
- structcheck
181+
- deadcode
182+
- ifshort
183+
- perfsprint
174184

175185
disable-all: false
176186
fast: false

go.mod

Lines changed: 26 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,33 @@ module github.com/sergelogvinov/proxmox-cloud-controller-manager
33
go 1.21
44

55
require (
6-
github.com/Telmate/proxmox-api-go v0.0.0-20240102094143-0b0c911a0a51
6+
github.com/Telmate/proxmox-api-go v0.0.0-20240418145259-5a3afe88081d
77
github.com/jarcoal/httpmock v1.3.1
88
github.com/spf13/pflag v1.0.5
99
github.com/stretchr/testify v1.9.0
1010
gopkg.in/yaml.v3 v3.0.1
11-
k8s.io/api v0.29.2
12-
k8s.io/apimachinery v0.29.2
13-
k8s.io/client-go v0.29.2
14-
k8s.io/cloud-provider v0.29.2
15-
k8s.io/component-base v0.29.2
11+
k8s.io/api v0.29.4
12+
k8s.io/apimachinery v0.29.4
13+
k8s.io/client-go v0.29.4
14+
k8s.io/cloud-provider v0.29.4
15+
k8s.io/component-base v0.29.4
1616
k8s.io/klog/v2 v2.120.1
1717
)
1818

1919
require (
2020
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
2121
github.com/NYTimes/gziphandler v1.1.1 // indirect
2222
github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df // indirect
23-
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a // indirect
23+
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
2424
github.com/beorn7/perks v1.0.1 // indirect
2525
github.com/blang/semver/v4 v4.0.0 // indirect
2626
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
2727
github.com/cespare/xxhash/v2 v2.2.0 // indirect
2828
github.com/coreos/go-semver v0.3.1 // indirect
2929
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
3030
github.com/davecgh/go-spew v1.1.1 // indirect
31-
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
32-
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
31+
github.com/emicklei/go-restful/v3 v3.12.0 // indirect
32+
github.com/evanphx/json-patch v5.9.0+incompatible // indirect
3333
github.com/felixge/httpsnoop v1.0.4 // indirect
3434
github.com/fsnotify/fsnotify v1.7.0 // indirect
3535
github.com/go-logr/logr v1.4.1 // indirect
@@ -65,9 +65,9 @@ require (
6565
github.com/prometheus/procfs v0.10.1 // indirect
6666
github.com/spf13/cobra v1.8.0 // indirect
6767
github.com/stoewer/go-strcase v1.3.0 // indirect
68-
go.etcd.io/etcd/api/v3 v3.5.12 // indirect
69-
go.etcd.io/etcd/client/pkg/v3 v3.5.12 // indirect
70-
go.etcd.io/etcd/client/v3 v3.5.12 // indirect
68+
go.etcd.io/etcd/api/v3 v3.5.13 // indirect
69+
go.etcd.io/etcd/client/pkg/v3 v3.5.13 // indirect
70+
go.etcd.io/etcd/client/v3 v3.5.13 // indirect
7171
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
7272
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
7373
go.opentelemetry.io/otel v1.24.0 // indirect
@@ -78,17 +78,16 @@ require (
7878
go.opentelemetry.io/otel/trace v1.24.0 // indirect
7979
go.opentelemetry.io/proto/otlp v1.1.0 // indirect
8080
go.uber.org/multierr v1.11.0 // indirect
81-
go.uber.org/zap v1.26.0 // indirect
82-
golang.org/x/crypto v0.21.0 // indirect
83-
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect
84-
golang.org/x/net v0.22.0 // indirect
85-
golang.org/x/oauth2 v0.16.0 // indirect
86-
golang.org/x/sync v0.6.0 // indirect
87-
golang.org/x/sys v0.18.0 // indirect
88-
golang.org/x/term v0.18.0 // indirect
81+
go.uber.org/zap v1.27.0 // indirect
82+
golang.org/x/crypto v0.22.0 // indirect
83+
golang.org/x/exp v0.0.0-20240416160154-fe59bbe5cc7f // indirect
84+
golang.org/x/net v0.24.0 // indirect
85+
golang.org/x/oauth2 v0.19.0 // indirect
86+
golang.org/x/sync v0.7.0 // indirect
87+
golang.org/x/sys v0.19.0 // indirect
88+
golang.org/x/term v0.19.0 // indirect
8989
golang.org/x/text v0.14.0 // indirect
9090
golang.org/x/time v0.5.0 // indirect
91-
google.golang.org/appengine v1.6.8 // indirect
9291
google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80 // indirect
9392
google.golang.org/genproto/googleapis/api v0.0.0-20240123012728-ef4313101c80 // indirect
9493
google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80 // indirect
@@ -97,13 +96,13 @@ require (
9796
gopkg.in/inf.v0 v0.9.1 // indirect
9897
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
9998
gopkg.in/yaml.v2 v2.4.0 // indirect
100-
k8s.io/apiserver v0.29.2 // indirect
101-
k8s.io/component-helpers v0.29.2 // indirect
102-
k8s.io/controller-manager v0.29.2 // indirect
103-
k8s.io/kms v0.29.2 // indirect
99+
k8s.io/apiserver v0.29.4 // indirect
100+
k8s.io/component-helpers v0.29.4 // indirect
101+
k8s.io/controller-manager v0.29.4 // indirect
102+
k8s.io/kms v0.29.4 // indirect
104103
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 // indirect
105-
k8s.io/utils v0.0.0-20240310230437-4693a0247e57 // indirect
106-
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.28.0 // indirect
104+
k8s.io/utils v0.0.0-20240502163921-fe8a2dddb1d0 // indirect
105+
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.28.6 // indirect
107106
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
108107
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
109108
sigs.k8s.io/yaml v1.4.0 // indirect

0 commit comments

Comments
 (0)