Skip to content

Commit

Permalink
chore: use new version (v0.31.0) in modules and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed May 9, 2024
1 parent 788097d commit 896f379
Show file tree
Hide file tree
Showing 48 changed files with 48 additions and 48 deletions.
2 changes: 1 addition & 1 deletion docs/features/common_functional_options.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ postgres, err = postgresModule.RunContainer(ctx, testcontainers.WithEnv(map[stri

#### WithHostPortAccess

- Not available until the next release of testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.31.0"><span class="tc-version">:material-tag: v0.31.0</span></a>

If you need to access a port that is already running in the host, you can use `testcontainers.WithHostPortAccess` for example:

Expand Down
2 changes: 1 addition & 1 deletion docs/features/networking.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ It is normally advisable to use `Host` and `MappedPort` together when constructi

## Exposing host ports to the container

- Not available until the next release of testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.31.0"><span class="tc-version">:material-tag: v0.31.0</span></a>

In some cases it is necessary to make a network connection from a container to a socket that is listening on the host machine. Natively, Docker has limited support for this model across platforms. Testcontainers, however, makes this possible, allowing your code to access services running on the host machine.

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/dolt.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Dolt

Not available until the next release of testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.31.0"><span class="tc-version">:material-tag: v0.31.0</span></a>

## Introduction

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/mongodb.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ E.g. `testcontainers.WithPassword("mymongopwd")`.

#### WithReplicaSet

- Not available until the next release of testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.31.0"><span class="tc-version">:material-tag: v0.31.0</span></a>

The `WithReplicaSet` functional option configures the container to run a single-node MongoDB replica set named `rs`. The MongoDB container will wait until the replica set is ready.

Expand Down
2 changes: 1 addition & 1 deletion examples/nginx/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/testcontainers/testcontainers-go/examples/nginx

go 1.21

require github.com/testcontainers/testcontainers-go v0.30.0
require github.com/testcontainers/testcontainers-go v0.31.0

replace github.com/testcontainers/testcontainers-go => ../..

Expand Down
2 changes: 1 addition & 1 deletion examples/toxiproxy/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/Shopify/toxiproxy/v2 v2.8.0
github.com/go-redis/redis/v8 v8.11.5
github.com/google/uuid v1.6.0
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
)

require (
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,4 @@ nav:
- Getting help: getting_help.md
edit_uri: edit/main/docs/
extra:
latest_version: v0.30.0
latest_version: v0.31.0
2 changes: 1 addition & 1 deletion modules/artemis/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/docker/go-connections v0.5.0
github.com/go-stomp/stomp/v3 v3.0.5
github.com/stretchr/testify v1.9.0
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
)

require (
Expand Down
2 changes: 1 addition & 1 deletion modules/cassandra/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/docker/go-connections v0.5.0
github.com/gocql/gocql v1.6.0
github.com/stretchr/testify v1.9.0
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
)

require (
Expand Down
2 changes: 1 addition & 1 deletion modules/chroma/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
require (
github.com/amikos-tech/chroma-go v0.1.2
github.com/stretchr/testify v1.9.0
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
)

require (
Expand Down
2 changes: 1 addition & 1 deletion modules/clickhouse/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1
github.com/docker/go-connections v0.5.0
github.com/stretchr/testify v1.9.0
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
)

require (
Expand Down
2 changes: 1 addition & 1 deletion modules/cockroachdb/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/docker/go-connections v0.5.0
github.com/jackc/pgx/v5 v5.5.4
github.com/stretchr/testify v1.9.0
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
)

require (
Expand Down
2 changes: 1 addition & 1 deletion modules/compose/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
github.com/docker/docker v26.1.0+incompatible
github.com/google/uuid v1.6.0
github.com/stretchr/testify v1.9.0
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
golang.org/x/sync v0.7.0
gopkg.in/yaml.v3 v3.0.1
)
Expand Down
2 changes: 1 addition & 1 deletion modules/consul/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
require (
github.com/hashicorp/consul/api v1.27.0
github.com/stretchr/testify v1.9.0
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
)

require (
Expand Down
2 changes: 1 addition & 1 deletion modules/couchbase/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1
github.com/couchbase/gocb/v2 v2.7.2
github.com/docker/go-connections v0.5.0
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
github.com/tidwall/gjson v1.17.1
)

Expand Down
2 changes: 1 addition & 1 deletion modules/dolt/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21

require (
github.com/go-sql-driver/mysql v1.7.1
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
)

require (
Expand Down
2 changes: 1 addition & 1 deletion modules/elasticsearch/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
require (
github.com/elastic/go-elasticsearch/v8 v8.12.1
github.com/stretchr/testify v1.9.0
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
golang.org/x/mod v0.16.0
)

Expand Down
2 changes: 1 addition & 1 deletion modules/gcloud/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
cloud.google.com/go/pubsub v1.36.2
cloud.google.com/go/spanner v1.57.0
github.com/docker/go-connections v0.5.0
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
google.golang.org/api v0.168.0
google.golang.org/grpc v1.62.0
)
Expand Down
2 changes: 1 addition & 1 deletion modules/inbucket/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21

require (
github.com/inbucket/inbucket v2.0.0+incompatible
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
)

require (
Expand Down
2 changes: 1 addition & 1 deletion modules/influxdb/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
require (
github.com/influxdata/influxdb1-client v0.0.0-20220302092344-a9ab5670611c
github.com/stretchr/testify v1.9.0
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
)

require (
Expand Down
2 changes: 1 addition & 1 deletion modules/k3s/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
require (
github.com/docker/docker v25.0.5+incompatible
github.com/docker/go-connections v0.5.0
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
gopkg.in/yaml.v3 v3.0.1
k8s.io/api v0.29.2
k8s.io/apimachinery v0.29.2
Expand Down
2 changes: 1 addition & 1 deletion modules/k6/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21

require (
github.com/docker/docker v25.0.5+incompatible
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
)

require (
Expand Down
2 changes: 1 addition & 1 deletion modules/kafka/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
require (
github.com/IBM/sarama v1.42.1
github.com/docker/go-connections v0.5.0
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
golang.org/x/mod v0.16.0
)

Expand Down
2 changes: 1 addition & 1 deletion modules/localstack/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
github.com/docker/docker v25.0.5+incompatible
github.com/docker/go-connections v0.5.0
github.com/stretchr/testify v1.9.0
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
golang.org/x/mod v0.16.0
)

Expand Down
2 changes: 1 addition & 1 deletion modules/mariadb/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21

require (
github.com/go-sql-driver/mysql v1.7.1
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
)

require (
Expand Down
2 changes: 1 addition & 1 deletion modules/milvus/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21

require (
github.com/milvus-io/milvus-sdk-go/v2 v2.3.6
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
)

require (
Expand Down
2 changes: 1 addition & 1 deletion modules/minio/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21

require (
github.com/minio/minio-go/v7 v7.0.68
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
)

require (
Expand Down
2 changes: 1 addition & 1 deletion modules/mockserver/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21

require (
github.com/BraspagDevelopers/mock-server-client v0.2.2
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
)

require (
Expand Down
2 changes: 1 addition & 1 deletion modules/mongodb/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/testcontainers/testcontainers-go/modules/mongodb
go 1.21

require (
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
go.mongodb.org/mongo-driver v1.13.1
)

Expand Down
2 changes: 1 addition & 1 deletion modules/mssql/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21

require (
github.com/microsoft/go-mssqldb v1.7.0
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
)

require (
Expand Down
2 changes: 1 addition & 1 deletion modules/mysql/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21

require (
github.com/go-sql-driver/mysql v1.7.1
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0

)

Expand Down
2 changes: 1 addition & 1 deletion modules/nats/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21

require (
github.com/nats-io/nats.go v1.33.1
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
)

require (
Expand Down
2 changes: 1 addition & 1 deletion modules/neo4j/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
require (
github.com/docker/go-connections v0.5.0
github.com/neo4j/neo4j-go-driver/v5 v5.18.0
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
)

require (
Expand Down
2 changes: 1 addition & 1 deletion modules/ollama/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
require (
github.com/docker/docker v25.0.5+incompatible
github.com/google/uuid v1.6.0
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
github.com/tmc/langchaingo v0.1.5
)

Expand Down
2 changes: 1 addition & 1 deletion modules/openfga/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21

require (
github.com/openfga/go-sdk v0.3.5
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
)

require (
Expand Down
2 changes: 1 addition & 1 deletion modules/openldap/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21

require (
github.com/go-ldap/ldap/v3 v3.4.6
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
)

require (
Expand Down
2 changes: 1 addition & 1 deletion modules/opensearch/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
require (
github.com/docker/docker v25.0.5+incompatible
github.com/docker/go-units v0.5.0
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
)

require (
Expand Down
2 changes: 1 addition & 1 deletion modules/postgres/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/jackc/pgx/v5 v5.5.4
github.com/lib/pq v1.10.9
github.com/stretchr/testify v1.9.0
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0

)

Expand Down
2 changes: 1 addition & 1 deletion modules/pulsar/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/docker/docker v25.0.5+incompatible
github.com/docker/go-connections v0.5.0
github.com/stretchr/testify v1.9.0
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
)

replace github.com/testcontainers/testcontainers-go => ../..
Expand Down
2 changes: 1 addition & 1 deletion modules/qdrant/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21

require (
github.com/qdrant/go-client v1.7.0
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
google.golang.org/grpc v1.62.0
)

Expand Down
2 changes: 1 addition & 1 deletion modules/rabbitmq/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
require (
github.com/docker/go-connections v0.5.0
github.com/rabbitmq/amqp091-go v1.9.0
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
)

require golang.org/x/crypto v0.22.0 // indirect
Expand Down
2 changes: 1 addition & 1 deletion modules/redis/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/go-redis/redis/v8 v8.11.5
github.com/google/uuid v1.6.0
github.com/stretchr/testify v1.9.0
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0

)

Expand Down
2 changes: 1 addition & 1 deletion modules/redpanda/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
require (
github.com/docker/go-connections v0.5.0
github.com/stretchr/testify v1.9.0
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
github.com/twmb/franz-go v1.16.1
github.com/twmb/franz-go/pkg/kadm v1.11.0
golang.org/x/mod v0.16.0
Expand Down
2 changes: 1 addition & 1 deletion modules/registry/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21

require (
github.com/docker/docker v25.0.5+incompatible
github.com/testcontainers/testcontainers-go v0.30.0
github.com/testcontainers/testcontainers-go v0.31.0
)

require (
Expand Down
Loading

0 comments on commit 896f379

Please sign in to comment.