From 8d0f53aea823b460a30e243ca47fccd379b1cbd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Fri, 22 Dec 2023 13:20:55 +0100 Subject: [PATCH] chore: use new version (v0.27.0) in modules and examples --- docs/features/common_functional_options.md | 4 ++-- docs/features/creating_networks.md | 2 +- docs/modules/mongodb.md | 4 ++-- docs/modules/mssql.md | 2 +- examples/cockroachdb/go.mod | 2 +- examples/consul/go.mod | 2 +- examples/nginx/go.mod | 2 +- examples/toxiproxy/go.mod | 2 +- mkdocs.yml | 2 +- modules/artemis/go.mod | 2 +- modules/cassandra/go.mod | 2 +- modules/clickhouse/go.mod | 2 +- modules/compose/go.mod | 2 +- modules/couchbase/go.mod | 2 +- modules/elasticsearch/go.mod | 2 +- modules/gcloud/go.mod | 2 +- modules/k3s/go.mod | 2 +- modules/k6/go.mod | 2 +- modules/kafka/go.mod | 2 +- modules/localstack/go.mod | 2 +- modules/mariadb/go.mod | 2 +- modules/mongodb/go.mod | 2 +- modules/mssql/go.mod | 2 +- modules/mysql/go.mod | 2 +- modules/nats/go.mod | 2 +- modules/neo4j/go.mod | 2 +- modules/postgres/go.mod | 2 +- modules/pulsar/go.mod | 2 +- modules/rabbitmq/go.mod | 2 +- modules/redis/go.mod | 2 +- modules/redpanda/go.mod | 2 +- modules/vault/go.mod | 2 +- sonar-project.properties | 2 +- 33 files changed, 35 insertions(+), 35 deletions(-) diff --git a/docs/features/common_functional_options.md b/docs/features/common_functional_options.md index 88a6a868b1..82205cb5c2 100644 --- a/docs/features/common_functional_options.md +++ b/docs/features/common_functional_options.md @@ -42,7 +42,7 @@ You could use this feature to run a custom script, or to run a command that is n #### WithNetwork -- Not available until the next release of testcontainers-go :material-tag: main +- Since testcontainers-go :material-tag: v0.27.0 By default, the container is started in the default Docker network. If you want to use an already existing Docker network you created in your code, you can use the `network.WithNetwork(aliases []string, nw *testcontainers.DockerNetwork)` option, which receives an alias as parameter and your network, attaching the container to it, and setting the network alias for that network. @@ -53,7 +53,7 @@ In the case you need to retrieve the network name, you can simply read it from t #### WithNewNetwork -- Not available until the next release of testcontainers-go :material-tag: main +- Since testcontainers-go :material-tag: v0.27.0 If you want to attach your containers to a throw-away network, you can use the `network.WithNewNetwork(ctx context.Context, aliases []string, opts ...network.NetworkCustomizer)` option, which receives an alias as parameter, creating the new network with a random name, attaching the container to it, and setting the network alias for that network. diff --git a/docs/features/creating_networks.md b/docs/features/creating_networks.md index d2889d0b3b..09be152a55 100644 --- a/docs/features/creating_networks.md +++ b/docs/features/creating_networks.md @@ -2,7 +2,7 @@ Apart from creating containers, `Testcontainers for Go` allows you to create networks. This is useful when you need to connect multiple containers to the same network. -- Not available until the next release of testcontainers-go :material-tag: main +- Since testcontainers-go :material-tag: v0.27.0 For that, please import the `testcontainers/network` package. diff --git a/docs/modules/mongodb.md b/docs/modules/mongodb.md index e0ff2c136b..58409e6449 100644 --- a/docs/modules/mongodb.md +++ b/docs/modules/mongodb.md @@ -42,7 +42,7 @@ for MongoDB. E.g. `testcontainers.WithImage("mongo:6")`. #### WithUsername -- Not available until the next release of testcontainers-go :material-tag: main +- Since testcontainers-go :material-tag: v0.27.0 This functional option sets the initial username to be created when the container starts. It is used in conjunction with `WithPassword` to set a username and its password, creating the specified user with superuser power. @@ -51,7 +51,7 @@ E.g. `testcontainers.WithUsername("mymongouser")`. #### WithPassword -- Not available until the next release of testcontainers-go :material-tag: main +- Since testcontainers-go :material-tag: v0.27.0 This functional option sets the initial password to be created when the container starts. It is used in conjunction with `WithUsername` to set a username and its password, setting the password for the superuser power. diff --git a/docs/modules/mssql.md b/docs/modules/mssql.md index 52a6aa170b..80e48d48b1 100644 --- a/docs/modules/mssql.md +++ b/docs/modules/mssql.md @@ -1,6 +1,6 @@ # MS SQL Server -Not available until the next release of testcontainers-go :material-tag: main +Since testcontainers-go :material-tag: v0.27.0 ## Introduction diff --git a/examples/cockroachdb/go.mod b/examples/cockroachdb/go.mod index fecd880962..a5772ded8d 100644 --- a/examples/cockroachdb/go.mod +++ b/examples/cockroachdb/go.mod @@ -6,7 +6,7 @@ require ( github.com/google/uuid v1.4.0 github.com/jackc/pgx/v4 v4.18.1 github.com/stretchr/testify v1.8.4 - github.com/testcontainers/testcontainers-go v0.26.0 + github.com/testcontainers/testcontainers-go v0.27.0 ) replace github.com/testcontainers/testcontainers-go => ../.. diff --git a/examples/consul/go.mod b/examples/consul/go.mod index 15cad0451f..13155c91c9 100644 --- a/examples/consul/go.mod +++ b/examples/consul/go.mod @@ -4,7 +4,7 @@ go 1.20 require ( github.com/hashicorp/consul/api v1.26.1 - github.com/testcontainers/testcontainers-go v0.26.0 + github.com/testcontainers/testcontainers-go v0.27.0 ) require ( diff --git a/examples/nginx/go.mod b/examples/nginx/go.mod index 9aff313ace..9c9ac9bcd2 100644 --- a/examples/nginx/go.mod +++ b/examples/nginx/go.mod @@ -2,7 +2,7 @@ module github.com/testcontainers/testcontainers-go/examples/nginx go 1.20 -require github.com/testcontainers/testcontainers-go v0.26.0 +require github.com/testcontainers/testcontainers-go v0.27.0 replace github.com/testcontainers/testcontainers-go => ../.. diff --git a/examples/toxiproxy/go.mod b/examples/toxiproxy/go.mod index d266f7b8ac..a2d22bda76 100644 --- a/examples/toxiproxy/go.mod +++ b/examples/toxiproxy/go.mod @@ -6,7 +6,7 @@ require ( github.com/Shopify/toxiproxy/v2 v2.7.0 github.com/go-redis/redis/v8 v8.11.5 github.com/google/uuid v1.4.0 - github.com/testcontainers/testcontainers-go v0.26.0 + github.com/testcontainers/testcontainers-go v0.27.0 ) require ( diff --git a/mkdocs.yml b/mkdocs.yml index 5c7394e3bf..9ae1d2c553 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -113,4 +113,4 @@ nav: - Getting help: getting_help.md edit_uri: edit/main/docs/ extra: - latest_version: v0.26.0 + latest_version: v0.27.0 diff --git a/modules/artemis/go.mod b/modules/artemis/go.mod index 4b46a3b72a..a0d324355a 100644 --- a/modules/artemis/go.mod +++ b/modules/artemis/go.mod @@ -6,7 +6,7 @@ require ( github.com/docker/go-connections v0.4.0 github.com/go-stomp/stomp/v3 v3.0.5 github.com/stretchr/testify v1.8.4 - github.com/testcontainers/testcontainers-go v0.26.0 + github.com/testcontainers/testcontainers-go v0.27.0 ) require ( diff --git a/modules/cassandra/go.mod b/modules/cassandra/go.mod index 37708796b7..e9465d086b 100644 --- a/modules/cassandra/go.mod +++ b/modules/cassandra/go.mod @@ -6,7 +6,7 @@ require ( github.com/docker/go-connections v0.4.0 github.com/gocql/gocql v1.6.0 github.com/stretchr/testify v1.8.4 - github.com/testcontainers/testcontainers-go v0.26.0 + github.com/testcontainers/testcontainers-go v0.27.0 ) require ( diff --git a/modules/clickhouse/go.mod b/modules/clickhouse/go.mod index c0001b1d80..12fd490c84 100644 --- a/modules/clickhouse/go.mod +++ b/modules/clickhouse/go.mod @@ -7,7 +7,7 @@ require ( github.com/cenkalti/backoff/v4 v4.2.1 github.com/docker/go-connections v0.4.0 github.com/stretchr/testify v1.8.4 - github.com/testcontainers/testcontainers-go v0.26.0 + github.com/testcontainers/testcontainers-go v0.27.0 ) require ( diff --git a/modules/compose/go.mod b/modules/compose/go.mod index 6db4e054f3..94224651b1 100644 --- a/modules/compose/go.mod +++ b/modules/compose/go.mod @@ -13,7 +13,7 @@ require ( github.com/docker/docker v24.0.7+incompatible github.com/google/uuid v1.4.0 github.com/stretchr/testify v1.8.4 - github.com/testcontainers/testcontainers-go v0.26.0 + github.com/testcontainers/testcontainers-go v0.27.0 golang.org/x/sync v0.5.0 gopkg.in/yaml.v3 v3.0.1 ) diff --git a/modules/couchbase/go.mod b/modules/couchbase/go.mod index 9de0f61ee4..93c1a21360 100644 --- a/modules/couchbase/go.mod +++ b/modules/couchbase/go.mod @@ -6,7 +6,7 @@ require ( github.com/cenkalti/backoff/v4 v4.2.1 github.com/couchbase/gocb/v2 v2.7.0 github.com/docker/go-connections v0.4.0 - github.com/testcontainers/testcontainers-go v0.26.0 + github.com/testcontainers/testcontainers-go v0.27.0 github.com/tidwall/gjson v1.17.0 ) diff --git a/modules/elasticsearch/go.mod b/modules/elasticsearch/go.mod index 3df764d7b8..d32b8c4e1a 100644 --- a/modules/elasticsearch/go.mod +++ b/modules/elasticsearch/go.mod @@ -5,7 +5,7 @@ go 1.20 require ( github.com/elastic/go-elasticsearch/v8 v8.11.1 github.com/stretchr/testify v1.8.4 - github.com/testcontainers/testcontainers-go v0.26.0 + github.com/testcontainers/testcontainers-go v0.27.0 golang.org/x/mod v0.14.0 ) diff --git a/modules/gcloud/go.mod b/modules/gcloud/go.mod index c44a616ab9..83f34c32a2 100644 --- a/modules/gcloud/go.mod +++ b/modules/gcloud/go.mod @@ -10,7 +10,7 @@ require ( cloud.google.com/go/pubsub v1.33.0 cloud.google.com/go/spanner v1.53.1 github.com/docker/go-connections v0.4.0 - github.com/testcontainers/testcontainers-go v0.26.0 + github.com/testcontainers/testcontainers-go v0.27.0 google.golang.org/api v0.153.0 google.golang.org/grpc v1.59.0 ) diff --git a/modules/k3s/go.mod b/modules/k3s/go.mod index 61201a852a..21ab49b36b 100644 --- a/modules/k3s/go.mod +++ b/modules/k3s/go.mod @@ -5,7 +5,7 @@ go 1.20 require ( github.com/docker/docker v24.0.7+incompatible github.com/docker/go-connections v0.4.0 - github.com/testcontainers/testcontainers-go v0.26.0 + github.com/testcontainers/testcontainers-go v0.27.0 gopkg.in/yaml.v3 v3.0.1 k8s.io/api v0.28.4 k8s.io/apimachinery v0.28.4 diff --git a/modules/k6/go.mod b/modules/k6/go.mod index 7d841488d4..5509d5ebcd 100644 --- a/modules/k6/go.mod +++ b/modules/k6/go.mod @@ -4,7 +4,7 @@ go 1.20 require ( github.com/docker/docker v24.0.7+incompatible - github.com/testcontainers/testcontainers-go v0.26.0 + github.com/testcontainers/testcontainers-go v0.27.0 ) require ( diff --git a/modules/kafka/go.mod b/modules/kafka/go.mod index 54a34d2edc..5fc324a1a5 100644 --- a/modules/kafka/go.mod +++ b/modules/kafka/go.mod @@ -5,7 +5,7 @@ go 1.20 require ( github.com/IBM/sarama v1.42.1 github.com/docker/go-connections v0.4.0 - github.com/testcontainers/testcontainers-go v0.26.0 + github.com/testcontainers/testcontainers-go v0.27.0 golang.org/x/mod v0.14.0 ) diff --git a/modules/localstack/go.mod b/modules/localstack/go.mod index 05f17f2ce5..c2c79ed9bd 100644 --- a/modules/localstack/go.mod +++ b/modules/localstack/go.mod @@ -11,7 +11,7 @@ require ( github.com/docker/docker v24.0.7+incompatible github.com/docker/go-connections v0.4.0 github.com/stretchr/testify v1.8.4 - github.com/testcontainers/testcontainers-go v0.26.0 + github.com/testcontainers/testcontainers-go v0.27.0 golang.org/x/mod v0.12.0 ) diff --git a/modules/mariadb/go.mod b/modules/mariadb/go.mod index 1c81307e4b..6298a95a2c 100644 --- a/modules/mariadb/go.mod +++ b/modules/mariadb/go.mod @@ -4,7 +4,7 @@ go 1.20 require ( github.com/go-sql-driver/mysql v1.7.1 - github.com/testcontainers/testcontainers-go v0.26.0 + github.com/testcontainers/testcontainers-go v0.27.0 ) require ( diff --git a/modules/mongodb/go.mod b/modules/mongodb/go.mod index 749582ba35..001e36176f 100644 --- a/modules/mongodb/go.mod +++ b/modules/mongodb/go.mod @@ -3,7 +3,7 @@ module github.com/testcontainers/testcontainers-go/modules/mongodb go 1.20 require ( - github.com/testcontainers/testcontainers-go v0.26.0 + github.com/testcontainers/testcontainers-go v0.27.0 go.mongodb.org/mongo-driver v1.13.0 ) diff --git a/modules/mssql/go.mod b/modules/mssql/go.mod index 40486a7cf0..3cb6dd979f 100644 --- a/modules/mssql/go.mod +++ b/modules/mssql/go.mod @@ -4,7 +4,7 @@ go 1.20 require ( github.com/microsoft/go-mssqldb v1.6.0 - github.com/testcontainers/testcontainers-go v0.26.0 + github.com/testcontainers/testcontainers-go v0.27.0 ) require ( diff --git a/modules/mysql/go.mod b/modules/mysql/go.mod index 4161f02db4..182509ea40 100644 --- a/modules/mysql/go.mod +++ b/modules/mysql/go.mod @@ -4,7 +4,7 @@ go 1.20 require ( github.com/go-sql-driver/mysql v1.7.1 - github.com/testcontainers/testcontainers-go v0.26.0 + github.com/testcontainers/testcontainers-go v0.27.0 ) diff --git a/modules/nats/go.mod b/modules/nats/go.mod index 719f527434..9d92f0edac 100644 --- a/modules/nats/go.mod +++ b/modules/nats/go.mod @@ -4,7 +4,7 @@ go 1.20 require ( github.com/nats-io/nats.go v1.31.0 - github.com/testcontainers/testcontainers-go v0.26.0 + github.com/testcontainers/testcontainers-go v0.27.0 ) require ( diff --git a/modules/neo4j/go.mod b/modules/neo4j/go.mod index 229e61b685..83f0c73a7f 100644 --- a/modules/neo4j/go.mod +++ b/modules/neo4j/go.mod @@ -5,7 +5,7 @@ go 1.20 require ( github.com/docker/go-connections v0.4.0 github.com/neo4j/neo4j-go-driver/v5 v5.15.0 - github.com/testcontainers/testcontainers-go v0.26.0 + github.com/testcontainers/testcontainers-go v0.27.0 ) require ( diff --git a/modules/postgres/go.mod b/modules/postgres/go.mod index 331f67504b..7eedbfe981 100644 --- a/modules/postgres/go.mod +++ b/modules/postgres/go.mod @@ -6,7 +6,7 @@ require ( github.com/docker/go-connections v0.4.0 github.com/lib/pq v1.10.9 github.com/stretchr/testify v1.8.4 - github.com/testcontainers/testcontainers-go v0.26.0 + github.com/testcontainers/testcontainers-go v0.27.0 ) diff --git a/modules/pulsar/go.mod b/modules/pulsar/go.mod index d2d8fe0fb3..a1d67d07ed 100644 --- a/modules/pulsar/go.mod +++ b/modules/pulsar/go.mod @@ -7,7 +7,7 @@ require ( github.com/docker/docker v24.0.7+incompatible github.com/docker/go-connections v0.4.0 github.com/stretchr/testify v1.8.4 - github.com/testcontainers/testcontainers-go v0.26.0 + github.com/testcontainers/testcontainers-go v0.27.0 ) replace github.com/testcontainers/testcontainers-go => ../.. diff --git a/modules/rabbitmq/go.mod b/modules/rabbitmq/go.mod index 5380c573ad..dd7e38bc89 100644 --- a/modules/rabbitmq/go.mod +++ b/modules/rabbitmq/go.mod @@ -5,7 +5,7 @@ go 1.20 require ( github.com/docker/go-connections v0.4.0 github.com/rabbitmq/amqp091-go v1.9.0 - github.com/testcontainers/testcontainers-go v0.26.0 + github.com/testcontainers/testcontainers-go v0.27.0 ) require ( diff --git a/modules/redis/go.mod b/modules/redis/go.mod index d4e9ce7ec5..ad2adcb959 100644 --- a/modules/redis/go.mod +++ b/modules/redis/go.mod @@ -6,7 +6,7 @@ require ( github.com/go-redis/redis/v8 v8.11.5 github.com/google/uuid v1.4.0 github.com/stretchr/testify v1.8.4 - github.com/testcontainers/testcontainers-go v0.26.0 + github.com/testcontainers/testcontainers-go v0.27.0 ) diff --git a/modules/redpanda/go.mod b/modules/redpanda/go.mod index e761ffd1f8..743ba314fb 100644 --- a/modules/redpanda/go.mod +++ b/modules/redpanda/go.mod @@ -5,7 +5,7 @@ go 1.20 require ( github.com/docker/go-connections v0.4.0 github.com/stretchr/testify v1.8.4 - github.com/testcontainers/testcontainers-go v0.26.0 + github.com/testcontainers/testcontainers-go v0.27.0 github.com/twmb/franz-go v1.15.3 github.com/twmb/franz-go/pkg/kadm v1.10.0 ) diff --git a/modules/vault/go.mod b/modules/vault/go.mod index ec906df787..2465b67c23 100644 --- a/modules/vault/go.mod +++ b/modules/vault/go.mod @@ -6,7 +6,7 @@ require ( github.com/docker/docker v24.0.7+incompatible github.com/hashicorp/vault-client-go v0.3.3 github.com/stretchr/testify v1.8.4 - github.com/testcontainers/testcontainers-go v0.26.0 + github.com/testcontainers/testcontainers-go v0.27.0 github.com/tidwall/gjson v1.17.0 ) diff --git a/sonar-project.properties b/sonar-project.properties index 5ad08505cc..8a28073392 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -7,7 +7,7 @@ sonar.projectKey=testcontainers_testcontainers-go sonar.projectName=testcontainers-go -sonar.projectVersion=v0.26.0 +sonar.projectVersion=v0.27.0 sonar.sources=.