Commit ab197b5
authored
chore(deps): upgrade github.com/replicatedhq/troubleshoot to v0.128.1 (#5908)
* Align k8s dependencies to v1.36.0 to fix go mod tidy conflicts
Upgrades github.com/k0sproject/k0s to latest main to resolve
k8s.io/kubernetes v1.35.0 -> v1.36.0 mismatch that was breaking
k8s.io/api/scheduling/v1alpha1 imports during go mod tidy.
Also adds a replace directive for opencontainers/runc v1.3.3 to
maintain compatibility with github.com/ory/dockertest/v3 used in
integration tests.
* Upgrade github.com/ory/dockertest/v3 to v4.0.0
Migrates integration/database/rqlite_migration_test.go from the v3
struct-based API to the v4 functional-options API.
Key changes:
- dockertest.NewPool now requires context.Context
- pool.Run uses functional options (WithName, WithTag, WithEnv, etc.)
- Port bindings use network.ParsePort and network.PortMap
- Host config uses moby container.HostConfig types
- Retry requires context and timeout
- Resource cleanup uses Close(ctx) instead of Purge
- Custom removeContainerByName helper since v4 drops RemoveContainerByName
This also removes the github.com/opencontainers/runc replace directive
that was only needed to keep dockertest v3 working.1 parent c3393e8 commit ab197b5
3 files changed
Lines changed: 368 additions & 363 deletions
0 commit comments