Skip to content

Commit 4172f16

Browse files
authored
Merge branch 'main' into test-java-versions
2 parents 5b2a442 + bd0b75f commit 4172f16

File tree

17 files changed

+270
-2
lines changed

17 files changed

+270
-2
lines changed

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ body:
2323
- Consul
2424
- Couchbase
2525
- CrateDB
26+
- Databend
2627
- DB2
2728
- Dynalite
2829
- Elasticsearch

.github/ISSUE_TEMPLATE/enhancement.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ body:
2323
- Consul
2424
- Couchbase
2525
- CrateDB
26+
- Databend
2627
- DB2
2728
- Dynalite
2829
- Elasticsearch

.github/ISSUE_TEMPLATE/feature.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ body:
2323
- CrateDB
2424
- Consul
2525
- Couchbase
26+
- Databend
2627
- DB2
2728
- Dynalite
2829
- Elasticsearch

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ updates:
9090
directory: "/modules/database-commons"
9191
schedule:
9292
interval: "weekly"
93+
- package-ecosystem: "gradle"
94+
directory: "/modules/databend"
95+
schedule:
96+
interval: "weekly"
9397
open-pull-requests-limit: 10
9498
- package-ecosystem: "gradle"
9599
directory: "/modules/db2"

.github/labeler.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@
5555
- changed-files:
5656
- any-glob-to-any-file:
5757
- modules/cratedb/**/*
58+
"modules/databend":
59+
- changed-files:
60+
- any-glob-to-any-file:
61+
- modules/databend/**/*
5862
"modules/db2":
5963
- changed-files:
6064
- any-glob-to-any-file:

.github/settings.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,9 @@ labels:
271271
- name: modules/yugabytedb
272272
color: '#006b75'
273273

274+
- name: modules/databend
275+
color: '#006b75'
276+
274277
- name: os/linux
275278
color: '#1d76db'
276279

core/src/main/java/org/testcontainers/images/RemoteDockerImage.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import com.github.dockerjava.api.command.PullImageCmd;
55
import com.github.dockerjava.api.exception.DockerClientException;
66
import com.github.dockerjava.api.exception.InternalServerErrorException;
7+
import com.github.dockerjava.api.exception.NotFoundException;
78
import com.google.common.util.concurrent.Futures;
89
import lombok.AccessLevel;
910
import lombok.AllArgsConstructor;
@@ -155,7 +156,7 @@ private TimeLimitedLoggedPullImageResultCallback pullImage(PullImageCmd pullImag
155156
throws InterruptedException {
156157
try {
157158
return pullImageCmd.exec(new TimeLimitedLoggedPullImageResultCallback(logger)).awaitCompletion();
158-
} catch (DockerClientException e) {
159+
} catch (DockerClientException | NotFoundException e) {
159160
// Try to fallback to x86
160161
return pullImageCmd
161162
.withPlatform("linux/amd64")

core/src/main/java/org/testcontainers/utility/RyukContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
class RyukContainer extends GenericContainer<RyukContainer> {
1010

1111
RyukContainer() {
12-
super("testcontainers/ryuk:0.8.1");
12+
super("testcontainers/ryuk:0.9.0");
1313
withExposedPorts(8080);
1414
withCreateContainerCmdModifier(cmd -> {
1515
cmd.withName("testcontainers-ryuk-" + DockerClientFactory.SESSION_ID);

docs/modules/databases/databend.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Databend Module
2+
3+
## Adding this module to your project dependencies
4+
5+
Add the following dependency to your `pom.xml`/`build.gradle` file:
6+
7+
=== "Gradle"
8+
```groovy
9+
testImplementation "org.testcontainers:databend:{{latest_version}}"
10+
```
11+
12+
=== "Maven"
13+
```xml
14+
<dependency>
15+
<groupId>org.testcontainers</groupId>
16+
<artifactId>databend</artifactId>
17+
<version>{{latest_version}}</version>
18+
<scope>test</scope>
19+
</dependency>
20+
```
21+
22+
!!! hint
23+
Adding this Testcontainers library JAR will not automatically add a database driver JAR to your project. You should ensure that your project also has a suitable database driver as a dependency.
24+

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ nav:
5656
- modules/databases/couchbase.md
5757
- modules/databases/clickhouse.md
5858
- modules/databases/cratedb.md
59+
- modules/databases/databend.md
5960
- modules/databases/db2.md
6061
- modules/databases/dynalite.md
6162
- modules/databases/influxdb.md

0 commit comments

Comments
 (0)