Skip to content

spec/integration: remove github.com/ory/dockertest dependency - #87

Merged
kimago merged 1 commit into
mainfrom
chore/remove-dockertest-dependency
Dec 19, 2025
Merged

spec/integration: remove github.com/ory/dockertest dependency#87
kimago merged 1 commit into
mainfrom
chore/remove-dockertest-dependency

Conversation

@abg

@abg abg commented Dec 18, 2025

Copy link
Copy Markdown
Member

Simplifies the dependency chain for this integration test and avoids a new go vet error observed when bumping to the latest docker libraries:

$ go vet
/go/pkg/mod/github.com/docker/cli@v29.1.3+incompatible/opts/swarmopts/port.go:172:18: cannot range over pr.All() (value of func type iter.Seq[network.Port]): requires go1.23 or later (-lang was set to go1.16; check go.mod)

Now this test uses a thin wrapper around the docker cli and does not require a Go docker library + a long tail of transitive dependencies.

TNZ-72409

Simplifies the dependency chain for this integration test and avoids a
new go vet error observed when bumping to the latest docker libraries:

```
$ go vet
/go/pkg/mod/github.com/docker/cli@v29.1.3+incompatible/opts/swarmopts/port.go:172:18: cannot range over pr.All() (value of func type iter.Seq[network.Port]): requires go1.23 or later (-lang was set to go1.16; check go.mod)
```

Now this test uses a thin wrapper around the docker cli and does not
require a Go docker library + a long tail of transitive dependencies.

[TNZ-72409](https://vmw-jira.broadcom.net/browse/TNZ-72409)

@kimago kimago left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Reviewed changes, and successfully ran integration tests locally.

@github-project-automation github-project-automation Bot moved this from Inbox to Pending Merge | Prioritized in Foundational Infrastructure Working Group Dec 19, 2025
@kimago
kimago merged commit 0b2b3be into main Dec 19, 2025
2 checks passed
@github-project-automation github-project-automation Bot moved this from Pending Merge | Prioritized to Done in Foundational Infrastructure Working Group Dec 19, 2025
@abg
abg deleted the chore/remove-dockertest-dependency branch December 23, 2025 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants