Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monthly dependency updates #61

Merged
merged 2 commits into from
Jun 10, 2024
Merged

Monthly dependency updates #61

merged 2 commits into from
Jun 10, 2024

Conversation

tvoran
Copy link
Member

@tvoran tvoran commented Jun 7, 2024

Overview

The usual monthly dependency updates, since this month's job failed during go mod tidy https://github.com/hashicorp/vault-plugin-secrets-kubernetes/actions/runs/9325964363:

go: github.com/hashicorp/vault-plugin-secrets-kubernetes imports
	github.com/hashicorp/vault/sdk/logical imports
	github.com/hashicorp/vault/sdk/helper/pluginutil imports
	github.com/hashicorp/go-secure-stdlib/plugincontainer imports
	github.com/docker/docker/client tested by
	github.com/docker/docker/client.test imports
	github.com/docker/docker/testutil imports
	go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp imports
	go.opentelemetry.io/proto/otlp/collector/trace/v1 imports
	github.com/grpc-ecosystem/grpc-gateway/v2/runtime imports
	google.golang.org/genproto/googleapis/api/httpbody: ambiguous import: found package google.golang.org/genproto/googleapis/api/httpbody in multiple modules:
	google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 (/home/runner/go/pkg/mod/google.golang.org/[email protected]/googleapis/api/httpbody)
	google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 (/home/runner/go/pkg/mod/google.golang.org/genproto/googleapis/[email protected]/httpbody)
Error: Process completed with exit code 1.

It seems to be because of something in vault/sdk, and installing the same version of otlptracehttp as vault/sdk uses seems to get around it.

Design of Change

go list -u -m -json all | jq -r 'select(.Indirect != true and .Update != null) | .Path+"@"+.Update.Version' > deps.txt
xargs -L1 go get < deps.txt
go get go.opentelemetry.io/otel/exporters/otlp/otlptrace/[email protected]
go mod tidy

Related Issues/Pull Requests

@tvoran
Copy link
Member Author

tvoran commented Jun 10, 2024

Thanks!

@tvoran tvoran merged commit 0b5da18 into main Jun 10, 2024
13 checks passed
@tvoran tvoran deleted the VAULT-27959/update-deps branch June 10, 2024 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants