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

build(deps): bump github.com/testcontainers/testcontainers-go from 0.26.0 to 0.28.0 #13

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 19, 2024

Bumps github.com/testcontainers/testcontainers-go from 0.26.0 to 0.28.0.

Release notes

Sourced from github.com/testcontainers/testcontainers-go's releases.

v0.28.0

What's Changed

⚠️ Breaking Changes

  • [breaking] Add err chan to log producer and don't panic on error (#1971) @​Tofel

If you are starting a log producer, it's now possible to pass log options in a variadic manner (at this moment only the log producer timeout option is available). So this breaking change will affect you if and only if you are assigning the StartLogProducer method of a container to a variable.

🚀 Features

🐛 Bug Fixes

📖 Documentation

🧹 Housekeeping

... (truncated)

Commits
  • 357cff8 chore: use new version (v0.28.0) in modules and examples
  • c906e65 chore: define proper execution order for container lifecycle hooks (#1922)
  • 50fc8e7 Added Consul module (#2194)
  • 1f628e2 fix: wait more time in test (#2211)
  • 4bf9515 chore(ci): do not fail fast main tests in different Go versions (#2210)
  • 48fc228 feat (postgres): support for creating and restoring Snapshots (#2199)
  • 54b1d8a fix: apply volume options only to volumes (#2201)
  • f012d34 redpanda/test: add admin client call (#2200)
  • 0e16af2 chore(deps): bump cloud.google.com/go/spanner from 1.55.0 to 1.56.0 in /modul...
  • 3562ef7 chore(deps): bump github.com/docker/docker from 25.0.1+incompatible to 25.0.2...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Feb 19, 2024
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: dependabot[bot]
Once this PR has been reviewed and has the lgtm label, please assign rareddy for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link
Member

@tarilabs tarilabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This update is on hold: this requires Go >= 1.20.

There is also opportunity then to change deprecated method:

diff --git a/internal/testutils/test_container_utils.go b/internal/testutils/test_container_utils.go
index 42671550..c3ee82c7 100644
--- a/internal/testutils/test_container_utils.go
+++ b/internal/testutils/test_container_utils.go
@@ -7,6 +7,7 @@ import (
 	"os"
 	"testing"
 
+	"github.com/docker/docker/api/types/container"
 	"github.com/opendatahub-io/model-registry/internal/ml_metadata/proto"
 	"github.com/testcontainers/testcontainers-go"
 	"github.com/testcontainers/testcontainers-go/wait"
@@ -82,13 +83,8 @@ func SetupMLMetadataTestContainer(t *testing.T) (*grpc.ClientConn, proto.Metadat
 		Env: map[string]string{
 			"METADATA_STORE_SERVER_CONFIG_FILE": "/tmp/shared/conn_config.pb",
 		},
-		Mounts: testcontainers.ContainerMounts{
-			testcontainers.ContainerMount{
-				Source: testcontainers.GenericBindMountSource{
-					HostPath: wd,
-				},
-				Target: "/tmp/shared",
-			},
+		HostConfigModifier: func(hc *container.HostConfig) {
+			hc.Binds = []string{wd + ":/tmp/shared"}
 		},
 		WaitingFor: wait.ForLog("Server listening on"),
 	}

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.28.0 branch 2 times, most recently from 7d2a26d to eb756bf Compare February 20, 2024 14:42
Bumps [github.com/testcontainers/testcontainers-go](https://github.com/testcontainers/testcontainers-go) from 0.26.0 to 0.28.0.
- [Release notes](https://github.com/testcontainers/testcontainers-go/releases)
- [Commits](testcontainers/testcontainers-go@v0.26.0...v0.28.0)

---
updated-dependencies:
- dependency-name: github.com/testcontainers/testcontainers-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.28.0 branch from eb756bf to 9e6c2bc Compare February 27, 2024 07:56
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 8, 2024

Superseded by #32.

@dependabot dependabot bot closed this Mar 8, 2024
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.28.0 branch March 8, 2024 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant