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.32.0 #171

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 8, 2024

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

Release notes

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

v0.32.0

What's Changed

🚀 Features

🐛 Bug Fixes

📖 Documentation

🧹 Housekeeping

... (truncated)

Commits
  • 5fb8f5c chore: use new version (v0.32.0) in modules and examples
  • 80e57e1 feat: honour go toolchain's verbose flag to print out logs (#2624)
  • 306f185 Fix issues in BuildImage() (#2626)
  • 3f73722 docs: indicate version for the Run function (#2627)
  • ee9a148 chore: remove duplicated tests for config (#2628)
  • 9cd7bcb Log retried errors (#2613)
  • d60fc7c fix: do not use deprecated method in postgres tests (#2623)
  • 8e4728b feat: prepare modules for the new API (#2610)
  • a32fe92 chore(deps): bump mkdocs-include-markdown-plugin from 6.0.4 to 6.2.1 (#2617)
  • 5576778 chore(deps): bump peter-evans/slash-command-dispatch from 3.0.2 to 4.0.0 (#2561)
  • 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)

Bumps [github.com/testcontainers/testcontainers-go](https://github.com/testcontainers/testcontainers-go) from 0.26.0 to 0.32.0.
- [Release notes](https://github.com/testcontainers/testcontainers-go/releases)
- [Commits](testcontainers/testcontainers-go@v0.26.0...v0.32.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] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jul 8, 2024
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.

We likely need:

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"),
 	}

Signed-off-by: Matteo Mortari <matteo.mortari@gmail.com>
as the problem does not reproduce locally

Signed-off-by: Matteo Mortari <matteo.mortari@gmail.com>
Signed-off-by: Matteo Mortari <matteo.mortari@gmail.com>
@tarilabs tarilabs force-pushed the dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.32.0 branch from e12ee20 to c882df6 Compare July 8, 2024 14:14
* fix: bumped csi version to 1.21, which was causing toolchain issues

Signed-off-by: Dhiraj Bokde <dhirajsb@users.noreply.github.com>

* fix: align go version across readme, go.mod versions

Signed-off-by: Dhiraj Bokde <dhirajsb@users.noreply.github.com>

---------

Signed-off-by: Dhiraj Bokde <dhirajsb@users.noreply.github.com>
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.

thanks @dhirajsb for the contrib

bump of testcontainers lib used in Go test for Integration testing.
refactor use of deprecated code for updated method.
bump of linter version and settings, bump of go mods file to avoid linter crashing.

/lgtm
/approve

Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tarilabs

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

The pull request process is described 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

@google-oss-prow google-oss-prow bot merged commit 99372a5 into main Jul 10, 2024
14 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.32.0 branch July 10, 2024 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved dependencies Pull requests that update a dependency file go Pull requests that update Go code lgtm size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants