Skip to content

Commit

Permalink
fix(deps): update testcontainers-go monorepo to v0.32.0 (#222)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/testcontainers/testcontainers-go](https://togithub.com/testcontainers/testcontainers-go)
| `v0.29.1` -> `v0.32.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2ftestcontainers%2ftestcontainers-go/v0.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2ftestcontainers%2ftestcontainers-go/v0.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2ftestcontainers%2ftestcontainers-go/v0.29.1/v0.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2ftestcontainers%2ftestcontainers-go/v0.29.1/v0.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[github.com/testcontainers/testcontainers-go/modules/postgres](https://togithub.com/testcontainers/testcontainers-go)
| `v0.29.1` -> `v0.32.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2ftestcontainers%2ftestcontainers-go%2fmodules%2fpostgres/v0.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2ftestcontainers%2ftestcontainers-go%2fmodules%2fpostgres/v0.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2ftestcontainers%2ftestcontainers-go%2fmodules%2fpostgres/v0.29.1/v0.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2ftestcontainers%2ftestcontainers-go%2fmodules%2fpostgres/v0.29.1/v0.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>testcontainers/testcontainers-go
(github.com/testcontainers/testcontainers-go)</summary>

###
[`v0.32.0`](https://togithub.com/testcontainers/testcontainers-go/releases/tag/v0.32.0)

[Compare
Source](https://togithub.com/testcontainers/testcontainers-go/compare/v0.31.0...v0.32.0)

##### What's Changed

##### 🚀 Features

- feat: honour go toolchain's verbose flag to print out logs
([#&#8203;2624](https://togithub.com/testcontainers/testcontainers-go/issues/2624))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- feat: prepare modules for the new API
([#&#8203;2610](https://togithub.com/testcontainers/testcontainers-go/issues/2610))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- feat(postgres): use faster sql.DB instead of docker exec psql for
snapshot/restore \[rebased for main]
([#&#8203;2600](https://togithub.com/testcontainers/testcontainers-go/issues/2600))
[@&#8203;cfstras](https://togithub.com/cfstras)
- feat: add azurite module
([#&#8203;2569](https://togithub.com/testcontainers/testcontainers-go/issues/2569))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- feat: add testcontainers labels to the built images
([#&#8203;2579](https://togithub.com/testcontainers/testcontainers-go/issues/2579))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- feat(mongodb): Make the replica set name configurable
([#&#8203;2538](https://togithub.com/testcontainers/testcontainers-go/issues/2538))
[@&#8203;shubhamrajvanshi](https://togithub.com/shubhamrajvanshi)
- feat: add vearch module
([#&#8203;2560](https://togithub.com/testcontainers/testcontainers-go/issues/2560))
[@&#8203;zhanghexian](https://togithub.com/zhanghexian)
- feat(ryuk): allow to configure ryuk timeouts using env variables
([#&#8203;2541](https://togithub.com/testcontainers/testcontainers-go/issues/2541))
[@&#8203;fcx-mrogez](https://togithub.com/fcx-mrogez)

##### 🐛 Bug Fixes

- fix: never cache JSON representation of a container
([#&#8203;2606](https://togithub.com/testcontainers/testcontainers-go/issues/2606))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- fix: Rename TC_HOST environment variable to
TESTCONTAINERS_HOST_OVERRIDE
([#&#8203;2536](https://togithub.com/testcontainers/testcontainers-go/issues/2536))
[@&#8203;hanapedia](https://togithub.com/hanapedia)
- fix: allow compose files and readers to be used together
([#&#8203;2598](https://togithub.com/testcontainers/testcontainers-go/issues/2598))
[@&#8203;BoKleynen](https://togithub.com/BoKleynen)
- fix: proper synchronisation for start/stop log production
([#&#8203;2576](https://togithub.com/testcontainers/testcontainers-go/issues/2576))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- fix: prepend substitutors for built images
([#&#8203;2577](https://togithub.com/testcontainers/testcontainers-go/issues/2577))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- fix(cockroachdb): Fixes cockroachdb wait strategy handling
([#&#8203;2456](https://togithub.com/testcontainers/testcontainers-go/issues/2456))
[@&#8203;bearrito](https://togithub.com/bearrito)
- Fix race condition when looking up reaper (ryuk) container
([#&#8203;2508](https://togithub.com/testcontainers/testcontainers-go/issues/2508))
[@&#8203;emetsger](https://togithub.com/emetsger)
- Handle error properly during port forwarding initialization.
([#&#8203;2550](https://togithub.com/testcontainers/testcontainers-go/issues/2550))
[@&#8203;cedric-appdirect](https://togithub.com/cedric-appdirect)
- Fix network accessor for port-forwarding feature
([#&#8203;2551](https://togithub.com/testcontainers/testcontainers-go/issues/2551))
[@&#8203;JulienBreux](https://togithub.com/JulienBreux)
- fix: add import to module generation
([#&#8203;2537](https://togithub.com/testcontainers/testcontainers-go/issues/2537))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)

##### 📖 Documentation

- docs: indicate version for the Run function
([#&#8203;2627](https://togithub.com/testcontainers/testcontainers-go/issues/2627))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- docs: document ryuk timeouts for compose
([#&#8203;2620](https://togithub.com/testcontainers/testcontainers-go/issues/2620))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- docs: document disabling ryuk with properties
([#&#8203;2603](https://togithub.com/testcontainers/testcontainers-go/issues/2603))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- docs: example for NATS cluster
([#&#8203;2591](https://togithub.com/testcontainers/testcontainers-go/issues/2591))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- docs: fix deprecation warning for material extensions emoji
([#&#8203;2592](https://togithub.com/testcontainers/testcontainers-go/issues/2592))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- docs: update contributing guide
([#&#8203;2586](https://togithub.com/testcontainers/testcontainers-go/issues/2586))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- docs: update colima docs
([#&#8203;2578](https://togithub.com/testcontainers/testcontainers-go/issues/2578))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- docs(compose): Fix typo docker compose docs
([#&#8203;2565](https://togithub.com/testcontainers/testcontainers-go/issues/2565))
[@&#8203;ynfle](https://togithub.com/ynfle)
- fix: update search bar eval in mkdocs
([#&#8203;2547](https://togithub.com/testcontainers/testcontainers-go/issues/2547))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- docs: improve contributing docs for code snippets
([#&#8203;2546](https://togithub.com/testcontainers/testcontainers-go/issues/2546))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- docs: document test session semantics
([#&#8203;2544](https://togithub.com/testcontainers/testcontainers-go/issues/2544))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- docs: fix CircleCI docs
([#&#8203;2539](https://togithub.com/testcontainers/testcontainers-go/issues/2539))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)

##### 🧹 Housekeeping

- Fix issues in BuildImage()
([#&#8203;2626](https://togithub.com/testcontainers/testcontainers-go/issues/2626))
[@&#8203;ash2k](https://togithub.com/ash2k)
- chore: remove duplicated tests for config
([#&#8203;2628](https://togithub.com/testcontainers/testcontainers-go/issues/2628))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- Log retried errors
([#&#8203;2613](https://togithub.com/testcontainers/testcontainers-go/issues/2613))
[@&#8203;ash2k](https://togithub.com/ash2k)
- fix: do not use deprecated method in postgres tests
([#&#8203;2623](https://togithub.com/testcontainers/testcontainers-go/issues/2623))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- chore: use self-hosted worker for Windows tests
([#&#8203;2619](https://togithub.com/testcontainers/testcontainers-go/issues/2619))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- chore: remove most uses of TestcontainersConfig and deprecated
TestcontainersConfig fields.
([#&#8203;2614](https://togithub.com/testcontainers/testcontainers-go/issues/2614))
[@&#8203;thaJeztah](https://togithub.com/thaJeztah)
- chore: test cleanups
([#&#8203;2608](https://togithub.com/testcontainers/testcontainers-go/issues/2608))
[@&#8203;ash2k](https://togithub.com/ash2k)
- chore(ci): pass docker install type to the nightly build payload
([#&#8203;2612](https://togithub.com/testcontainers/testcontainers-go/issues/2612))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- chore: run rootless mode in nighlty builds
([#&#8203;2611](https://togithub.com/testcontainers/testcontainers-go/issues/2611))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- chore: improve log handling when container is stopping
([#&#8203;2601](https://togithub.com/testcontainers/testcontainers-go/issues/2601))
[@&#8203;ash2k](https://togithub.com/ash2k)
- chore(tests): rename test variables to kill sshd container more
consistently
([#&#8203;2597](https://togithub.com/testcontainers/testcontainers-go/issues/2597))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- network: WithCheckDuplicate: don't set CheckDuplicate value
([#&#8203;2589](https://togithub.com/testcontainers/testcontainers-go/issues/2589))
[@&#8203;thaJeztah](https://togithub.com/thaJeztah)
- chore: skip reaper tests if ryuk is disabled
([#&#8203;2582](https://togithub.com/testcontainers/testcontainers-go/issues/2582))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- chore: increase check time to 60 secs instead of 20
([#&#8203;2581](https://togithub.com/testcontainers/testcontainers-go/issues/2581))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- chore: bring golangci-lint back
([#&#8203;2571](https://togithub.com/testcontainers/testcontainers-go/issues/2571))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- chore: use a virtualenv for working with the docs site
([#&#8203;2545](https://togithub.com/testcontainers/testcontainers-go/issues/2545))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)

##### 📦 Dependency updates

- chore(deps): bump mkdocs-include-markdown-plugin from 6.0.4 to 6.2.1
([#&#8203;2617](https://togithub.com/testcontainers/testcontainers-go/issues/2617))
[@&#8203;dependabot](https://togithub.com/dependabot)
- chore(deps): bump peter-evans/slash-command-dispatch from 3.0.2 to
4.0.0
([#&#8203;2561](https://togithub.com/testcontainers/testcontainers-go/issues/2561))
[@&#8203;dependabot](https://togithub.com/dependabot)
- chore(deps): bump github.com/docker/docker from v27.0.2 to v27.0.3
([#&#8203;2615](https://togithub.com/testcontainers/testcontainers-go/issues/2615))
[@&#8203;thaJeztah](https://togithub.com/thaJeztah)
- chore(deps): bump github.com/docker/docker from v26.1.4 to v27.0.2
([#&#8203;2593](https://togithub.com/testcontainers/testcontainers-go/issues/2593))
[@&#8203;thaJeztah](https://togithub.com/thaJeztah)
- chore(deps): bump github.com/hashicorp/go-retryablehttp from 0.7.2 to
0.7.7 in /modules/vault
([#&#8203;2605](https://togithub.com/testcontainers/testcontainers-go/issues/2605))
[@&#8203;dependabot](https://togithub.com/dependabot)
- Add support for Weaviate v1.25
([#&#8203;2604](https://togithub.com/testcontainers/testcontainers-go/issues/2604))
[@&#8203;antas-marcin](https://togithub.com/antas-marcin)
- chore(deps): bump urllib3 from 2.2.1 to 2.2.2
([#&#8203;2590](https://togithub.com/testcontainers/testcontainers-go/issues/2590))
[@&#8203;dependabot](https://togithub.com/dependabot)
- docs: fix deprecation warning for material extensions emoji
([#&#8203;2592](https://togithub.com/testcontainers/testcontainers-go/issues/2592))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- gha: update golangci-lint to v1.59.1
([#&#8203;2588](https://togithub.com/testcontainers/testcontainers-go/issues/2588))
[@&#8203;thaJeztah](https://togithub.com/thaJeztah)
- chore(deps): bump github.com/docker/docker from v25.0.5 to v26.1.4
([#&#8203;2584](https://togithub.com/testcontainers/testcontainers-go/issues/2584))
[@&#8203;thaJeztah](https://togithub.com/thaJeztah)
- chore: pin vearch version
([#&#8203;2568](https://togithub.com/testcontainers/testcontainers-go/issues/2568))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- chore: run tests against latest Docker engine, nightly
([#&#8203;2566](https://togithub.com/testcontainers/testcontainers-go/issues/2566))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- chore(deps): bump mkdocs-include-markdown-plugin from 6.0.4 to 6.0.7
([#&#8203;2562](https://togithub.com/testcontainers/testcontainers-go/issues/2562))
[@&#8203;dependabot](https://togithub.com/dependabot)
- chore(deps): bump requests from 2.31.0 to 2.32.0
([#&#8203;2549](https://togithub.com/testcontainers/testcontainers-go/issues/2549))
[@&#8203;dependabot](https://togithub.com/dependabot)

###
[`v0.31.0`](https://togithub.com/testcontainers/testcontainers-go/releases/tag/v0.31.0)

[Compare
Source](https://togithub.com/testcontainers/testcontainers-go/compare/v0.30.0...v0.31.0)

### What's Changed

#### ⚠️ Breaking Changes

- break: return error from Customize request option
([#&#8203;2267](https://togithub.com/testcontainers/testcontainers-go/issues/2267))
[@&#8203;stevenh](https://togithub.com/stevenh)

##### Are you hosting your own Testcontainers for Go module?

If you are hosting your own module, please update all the custom options
you created for the module, updating them to return an error in the case
it occurs. This breaking change is needed to provide a more robust and
consistent API for creating modules, allowing module authors to create
custom code to customise the container avoiding panics.

#### 🔒 Security

- chore(deps): bump github.com/containerd/containerd from 1.7.12 to
1.7.15
([#&#8203;2517](https://togithub.com/testcontainers/testcontainers-go/issues/2517))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)

#### 🚀 Features

- feat(modules.mongodb): add replica set support via opts
([#&#8203;2469](https://togithub.com/testcontainers/testcontainers-go/issues/2469))
[@&#8203;heiytor](https://togithub.com/heiytor)
- feat: expose JSON representation of a container with Inspect
([#&#8203;2534](https://togithub.com/testcontainers/testcontainers-go/issues/2534))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- feat: forward host ports to a container using an SSH tunnel
([#&#8203;2471](https://togithub.com/testcontainers/testcontainers-go/issues/2471))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- feat: support overriding the default recreate options for compose
([#&#8203;2511](https://togithub.com/testcontainers/testcontainers-go/issues/2511))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- feat: support passing io.Reader for compose files when creating a
compose instance
([#&#8203;2509](https://togithub.com/testcontainers/testcontainers-go/issues/2509))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- feat: support Ryuk for the compose module
([#&#8203;2485](https://togithub.com/testcontainers/testcontainers-go/issues/2485))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- feat: Bump default postgres version
([#&#8203;2481](https://togithub.com/testcontainers/testcontainers-go/issues/2481))
[@&#8203;bearrito](https://togithub.com/bearrito)
- support Dolt
([#&#8203;2177](https://togithub.com/testcontainers/testcontainers-go/issues/2177))
[@&#8203;coffeegoddd](https://togithub.com/coffeegoddd)
- Elasticsearch disable CA retrieval when ssl is disabled
([#&#8203;2475](https://togithub.com/testcontainers/testcontainers-go/issues/2475))
[@&#8203;Anaethelion](https://togithub.com/Anaethelion)

#### 🐛 Bug Fixes

- fix(modules.kafka): Use broker container IP instead of host IP for
advertised broker listener
([#&#8203;1989](https://togithub.com/testcontainers/testcontainers-go/issues/1989))
[@&#8203;khartld](https://togithub.com/khartld)
- fix(compose): avoid race conditions when caching services
([#&#8203;2528](https://togithub.com/testcontainers/testcontainers-go/issues/2528))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- fix: enhance host configuration port binding
([#&#8203;2512](https://togithub.com/testcontainers/testcontainers-go/issues/2512))
[@&#8203;wilsouza](https://togithub.com/wilsouza)
- fix: don't retry on permanent APIClient errors
([#&#8203;2506](https://togithub.com/testcontainers/testcontainers-go/issues/2506))
[@&#8203;p-jahn](https://togithub.com/p-jahn)
- fix: fallback to URL-path when parsing auth config URL without scheme
([#&#8203;2488](https://togithub.com/testcontainers/testcontainers-go/issues/2488))
[@&#8203;p-jahn](https://togithub.com/p-jahn)
- fix(postgres): Fix the non-default dbname error
([#&#8203;2489](https://togithub.com/testcontainers/testcontainers-go/issues/2489))
[@&#8203;Minivera](https://togithub.com/Minivera)

#### 📖 Documentation

- docs: add documentation for Exec method
([#&#8203;2451](https://togithub.com/testcontainers/testcontainers-go/issues/2451))
[@&#8203;gustavosbarreto](https://togithub.com/gustavosbarreto)
- docs: document the SSHd tunnel
([#&#8203;2514](https://togithub.com/testcontainers/testcontainers-go/issues/2514))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- \[doc] Fix follow_logs.md by adding missing package
([#&#8203;2513](https://togithub.com/testcontainers/testcontainers-go/issues/2513))
[@&#8203;JulienBreux](https://togithub.com/JulienBreux)

#### 🧹 Housekeeping

- chore(influxdb): include more characters in wait for log regex
([#&#8203;2532](https://togithub.com/testcontainers/testcontainers-go/issues/2532))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- chore(compose): return error in options
([#&#8203;2520](https://togithub.com/testcontainers/testcontainers-go/issues/2520))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- fix: use new UUID for sshd server password
([#&#8203;2515](https://togithub.com/testcontainers/testcontainers-go/issues/2515))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- chore: add funding button for testcontainers
([#&#8203;2510](https://togithub.com/testcontainers/testcontainers-go/issues/2510))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- chore: create TLS certs in a consistent manner
([#&#8203;2478](https://togithub.com/testcontainers/testcontainers-go/issues/2478))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- fix: handle dockerignore exclusions properly
([#&#8203;2476](https://togithub.com/testcontainers/testcontainers-go/issues/2476))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)

#### 📦 Dependency updates

- chore(deps): bump test-summary action to v2.3
([#&#8203;2535](https://togithub.com/testcontainers/testcontainers-go/issues/2535))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- chore(deps): bump jinja2 from 3.1.3 to 3.1.4
([#&#8203;2533](https://togithub.com/testcontainers/testcontainers-go/issues/2533))
[@&#8203;dependabot](https://togithub.com/dependabot)
- Update devcontainer image
([#&#8203;2531](https://togithub.com/testcontainers/testcontainers-go/issues/2531))
[@&#8203;bells17](https://togithub.com/bells17)
- chore(deps): bump golangci/golangci-lint-action from 3.7.0 to 5.1.0
([#&#8203;2525](https://togithub.com/testcontainers/testcontainers-go/issues/2525))
[@&#8203;dependabot](https://togithub.com/dependabot)
- chore(deps): bump mkdocs-material from 8.2.7 to 9.5.18
([#&#8203;2524](https://togithub.com/testcontainers/testcontainers-go/issues/2524))
[@&#8203;dependabot](https://togithub.com/dependabot)
- chore(deps): bump github.com/compose-spec/compose-go/v2 from
v2.0.0-rc8 to v2.1.0
([#&#8203;2519](https://togithub.com/testcontainers/testcontainers-go/issues/2519))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- chore(deps): bump github.com/containerd/containerd from 1.7.12 to
1.7.15
([#&#8203;2517](https://togithub.com/testcontainers/testcontainers-go/issues/2517))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- chore(deps): bump golang.org/x/net in modules (minio, gcloud,
weaviate, compose, qdrant, couchbase, k3s, milvus, mockserver, pulsar,
kafka)
([#&#8203;2505](https://togithub.com/testcontainers/testcontainers-go/issues/2505))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- chore(deps): bump idna from 3.6 to 3.7
([#&#8203;2480](https://togithub.com/testcontainers/testcontainers-go/issues/2480))
[@&#8203;dependabot](https://togithub.com/dependabot)

###
[`v0.30.0`](https://togithub.com/testcontainers/testcontainers-go/releases/tag/v0.30.0)

[Compare
Source](https://togithub.com/testcontainers/testcontainers-go/compare/v0.29.1...v0.30.0)

### What's Changed

#### 🚀 Features

- feat(k6):Add remote test scripts
([#&#8203;2350](https://togithub.com/testcontainers/testcontainers-go/issues/2350))
[@&#8203;bearrito](https://togithub.com/bearrito)
- feat: optimizes file copies to and from containers
([#&#8203;2450](https://togithub.com/testcontainers/testcontainers-go/issues/2450))
[@&#8203;codefromthecrypt](https://togithub.com/codefromthecrypt)
- feat(exitcode): Add exit code sugar method
([#&#8203;2342](https://togithub.com/testcontainers/testcontainers-go/issues/2342))
[@&#8203;bearrito](https://togithub.com/bearrito)
- feat: add module to support InfluxDB v1.x
([#&#8203;1703](https://togithub.com/testcontainers/testcontainers-go/issues/1703))
[@&#8203;JJCinAZ](https://togithub.com/JJCinAZ)
- feat: authenticate docker on PullImage
([#&#8203;2446](https://togithub.com/testcontainers/testcontainers-go/issues/2446))
[@&#8203;codefromthecrypt](https://togithub.com/codefromthecrypt)
- feat: add distribution-registry module
([#&#8203;2341](https://togithub.com/testcontainers/testcontainers-go/issues/2341))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- feat: support passing io.Reader as ContainerFile
([#&#8203;2401](https://togithub.com/testcontainers/testcontainers-go/issues/2401))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- feat(MustConn): Add MustConnectionString on (some) dbs
([#&#8203;2343](https://togithub.com/testcontainers/testcontainers-go/issues/2343))
[@&#8203;bearrito](https://togithub.com/bearrito)
- feat: support for waiting for response headers
([#&#8203;2349](https://togithub.com/testcontainers/testcontainers-go/issues/2349))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- Add method for getting Weaviate's gRPC port
([#&#8203;2339](https://togithub.com/testcontainers/testcontainers-go/issues/2339))
[@&#8203;antas-marcin](https://togithub.com/antas-marcin)
- feat: add openfga module
([#&#8203;2332](https://togithub.com/testcontainers/testcontainers-go/issues/2332))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)

#### 🐛 Bug Fixes

- Fix: HTTP wait strategy does not take query params into account
([#&#8203;2466](https://togithub.com/testcontainers/testcontainers-go/issues/2466))
[@&#8203;benja-M-1](https://togithub.com/benja-M-1)
- fix: logging deadlock
([#&#8203;2346](https://togithub.com/testcontainers/testcontainers-go/issues/2346))
[@&#8203;stevenh](https://togithub.com/stevenh)
- fix(exec): updates the `Multiplexed` opt to combine stdout and stderr
([#&#8203;2452](https://togithub.com/testcontainers/testcontainers-go/issues/2452))
[@&#8203;gustavosbarreto](https://togithub.com/gustavosbarreto)
- bug:Fix AMQPS url
([#&#8203;2462](https://togithub.com/testcontainers/testcontainers-go/issues/2462))
[@&#8203;bearrito](https://togithub.com/bearrito)
- Added error handling for context.Canceled in log reading code
([#&#8203;2268](https://togithub.com/testcontainers/testcontainers-go/issues/2268))
[@&#8203;prateekdwivedi](https://togithub.com/prateekdwivedi)
- fix: consul race on HTTP port
([#&#8203;2336](https://togithub.com/testcontainers/testcontainers-go/issues/2336))
[@&#8203;codefromthecrypt](https://togithub.com/codefromthecrypt)

#### 📖 Documentation

- docs: fix wrong copy\&paste in Weaviate docs
([#&#8203;2338](https://togithub.com/testcontainers/testcontainers-go/issues/2338))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)

#### 🧹 Housekeeping

- Upgrade neo4j module to use features from v0.29.1 of testcontainers-go
([#&#8203;2463](https://togithub.com/testcontainers/testcontainers-go/issues/2463))
[@&#8203;danielorbach](https://togithub.com/danielorbach)
- chore: use "docker compose" (v2) instead of "docker-compose" (v1)
([#&#8203;2464](https://togithub.com/testcontainers/testcontainers-go/issues/2464))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- refactor: Add Weaviate modules tests
([#&#8203;2447](https://togithub.com/testcontainers/testcontainers-go/issues/2447))
[@&#8203;antas-marcin](https://togithub.com/antas-marcin)
- docs: Fix typo in ci-test-go.yml
([#&#8203;2394](https://togithub.com/testcontainers/testcontainers-go/issues/2394))
[@&#8203;uh-zz](https://togithub.com/uh-zz)
- redpanda: set entrypoint to the custom entrypoint file
([#&#8203;2347](https://togithub.com/testcontainers/testcontainers-go/issues/2347))
[@&#8203;bojand](https://togithub.com/bojand)
- Move the container and config tests into a test package
([#&#8203;2242](https://togithub.com/testcontainers/testcontainers-go/issues/2242))
[@&#8203;Minivera](https://togithub.com/Minivera)
- chore: use WithEnv option in localstack module
([#&#8203;2337](https://togithub.com/testcontainers/testcontainers-go/issues/2337))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- chore: check that the new version is not empty
([#&#8203;2331](https://togithub.com/testcontainers/testcontainers-go/issues/2331))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)

#### 📦 Dependency updates

- fix: data race on container run, caused by the otelhttp dependency
([#&#8203;2345](https://togithub.com/testcontainers/testcontainers-go/issues/2345))
[@&#8203;stevenh](https://togithub.com/stevenh)
- chore(deps): bump github/codeql-action from 2.22.12 to 3.24.9
([#&#8203;2459](https://togithub.com/testcontainers/testcontainers-go/issues/2459))
[@&#8203;dependabot](https://togithub.com/dependabot)
- chore(deps): Bumping ChromaGo client version
([#&#8203;2402](https://togithub.com/testcontainers/testcontainers-go/issues/2402))
[@&#8203;tazarov](https://togithub.com/tazarov)
- chore(deps): bump github.com/docker/docker from 25.0.3+incompatible to
25.0.5+incompatible
([#&#8203;2444](https://togithub.com/testcontainers/testcontainers-go/issues/2444))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- chore: bump ryuk to latest v0.7.0
([#&#8203;2395](https://togithub.com/testcontainers/testcontainers-go/issues/2395))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- chore(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0
([#&#8203;2392](https://togithub.com/testcontainers/testcontainers-go/issues/2392))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)
- chore: updated compose-go version
([#&#8203;2340](https://togithub.com/testcontainers/testcontainers-go/issues/2340))
[@&#8203;shettyh](https://togithub.com/shettyh)
- chore(deps): bump mkdocs-material from 8.2.7 to 9.5.13
([#&#8203;2334](https://togithub.com/testcontainers/testcontainers-go/issues/2334))
[@&#8203;dependabot](https://togithub.com/dependabot)
- chore: retire dependabot
([#&#8203;2325](https://togithub.com/testcontainers/testcontainers-go/issues/2325))
[@&#8203;mdelapenya](https://togithub.com/mdelapenya)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/infratographer/x).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Signed-off-by: Mike Mason <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Mike Mason <[email protected]>
  • Loading branch information
renovate[bot] and mikemrm authored Aug 8, 2024
1 parent 13e27b6 commit 4826275
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 25 deletions.
16 changes: 9 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ require (
github.com/spf13/cobra v1.8.0
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.18.2
github.com/testcontainers/testcontainers-go v0.29.1
github.com/testcontainers/testcontainers-go/modules/postgres v0.29.1
github.com/testcontainers/testcontainers-go v0.32.0
github.com/testcontainers/testcontainers-go/modules/postgres v0.32.0
github.com/vektah/gqlparser/v2 v2.5.16
github.com/zsais/go-gin-prometheus v0.1.0
go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin v0.53.0
Expand All @@ -58,21 +58,22 @@ require (
dario.cat/mergo v1.0.0 // indirect
filippo.io/edwards25519 v1.1.0 // indirect
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/Microsoft/hcsshim v0.11.4 // indirect
github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/Microsoft/hcsshim v0.11.5 // indirect
github.com/agext/levenshtein v1.2.1 // indirect
github.com/agnivade/levenshtein v1.1.1 // indirect
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
github.com/bytedance/sonic v1.11.9 // indirect
github.com/bytedance/sonic/loader v0.1.1 // indirect
github.com/cloudwego/base64x v0.1.4 // indirect
github.com/cloudwego/iasm v0.2.0 // indirect
github.com/containerd/containerd v1.7.12 // indirect
github.com/containerd/containerd v1.7.18 // indirect
github.com/containerd/errdefs v0.1.0 // indirect
github.com/containerd/log v0.1.0 // indirect
github.com/cpuguy83/dockercfg v0.3.1 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/distribution/reference v0.5.0 // indirect
github.com/docker/docker v25.0.6+incompatible // indirect
github.com/distribution/reference v0.6.0 // indirect
github.com/docker/docker v27.0.3+incompatible // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/gabriel-vasile/mimetype v1.4.4 // indirect
Expand All @@ -91,6 +92,7 @@ require (
github.com/mfridman/interpolate v0.0.2 // indirect
github.com/minio/highwayhash v1.0.3 // indirect
github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 // indirect
github.com/moby/docker-image-spec v1.3.1 // indirect
github.com/moby/patternmatcher v0.6.0 // indirect
github.com/moby/sys/sequential v0.5.0 // indirect
github.com/moby/sys/user v0.1.0 // indirect
Expand Down
36 changes: 20 additions & 16 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ github.com/MicahParks/jwkset v0.5.18 h1:WLdyMngF7rCrnstQxA7mpRoxeaWqGzPM/0z40PJU
github.com/MicahParks/jwkset v0.5.18/go.mod h1:q8ptTGn/Z9c4MwbcfeCDssADeVQb3Pk7PnVxrvi+2QY=
github.com/MicahParks/keyfunc/v3 v3.3.2 h1:YTtwc4dxalBZKFqHhqctBWN6VhbLdGhywmne9u5RQVM=
github.com/MicahParks/keyfunc/v3 v3.3.2/go.mod h1:GJBeEjnv25OnD9y2OYQa7ELU6gYahEMBNXINZb+qm34=
github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow=
github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM=
github.com/Microsoft/hcsshim v0.11.4 h1:68vKo2VN8DE9AdN4tnkWnmdhqdbpUFM8OF3Airm7fz8=
github.com/Microsoft/hcsshim v0.11.4/go.mod h1:smjE4dvqPX9Zldna+t5FG3rnoHhaB7QYxPRqGcpAD9w=
github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY=
github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU=
github.com/Microsoft/hcsshim v0.11.5 h1:haEcLNpj9Ka1gd3B3tAEs9CpE0c+1IhoL59w/exYU38=
github.com/Microsoft/hcsshim v0.11.5/go.mod h1:MV8xMfmECjl5HdO7U/3/hFVnkmSBjAjmA09d4bExKcU=
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 h1:TngWCqHvy9oXAN6lEVMRuU21PR1EtLVZJmdB18Gu3Rw=
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5/go.mod h1:lmUJ/7eu/Q8D7ML55dXQrVaamCz2vxCfdQBasLZfHKk=
github.com/XSAM/otelsql v0.32.0 h1:vDRE4nole0iOOlTaC/Bn6ti7VowzgxK39n3Ll1Kt7i0=
Expand Down Expand Up @@ -64,10 +64,12 @@ github.com/cloudwego/iasm v0.2.0 h1:1KNIy1I1H9hNNFEEH3DVnI4UujN+1zjpuk6gwHLTssg=
github.com/cloudwego/iasm v0.2.0/go.mod h1:8rXZaNYT2n95jn+zTI1sDr+IgcD2GVs0nlbbQPiEFhY=
github.com/cockroachdb/cockroach-go/v2 v2.3.8 h1:53yoUo4+EtrC1NrAEgnnad4AS3ntNvGup1PAXZ7UmpE=
github.com/cockroachdb/cockroach-go/v2 v2.3.8/go.mod h1:9uH5jK4yQ3ZQUT9IXe4I2fHzMIF5+JC/oOdzTRgJYJk=
github.com/containerd/containerd v1.7.12 h1:+KQsnv4VnzyxWcfO9mlxxELaoztsDEjOuCMPAuPqgU0=
github.com/containerd/containerd v1.7.12/go.mod h1:/5OMpE1p0ylxtEUGY8kuCYkDRzJm9NO1TFMWjUpdevk=
github.com/containerd/containerd v1.7.18 h1:jqjZTQNfXGoEaZdW1WwPU0RqSn1Bm2Ay/KJPUuO8nao=
github.com/containerd/containerd v1.7.18/go.mod h1:IYEk9/IO6wAPUz2bCMVUbsfXjzw5UNP5fLz4PsUygQ4=
github.com/containerd/continuity v0.4.3 h1:6HVkalIp+2u1ZLH1J/pYX2oBVXlJZvh1X1A7bEZ9Su8=
github.com/containerd/continuity v0.4.3/go.mod h1:F6PTNCKepoxEaXLQp3wDAjygEnImnZ/7o4JzpodfroQ=
github.com/containerd/errdefs v0.1.0 h1:m0wCRBiu1WJT/Fr+iOoQHMQS/eP5myQ8lCv4Dz5ZURM=
github.com/containerd/errdefs v0.1.0/go.mod h1:YgWiiHtLmSeBrvpw+UfPijzbLaB77mEG1WwJTDETIV0=
github.com/containerd/log v0.1.0 h1:TCJt7ioM2cr/tfR8GPbGf9/VRAX8D2B4PjzCpfX540I=
github.com/containerd/log v0.1.0/go.mod h1:VRRf09a7mHDIRezVKTRCrOq78v577GXq3bSa3EhrzVo=
github.com/cpuguy83/dockercfg v0.3.1 h1:/FpZ+JaygUR/lZP2NlFI2DVfrOEMAIKP5wWEJdoYe9E=
Expand All @@ -81,12 +83,12 @@ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/dgryski/trifles v0.0.0-20200323201526-dd97f9abfb48 h1:fRzb/w+pyskVMQ+UbP35JkH8yB7MYb4q/qhBarqZE6g=
github.com/dgryski/trifles v0.0.0-20200323201526-dd97f9abfb48/go.mod h1:if7Fbed8SFyPtHLHbg49SI7NAdJiC5WIA09pe59rfAA=
github.com/distribution/reference v0.5.0 h1:/FUIFXtfc/x2gpa5/VGfiGLuOIdYa1t65IKK2OFGvA0=
github.com/distribution/reference v0.5.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E=
github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5QvfrDyIgxBk=
github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E=
github.com/docker/cli v24.0.7+incompatible h1:wa/nIwYFW7BVTGa7SWPVyyXU9lgORqUb1xfI36MSkFg=
github.com/docker/cli v24.0.7+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
github.com/docker/docker v25.0.6+incompatible h1:5cPwbwriIcsua2REJe8HqQV+6WlWc1byg2QSXzBxBGg=
github.com/docker/docker v25.0.6+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
github.com/docker/docker v27.0.3+incompatible h1:aBGI9TeQ4MPlhquTQKq9XbK79rKFVwXNUAYz9aXyEBE=
github.com/docker/docker v27.0.3+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
github.com/docker/go-connections v0.5.0 h1:USnMq7hx7gwdVZq1L49hLXaFtUdTADjXGp+uj1Br63c=
github.com/docker/go-connections v0.5.0/go.mod h1:ov60Kzw0kKElRwhNs9UlUHAE/F9Fe6GLaXnqyDdmEXc=
github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4=
Expand Down Expand Up @@ -252,6 +254,8 @@ github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 h1:DpOJ2HYzC
github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo=
github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY=
github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
github.com/moby/docker-image-spec v1.3.1 h1:jMKff3w6PgbfSa69GfNg+zN/XLhfXJGnEx3Nl2EsFP0=
github.com/moby/docker-image-spec v1.3.1/go.mod h1:eKmb5VW8vQEh/BAr2yvVNvuiJuY6UIocYsFu/DxxRpo=
github.com/moby/patternmatcher v0.6.0 h1:GmP9lR19aU5GqSSFko+5pRqHi+Ohk1O69aFiKkVGiPk=
github.com/moby/patternmatcher v0.6.0/go.mod h1:hDPoyOpDY7OrrMDLaYoY3hf52gNCR/YOUYxkhApJIxc=
github.com/moby/sys/sequential v0.5.0 h1:OPvI35Lzn9K04PBbCLW0g4LcFAJgHsvXsRyewg5lXtc=
Expand Down Expand Up @@ -367,10 +371,10 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8=
github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU=
github.com/testcontainers/testcontainers-go v0.29.1 h1:z8kxdFlovA2y97RWx98v/TQ+tR+SXZm6p35M+xB92zk=
github.com/testcontainers/testcontainers-go v0.29.1/go.mod h1:SnKnKQav8UcgtKqjp/AD8bE1MqZm+3TDb/B8crE3XnI=
github.com/testcontainers/testcontainers-go/modules/postgres v0.29.1 h1:hTn3MzhR9w4btwfzr/NborGCaeNZG0MPBpufeDj10KA=
github.com/testcontainers/testcontainers-go/modules/postgres v0.29.1/go.mod h1:YsWyy+pHDgvGdi0axGOx6CGXWsE6eqSaApyd1FYYSSc=
github.com/testcontainers/testcontainers-go v0.32.0 h1:ug1aK08L3gCHdhknlTTwWjPHPS+/alvLJU/DRxTD/ME=
github.com/testcontainers/testcontainers-go v0.32.0/go.mod h1:CRHrzHLQhlXUsa5gXjTOfqIEJcrK5+xMDmBr/WMI88E=
github.com/testcontainers/testcontainers-go/modules/postgres v0.32.0 h1:ZE4dTdswj3P0j71nL+pL0m2e5HTXJwPoIFr+DDgdPaU=
github.com/testcontainers/testcontainers-go/modules/postgres v0.32.0/go.mod h1:njrNuyuoF2fjhVk6TG/R3Oeu82YwfYkbf5WVTyBXhV4=
github.com/tklauser/go-sysconf v0.3.12 h1:0QaGUFOdQaIVdPgfITYzaTegZvdCjmYO52cSFAEVmqU=
github.com/tklauser/go-sysconf v0.3.12/go.mod h1:Ho14jnntGE1fpdOqQEEaiKRpvIavV0hSfmBq8nJbHYI=
github.com/tklauser/numcpus v0.6.1 h1:ng9scYS7az0Bk4OZLvrNXNSAO2Pxr1XXRAPyjhIx+Fk=
Expand Down Expand Up @@ -563,8 +567,8 @@ gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gotest.tools/v3 v3.5.0 h1:Ljk6PdHdOhAb5aDMWXjDLMMhph+BpztA4v1QdqEW2eY=
gotest.tools/v3 v3.5.0/go.mod h1:isy3WKz7GK6uNw/sbHzfKBLvlvXwUyV06n6brMxxopU=
gotest.tools/v3 v3.5.1 h1:EENdUnS3pdur5nybKYIh2Vfgc8IUNBjxDPSjtiJcOzU=
gotest.tools/v3 v3.5.1/go.mod h1:isy3WKz7GK6uNw/sbHzfKBLvlvXwUyV06n6brMxxopU=
howett.net/plist v1.0.0 h1:7CrbWYbPPO/PyNy38b2EB/+gYbjCe2DXBxgtOOZbSQM=
howett.net/plist v1.0.0/go.mod h1:lqaXoTrLY4hg8tnEzNru53gicrbv7rrk+2xJA/7hw9g=
modernc.org/gc/v3 v3.0.0-20240107210532-573471604cb6 h1:5D53IMaUuA5InSeMu9eJtlQXS2NxAhyWQvkKEgXZhHI=
Expand Down
3 changes: 1 addition & 2 deletions testing/containersx/dbcontainers.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,11 @@ func NewPostgresDB(ctx context.Context, img string, opts ...testcontainers.Conta
}

opts = append(opts,
testcontainers.WithImage(fmt.Sprintf("%s:%s", image, imageTag)),
testcontainers.WithWaitStrategy(wait.ForSQL(nat.Port("5432"), "postgres", uriFunc)),
postgres.WithPassword("postgres"),
)

container, err := postgres.RunContainer(ctx, opts...)
container, err := postgres.Run(ctx, fmt.Sprintf("%s:%s", image, imageTag), opts...)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 4826275

Please sign in to comment.