Skip to content

Commit 520639b

Browse files
Bump the dependencies group across 28 directories with 28 updates (#1021)
* Bump the dependencies group across 28 directories with 28 updates Bumps the dependencies group with 1 update in the /packages/modules/arangodb directory: arangodb. Bumps the dependencies group with 1 update in the /packages/modules/cassandra directory: cassandra. Bumps the dependencies group with 1 update in the /packages/modules/chromadb directory: chromadb/chroma. Bumps the dependencies group with 1 update in the /packages/modules/clickhouse directory: clickhouse/clickhouse-server. Bumps the dependencies group with 1 update in the /packages/modules/cockroachdb directory: cockroachdb/cockroach. Bumps the dependencies group with 1 update in the /packages/modules/couchbase directory: couchbase/server. Bumps the dependencies group with 1 update in the /packages/modules/elasticsearch directory: elasticsearch. Bumps the dependencies group with 1 update in the /packages/modules/gcloud directory: google.com/cloudsdktool/cloud-sdk. Bumps the dependencies group with 1 update in the /packages/modules/hivemq directory: hivemq/hivemq-ce. Bumps the dependencies group with 1 update in the /packages/modules/k3s directory: rancher/k3s. Bumps the dependencies group with 1 update in the /packages/modules/kafka directory: confluentinc/cp-kafka. Bumps the dependencies group with 1 update in the /packages/modules/localstack directory: localstack/localstack. Bumps the dependencies group with 1 update in the /packages/modules/mariadb directory: mariadb. Bumps the dependencies group with 1 update in the /packages/modules/mongodb directory: mongo. Bumps the dependencies group with 1 update in the /packages/modules/mysql directory: mysql. Bumps the dependencies group with 1 update in the /packages/modules/nats directory: nats. Bumps the dependencies group with 1 update in the /packages/modules/neo4j directory: neo4j. Bumps the dependencies group with 1 update in the /packages/modules/ollama directory: ollama/ollama. Bumps the dependencies group with 1 update in the /packages/modules/postgresql directory: postgres. Bumps the dependencies group with 1 update in the /packages/modules/qdrant directory: qdrant/qdrant. Bumps the dependencies group with 1 update in the /packages/modules/rabbitmq directory: rabbitmq. Bumps the dependencies group with 1 update in the /packages/modules/redis directory: redis. Bumps the dependencies group with 1 update in the /packages/modules/redpanda directory: redpandadata/redpanda. Bumps the dependencies group with 1 update in the /packages/modules/scylladb directory: scylladb/scylla. Bumps the dependencies group with 1 update in the /packages/modules/selenium directory: selenium/standalone-chrome. Bumps the dependencies group with 1 update in the /packages/modules/toxiproxy directory: [shopify/toxiproxy](https://github.com/Shopify/toxiproxy). Bumps the dependencies group with 1 update in the /packages/modules/valkey directory: valkey/valkey. Bumps the dependencies group with 1 update in the /packages/modules/weaviate directory: semitechnologies/weaviate. Updates `arangodb` from 3.10.0 to 3.12.4.3 Updates `cassandra` from 5.0.2 to 5.0.4 Updates `chromadb/chroma` from 0.6.3 to 1.0.10 Updates `clickhouse/clickhouse-server` from 25.3-alpine to 25.5-alpine Updates `cockroachdb/cockroach` from v24.3.5 to v25.2.0 Updates `couchbase/server` from 6.5.1 to 7.6.6 Updates `elasticsearch` from 7.17.7 to 9.0.1 Updates `google.com/cloudsdktool/cloud-sdk` from 517.0.0-emulators to 523.0.1-emulators Updates `hivemq/hivemq-ce` from 2023.5 to 2025.3 Updates `rancher/k3s` from v1.31.2-k3s1 to v1.33.1-k3s1 Updates `confluentinc/cp-kafka` from 7.2.2 to 7.9.1 Updates `localstack/localstack` from 2.2.0 to 4.4.0 Updates `mariadb` from 11.5.2 to 11.7.2 Updates `mongo` from 4.0.1 to 8.0.9 Updates `mysql` from 8.0.31 to 9.3.0 Updates `nats` from 2.8.4-alpine to 2.11.4-alpine Updates `neo4j` from 4.4.12 to 5.26.7 Updates `ollama/ollama` from 0.1.44 to 0.7.1 Updates `postgres` from 13.3-alpine to 17.5-alpine Updates `qdrant/qdrant` from v1.13.4 to v1.14.1 Updates `rabbitmq` from 3.12.11-management-alpine to 4.1.0-management-alpine Updates `redis` from 7.2 to 8.0 Updates `redpandadata/redpanda` from v23.3.10 to v25.1.4 Updates `scylladb/scylla` from 6.2.0 to 6.2.3 Updates `selenium/standalone-chrome` from 112.0 to 136.0 Updates `shopify/toxiproxy` from 2.11.0 to 2.12.0 - [Release notes](https://github.com/Shopify/toxiproxy/releases) - [Changelog](https://github.com/Shopify/toxiproxy/blob/main/CHANGELOG.md) - [Commits](Shopify/toxiproxy@v2.11.0...v2.12.0) Updates `valkey/valkey` from 8.0 to 8.1 Updates `semitechnologies/weaviate` from 1.24.5 to 1.30.6 --- updated-dependencies: - dependency-name: arangodb dependency-version: 3.12.4.3 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: cassandra dependency-version: 5.0.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: chromadb/chroma dependency-version: 1.0.10 dependency-type: direct:production update-type: version-update:semver-major dependency-group: dependencies - dependency-name: clickhouse/clickhouse-server dependency-version: 25.5-alpine dependency-type: direct:production dependency-group: dependencies - dependency-name: cockroachdb/cockroach dependency-version: v25.2.0 dependency-type: direct:production dependency-group: dependencies - dependency-name: couchbase/server dependency-version: 7.6.6 dependency-type: direct:production update-type: version-update:semver-major dependency-group: dependencies - dependency-name: elasticsearch dependency-version: 9.0.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: dependencies - dependency-name: google.com/cloudsdktool/cloud-sdk dependency-version: 523.0.1-emulators dependency-type: direct:production update-type: version-update:semver-major dependency-group: dependencies - dependency-name: hivemq/hivemq-ce dependency-version: '2025.3' dependency-type: direct:production update-type: version-update:semver-major dependency-group: dependencies - dependency-name: rancher/k3s dependency-version: v1.33.1-k3s1 dependency-type: direct:production dependency-group: dependencies - dependency-name: confluentinc/cp-kafka dependency-version: 7.9.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: localstack/localstack dependency-version: 4.4.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: dependencies - dependency-name: mariadb dependency-version: 11.7.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: mongo dependency-version: 8.0.9 dependency-type: direct:production update-type: version-update:semver-major dependency-group: dependencies - dependency-name: mysql dependency-version: 9.3.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: dependencies - dependency-name: nats dependency-version: 2.11.4-alpine dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: neo4j dependency-version: 5.26.7 dependency-type: direct:production update-type: version-update:semver-major dependency-group: dependencies - dependency-name: ollama/ollama dependency-version: 0.7.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: postgres dependency-version: 17.5-alpine dependency-type: direct:production dependency-group: dependencies - dependency-name: qdrant/qdrant dependency-version: v1.14.1 dependency-type: direct:production dependency-group: dependencies - dependency-name: rabbitmq dependency-version: 4.1.0-management-alpine dependency-type: direct:production update-type: version-update:semver-major dependency-group: dependencies - dependency-name: redis dependency-version: '8.0' dependency-type: direct:production update-type: version-update:semver-major dependency-group: dependencies - dependency-name: redpandadata/redpanda dependency-version: v25.1.4 dependency-type: direct:production dependency-group: dependencies - dependency-name: scylladb/scylla dependency-version: 6.2.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: selenium/standalone-chrome dependency-version: '136.0' dependency-type: direct:production update-type: version-update:semver-major dependency-group: dependencies - dependency-name: shopify/toxiproxy dependency-version: 2.12.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: valkey/valkey dependency-version: '8.1' dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: semitechnologies/weaviate dependency-version: 1.30.6 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> * Fix Cassandra tests * Fix Ollama tests * Fix Localstack tests * Fix Elasticsearch tests --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Cristian Greco <[email protected]>
1 parent f5b7b46 commit 520639b

File tree

32 files changed

+99
-39
lines changed

32 files changed

+99
-39
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM arangodb:3.10.0
1+
FROM arangodb:3.12.4.3
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM cassandra:5.0.2
1+
FROM cassandra:5.0.4

packages/modules/cassandra/src/cassandra-container.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { Client } from "cassandra-driver";
2+
import { ImageName } from "testcontainers";
23
import { getImage } from "../../../testcontainers/src/utils/test-helper";
34
import { CassandraContainer } from "./cassandra-container";
45

@@ -18,7 +19,7 @@ describe("Cassandra", { timeout: 240_000 }, () => {
1819
await client.connect();
1920

2021
const result = await client.execute("SELECT release_version FROM system.local");
21-
expect(result.rows[0].release_version).toBe("5.0.2");
22+
expect(result.rows[0].release_version).toBe(ImageName.fromString(IMAGE).tag);
2223

2324
await client.shutdown();
2425
await container.stop();
@@ -124,7 +125,7 @@ describe("Cassandra", { timeout: 240_000 }, () => {
124125
await client.connect();
125126

126127
const result = await client.execute("SELECT release_version FROM system.local");
127-
expect(result.rows[0].release_version).toBe("5.0.2");
128+
expect(result.rows[0].release_version).toBe(ImageName.fromString(IMAGE).tag);
128129

129130
await client.shutdown();
130131
await container.stop();
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM clickhouse/clickhouse-server:25.3-alpine
1+
FROM clickhouse/clickhouse-server:25.5-alpine
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM cockroachdb/cockroach:v24.3.5
1+
FROM cockroachdb/cockroach:v25.2.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM couchbase/server:6.5.1
1+
FROM couchbase/server:7.6.6
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM elasticsearch:7.17.7
1+
FROM elasticsearch:9.0.1

packages/modules/elasticsearch/src/elasticsearch-container.test.ts

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,16 @@ import { getImage } from "../../../testcontainers/src/utils/test-helper";
33
import { ElasticsearchContainer } from "./elasticsearch-container";
44

55
const IMAGE = getImage(__dirname);
6+
const images = ["elasticsearch:7.17.28", "elasticsearch:8.18.1", IMAGE];
67

78
describe("ElasticsearchContainer", { timeout: 180_000 }, () => {
89
// createIndex {
9-
it("should create an index", async () => {
10-
const container = await new ElasticsearchContainer(IMAGE).start();
11-
const client = new Client({ node: container.getHttpUrl() });
10+
it.each(images)("should create an index with %s", async (image) => {
11+
const container = await new ElasticsearchContainer(image).start();
12+
const client = new Client({
13+
node: container.getHttpUrl(),
14+
auth: { username: container.getUsername(), password: container.getPassword() },
15+
});
1216

1317
await client.indices.create({ index: "people" });
1418

@@ -20,7 +24,10 @@ describe("ElasticsearchContainer", { timeout: 180_000 }, () => {
2024
// indexDocument {
2125
it("should index a document", async () => {
2226
const container = await new ElasticsearchContainer(IMAGE).start();
23-
const client = new Client({ node: container.getHttpUrl() });
27+
const client = new Client({
28+
node: container.getHttpUrl(),
29+
auth: { username: container.getUsername(), password: container.getPassword() },
30+
});
2431

2532
const document = {
2633
id: "1",
@@ -41,7 +48,24 @@ describe("ElasticsearchContainer", { timeout: 180_000 }, () => {
4148
const container = await new ElasticsearchContainer(IMAGE).start();
4249
await container.restart();
4350

44-
const client = new Client({ node: container.getHttpUrl() });
51+
const client = new Client({
52+
node: container.getHttpUrl(),
53+
auth: { username: container.getUsername(), password: container.getPassword() },
54+
});
55+
56+
await client.indices.create({ index: "people" });
57+
58+
expect(await client.indices.exists({ index: "people" })).toBe(true);
59+
await container.stop();
60+
}); // }
61+
62+
it("should set custom password", async () => {
63+
const container = await new ElasticsearchContainer(IMAGE).withPassword("testPassword").start();
64+
65+
const client = new Client({
66+
node: container.getHttpUrl(),
67+
auth: { username: container.getUsername(), password: container.getPassword() },
68+
});
4569

4670
await client.indices.create({ index: "people" });
4771

Lines changed: 37 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,53 @@
1-
import { AbstractStartedContainer, GenericContainer, StartedTestContainer } from "testcontainers";
1+
import { AbstractStartedContainer, GenericContainer, StartedTestContainer, Wait } from "testcontainers";
22

33
const ELASTIC_SEARCH_HTTP_PORT = 9200;
44

55
export class ElasticsearchContainer extends GenericContainer {
6+
private password = "changeme";
7+
private readonly username = "elastic";
8+
private readonly defaultWaitStrategy = Wait.forHttp("/", ELASTIC_SEARCH_HTTP_PORT).withBasicCredentials(
9+
this.username,
10+
this.password
11+
);
12+
613
constructor(image: string) {
714
super(image);
815
this.withExposedPorts(ELASTIC_SEARCH_HTTP_PORT)
9-
.withEnvironment({ "discovery.type": "single-node" })
16+
.withEnvironment({
17+
"discovery.type": "single-node",
18+
"xpack.security.http.ssl.enabled": "false",
19+
})
1020
.withCopyContentToContainer([
1121
{
1222
content: "-Xmx2G\n",
1323
target: "/usr/share/elasticsearch/config/jvm.options.d/elasticsearch-default-memory-vm.options",
1424
},
1525
])
26+
.withWaitStrategy(this.defaultWaitStrategy)
1627
.withStartupTimeout(120_000);
1728
}
1829

30+
public withPassword(password: string): this {
31+
this.password = password;
32+
this.defaultWaitStrategy.withBasicCredentials(this.username, this.password);
33+
return this;
34+
}
35+
1936
public override async start(): Promise<StartedElasticsearchContainer> {
20-
return new StartedElasticsearchContainer(await super.start());
37+
this.withEnvironment({
38+
ELASTIC_PASSWORD: this.password,
39+
});
40+
41+
return new StartedElasticsearchContainer(await super.start(), this.username, this.password);
2142
}
2243
}
2344

2445
export class StartedElasticsearchContainer extends AbstractStartedContainer {
25-
constructor(override readonly startedTestContainer: StartedTestContainer) {
46+
constructor(
47+
override readonly startedTestContainer: StartedTestContainer,
48+
private readonly username: string,
49+
private readonly password: string
50+
) {
2651
super(startedTestContainer);
2752
}
2853

@@ -33,4 +58,12 @@ export class StartedElasticsearchContainer extends AbstractStartedContainer {
3358
public getHttpUrl(): string {
3459
return `http://${this.getHost()}:${this.getPort()}`;
3560
}
61+
62+
public getUsername(): string {
63+
return this.username;
64+
}
65+
66+
public getPassword(): string {
67+
return this.password;
68+
}
3669
}

packages/modules/gcloud/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
FROM gcr.io/google.com/cloudsdktool/cloud-sdk:517.0.0-emulators
1+
FROM gcr.io/google.com/cloudsdktool/cloud-sdk:523.0.1-emulators
22
FROM fsouza/fake-gcs-server:1.52.2
33
FROM ghcr.io/goccy/bigquery-emulator:0.6.6

0 commit comments

Comments
 (0)