Skip to content

Commit 08e7b58

Browse files
committed
chore: use new version (v0.37.0) in modules and examples
1 parent 9da8340 commit 08e7b58

File tree

70 files changed

+106
-106
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+106
-106
lines changed

docs/features/common_functional_options.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Using the `WithImageSubstitutors` options, you could define your own substitutio
1717

1818
#### WithImageMount
1919

20-
- 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>
20+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
2121

2222
Since Docker v28, it's possible to mount an image to a container, passing the source image name, the relative subpath to mount in that image, and the mount point in the target container.
2323

@@ -44,7 +44,7 @@ ctr, err = mymodule.Run(ctx, "docker.io/myservice:1.2.3", testcontainers.WithEnv
4444

4545
#### WithExposedPorts
4646

47-
- 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>
47+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
4848

4949
If you need to expose additional ports from the container, you can use `testcontainers.WithExposedPorts`. For example:
5050

@@ -55,7 +55,7 @@ ctr, err := mymodule.Run(ctx, "docker.io/myservice:1.2.3",
5555

5656
#### WithEntrypoint
5757

58-
- 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>
58+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
5959

6060
If you need to completely replace the container's entrypoint, you can use `testcontainers.WithEntrypoint`. For example:
6161

@@ -66,7 +66,7 @@ ctr, err := mymodule.Run(ctx, "docker.io/myservice:1.2.3",
6666

6767
#### WithEntrypointArgs
6868

69-
- 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>
69+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
7070

7171
If you need to append commands to the container's entrypoint, you can use `testcontainers.WithEntrypointArgs`. For example:
7272

@@ -77,7 +77,7 @@ ctr, err := mymodule.Run(ctx, "docker.io/myservice:1.2.3",
7777

7878
#### WithCmd
7979

80-
- 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>
80+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
8181

8282
If you need to completely replace the container's command, you can use `testcontainers.WithCmd`. For example:
8383

@@ -88,7 +88,7 @@ ctr, err := mymodule.Run(ctx, "docker.io/myservice:1.2.3",
8888

8989
#### WithCmdArgs
9090

91-
- 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>
91+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
9292

9393
If you need to append commands to the container's command, you can use `testcontainers.WithCmdArgs`. For example:
9494

@@ -99,7 +99,7 @@ ctr, err := mymodule.Run(ctx, "docker.io/myservice:1.2.3",
9999

100100
#### WithLabels
101101

102-
- 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>
102+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
103103

104104
If you need to add Docker labels to the container, you can use `testcontainers.WithLabels`. For example:
105105

@@ -113,7 +113,7 @@ ctr, err := mymodule.Run(ctx, "docker.io/myservice:1.2.3",
113113

114114
#### WithFiles
115115

116-
- 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>
116+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
117117

118118
If you need to copy files into the container, you can use `testcontainers.WithFiles`. For example:
119119

@@ -132,7 +132,7 @@ This option allows you to copy files from the host into the container at creatio
132132

133133
#### WithMounts
134134

135-
- 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>
135+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
136136

137137
If you need to add volume mounts to the container, you can use `testcontainers.WithMounts`. For example:
138138

@@ -148,7 +148,7 @@ ctr, err := mymodule.Run(ctx, "docker.io/myservice:1.2.3",
148148

149149
#### WithTmpfs
150150

151-
- 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>
151+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
152152

153153
If you need to add tmpfs mounts to the container, you can use `testcontainers.WithTmpfs`. For example:
154154

@@ -254,7 +254,7 @@ You could use this feature to run a custom script, or to run a command that is n
254254

255255
#### Build from Dockerfile
256256

257-
- 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>
257+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
258258

259259
Testcontainers exposes the `testcontainers.WithDockerfile` option to build a container from a Dockerfile.
260260
The functional option receives a `testcontainers.FromDockerfile` struct that is applied to the container request before starting the container. As a result, the container is built and started in one go.
@@ -322,7 +322,7 @@ The above example is updating the predefined command of the image, **appending**
322322

323323
#### WithReuseByName
324324

325-
- 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>
325+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
326326

327327
This option marks a container to be reused if it exists or create a new one if it doesn't.
328328
With the current implementation, the container name must be provided to identify the container to be reused.

docs/features/creating_container.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ up with Testcontainers and integrate into your tests:
1010

1111
## Run
1212

13-
- 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>
13+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
1414

1515
`testcontainers.Run` defines the container that should be run, similar to the `docker run` command.
1616

docs/modules/aerospike.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Aerospike
22

3-
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>
3+
Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
44

55
## Introduction
66

@@ -24,7 +24,7 @@ go get github.com/testcontainers/testcontainers-go/modules/aerospike
2424

2525
### Run function
2626

27-
- 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>
27+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
2828

2929
The Aerospike module exposes one entrypoint function to create the Aerospike container, and this function receives three parameters:
3030

docs/modules/arangodb.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ArangoDB
22

3-
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>
3+
Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
44

55
## Introduction
66

@@ -24,7 +24,7 @@ go get github.com/testcontainers/testcontainers-go/modules/arangodb
2424

2525
### Run function
2626

27-
- 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>
27+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
2828

2929
The ArangoDB module exposes one entrypoint function to create the ArangoDB container, and this function receives three parameters:
3030

@@ -49,7 +49,7 @@ In example: `Run(context.Background(), "arangodb:3.11.5")`.
4949

5050
#### WithRootPassword
5151

52-
- 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>
52+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
5353

5454
The `WithRootPassword` function sets the root password for the ArangoDB container.
5555

@@ -59,7 +59,7 @@ The ArangoDB container exposes the following methods:
5959

6060
#### Credentials
6161

62-
- 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>
62+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
6363

6464
The `Credentials` method returns the credentials for the ArangoDB container, in the form of a tuple of two strings: the username and the password.
6565

@@ -69,6 +69,6 @@ func (c *Container) Credentials() (string, string)
6969

7070
#### HTTPEndpoint
7171

72-
- 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>
72+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
7373

7474
The `HTTPEndpoint` method returns the HTTP endpoint of the ArangoDB container, using the following format: `http://$host:$port`.

docs/modules/dockermodelrunner.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Docker Model Runner
22

3-
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>
3+
Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
44

55
## Introduction
66

@@ -24,7 +24,7 @@ go get github.com/testcontainers/testcontainers-go/modules/dockermodelrunner
2424

2525
### Run function
2626

27-
- 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>
27+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
2828

2929
The Docker Model Runner module exposes two entrypoint functions to create the Docker Model Runner container:
3030

@@ -55,7 +55,7 @@ In example: `Run(context.Background(), "alpine/socat:1.8.0.1")`.
5555

5656
#### WithModel
5757

58-
- 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>
58+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
5959

6060
Use the `WithModel` option to set the model to pull when the container is started. Please be aware, that only Models as OCI Artifacts are compatible with Docker Model Runner.
6161

@@ -74,7 +74,7 @@ The Docker Model Runner container exposes the following methods:
7474

7575
#### PullModel
7676

77-
- 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>
77+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
7878

7979
Use the `PullModel` method to pull a model from the Docker Model Runner.
8080

@@ -87,7 +87,7 @@ Use the `PullModel` method to pull a model from the Docker Model Runner.
8787

8888
#### InspectModel
8989

90-
- 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>
90+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
9191

9292
Use the `InspectModel` method to inspect a model from the Docker Model Runner, by providing the model namespace and name.
9393

@@ -101,7 +101,7 @@ E.g. `ai/smollm2:360M-Q4_K_M`. See [Models as OCI Artifacts](https://hub.docker.
101101

102102
#### ListModels
103103

104-
- 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>
104+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
105105

106106
Use the `ListModels` method to list all models that are already pulled locally, using the Docker Model Runner format.
107107

docs/modules/gcloud-shared.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
#### WithProjectID
44

5-
- 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>
5+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
66

77
The `WithProjectID` function sets the project ID for the Google Cloud container.

docs/modules/gcloud.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The Google Cloud module exposes the following Go packages:
3131

3232
### Run function
3333

34-
- 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>
34+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
3535

3636
The BigQuery module exposes one entrypoint function to create the BigQuery container, and this function receives three parameters:
3737

@@ -56,7 +56,7 @@ In example: `Run(context.Background(), "ghcr.io/goccy/bigquery-emulator:0.6.1")`
5656

5757
#### Data YAML (Seed File)
5858

59-
- 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>
59+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
6060

6161
If you would like to do additional initialization in the BigQuery container, add a `data.yaml` file represented by an `io.Reader` to the container request with the `WithDataYAML` function.
6262
That file is copied after the container is created but before it's started. The startup command then used will look like `--project test --data-from-yaml /testcontainers-data.yaml`.
@@ -80,7 +80,7 @@ It's important to set the `option.WithEndpoint()` option using the container's U
8080
8181
### Run function
8282
83-
- 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>
83+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
8484
8585
The BigTable module exposes one entrypoint function to create the BigTable container, and this function receives three parameters:
8686
@@ -117,7 +117,7 @@ It's important to set the `option.WithEndpoint()` option using the container's U
117117
118118
### Run function
119119
120-
- 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>
120+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
121121
122122
The Datastore module exposes one entrypoint function to create the Datastore container, and this function receives three parameters:
123123
@@ -153,7 +153,7 @@ It's important to set the `option.WithEndpoint()` option using the container's U
153153
154154
### Run function
155155
156-
- 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>
156+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
157157
158158
The Firestore module exposes one entrypoint function to create the Firestore container, and this function receives three parameters:
159159
@@ -178,7 +178,7 @@ In example: `Run(context.Background(), "gcr.io/google.com/cloudsdktool/cloud-sdk
178178
179179
### Datastore mode
180180
181-
- 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>
181+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
182182
183183
Using the `WithDatastoreMode` option will run the Firestore emulator using `Firestore In Datastore` mode allowing you to use Datastore APIs and clients towards the Firestore emulator.
184184
@@ -197,7 +197,7 @@ It's important to set the target string of the `grpc.NewClient` method using the
197197
198198
### Run function
199199
200-
- 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>
200+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
201201
202202
The Pubsub module exposes one entrypoint function to create the Pubsub container, and this function receives three parameters:
203203
@@ -233,7 +233,7 @@ It's important to set the target string of the `grpc.NewClient` method using the
233233
234234
### Run function
235235
236-
- 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>
236+
- Since testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go/releases/tag/v0.37.0"><span class="tc-version">:material-tag: v0.37.0</span></a>
237237
238238
The Spanner module exposes one entrypoint function to create the Spanner container, and this function receives three parameters:
239239

0 commit comments

Comments
 (0)