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

Update docker pkg to v27.2.1 #20

Merged
merged 2 commits into from
Sep 20, 2024
Merged

Update docker pkg to v27.2.1 #20

merged 2 commits into from
Sep 20, 2024

Conversation

tvoran
Copy link
Member

@tvoran tvoran commented Sep 20, 2024

Replaced deprecated docker types and updated docker:

  • types.NetworkCreate{} -> network.CreateOptions{}
  • types.CopyToContainerOptions{} -> container.CopyToContainerOptions{}
go get github.com/docker/[email protected]
go get go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp@latest
go mod tidy

Tests:

❯ go test -v -count=1 ./...            
?   	github.com/hashicorp/vault-testing-stepwise/environments/docker	[no test files]
=== RUN   TestStepwise_Run_SkipIfNotAcc
2024-09-19T23:43:28.040-0700 [WARN]  Executing test step: step_number=1/1
--- PASS: TestStepwise_Run_SkipIfNotAcc (0.00s)
=== RUN   TestStepwise_Run_Basic
=== RUN   TestStepwise_Run_Basic/basic_list_read
2024-09-19T23:43:28.040-0700 [WARN]  Executing test step: step_number=1/2
2024-09-19T23:43:28.042-0700 [WARN]  Executing test step: step_number=2/2
=== RUN   TestStepwise_Run_Basic/basic_unauth
2024-09-19T23:43:28.043-0700 [WARN]  Executing test step: step_number=1/1
=== RUN   TestStepwise_Run_Basic/error
2024-09-19T23:43:28.043-0700 [WARN]  Executing test step: step_number=1/2
2024-09-19T23:43:28.043-0700 [WARN]  Executing test step: step_number=2/2
=== RUN   TestStepwise_Run_Basic/nil-env
=== RUN   TestStepwise_Run_Basic/skipTeardown
2024-09-19T23:43:28.044-0700 [WARN]  Executing test step: step_number=1/4
2024-09-19T23:43:28.044-0700 [WARN]  Executing test step: step_number=2/4
2024-09-19T23:43:28.044-0700 [WARN]  Executing test step: step_number=3/4
2024-09-19T23:43:28.044-0700 [WARN]  Executing test step: step_number=4/4
2024-09-19T23:43:28.045-0700 [INFO]  driver Teardown skipped
=== RUN   TestStepwise_Run_Basic/basic_list
2024-09-19T23:43:28.045-0700 [WARN]  Executing test step: step_number=1/1
--- PASS: TestStepwise_Run_Basic (0.00s)
    --- PASS: TestStepwise_Run_Basic/basic_list_read (0.00s)
    --- PASS: TestStepwise_Run_Basic/basic_unauth (0.00s)
    --- PASS: TestStepwise_Run_Basic/error (0.00s)
    --- PASS: TestStepwise_Run_Basic/nil-env (0.00s)
    --- PASS: TestStepwise_Run_Basic/skipTeardown (0.00s)
    --- PASS: TestStepwise_Run_Basic/basic_list (0.00s)
=== RUN   TestStepwise_makeRequest
=== RUN   TestStepwise_makeRequest/list
=== RUN   TestStepwise_makeRequest/read
=== RUN   TestStepwise_makeRequest/write
=== RUN   TestStepwise_makeRequest/update
=== RUN   TestStepwise_makeRequest/update_unauth
=== RUN   TestStepwise_makeRequest/delete
=== RUN   TestStepwise_makeRequest/error
--- PASS: TestStepwise_makeRequest (0.00s)
    --- PASS: TestStepwise_makeRequest/list (0.00s)
    --- PASS: TestStepwise_makeRequest/read (0.00s)
    --- PASS: TestStepwise_makeRequest/write (0.00s)
    --- PASS: TestStepwise_makeRequest/update (0.00s)
    --- PASS: TestStepwise_makeRequest/update_unauth (0.00s)
    --- PASS: TestStepwise_makeRequest/delete (0.00s)
    --- PASS: TestStepwise_makeRequest/error (0.00s)
PASS
ok  	github.com/hashicorp/vault-testing-stepwise	0.271s

Related to hashicorp/vault#28456

go get github.com/docker/[email protected]
go get go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp@latest
go mod tidy
with container.CopyToContainerOptions{}
@tvoran tvoran requested a review from a team September 20, 2024 06:48
@tvoran
Copy link
Member Author

tvoran commented Sep 20, 2024

Thanks!

@tvoran tvoran merged commit 40b261c into main Sep 20, 2024
1 check passed
@tvoran tvoran deleted the VAULT-30850/docker-v27 branch September 20, 2024 17:04
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