-
Notifications
You must be signed in to change notification settings - Fork 55
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.31.0 #80
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
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"),
} bumping Go version would also "incorporate" these changes: |
c6a10b9
to
0a6c6d6
Compare
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"),
} bumping Go version would also "incorporate" these changes: |
0a6c6d6
to
4169e6b
Compare
@dependabot rebase |
Bumps [github.com/testcontainers/testcontainers-go](https://github.com/testcontainers/testcontainers-go) from 0.26.0 to 0.31.0. - [Release notes](https://github.com/testcontainers/testcontainers-go/releases) - [Commits](testcontainers/testcontainers-go@v0.26.0...v0.31.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]>
4169e6b
to
91dd543
Compare
Superseded by #171. |
Bumps github.com/testcontainers/testcontainers-go from 0.26.0 to 0.31.0.
Release notes
Sourced from github.com/testcontainers/testcontainers-go's releases.
... (truncated)
Commits
896f379
chore: use new version (v0.31.0) in modules and examples788097d
feat(mongodb): add replica set support via opts (#2469)de893e1
fix(modules.kafka): Use broker container IP instead of host IP for advertised...5fa6548
feat: expose JSON representation of a container with Inspect (#2534)b181e3e
chore(deps): bump test-summary action to v2.3 (#2535)b5541e6
chore(deps): bump jinja2 from 3.1.3 to 3.1.4 (#2533)5c5ff44
Update devcontainer image (#2531)4effa16
chore(influxdb): include more characters in wait for log regex (#2532)5e97046
fix(compose): avoid race conditions when caching services (#2528)da2d5c5
chore(deps): bump golangci/golangci-lint-action from 3.7.0 to 5.1.0 (#2525)You can trigger a rebase of this PR 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)