Skip to content

Commit 5b2a442

Browse files
authored
Merge branch 'main' into test-java-versions
2 parents 6523069 + ce83c36 commit 5b2a442

File tree

34 files changed

+884
-55
lines changed

34 files changed

+884
-55
lines changed

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ body:
6060
- Solace
6161
- Solr
6262
- TiDB
63+
- Timeplus
6364
- ToxiProxy
6465
- Trino
6566
- Vault

.github/ISSUE_TEMPLATE/enhancement.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ body:
6060
- Solace
6161
- Solr
6262
- TiDB
63+
- Timeplus
6364
- ToxiProxy
6465
- Trino
6566
- Vault

.github/ISSUE_TEMPLATE/feature.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ body:
6060
- Solace
6161
- Solr
6262
- TiDB
63+
- Timeplus
6364
- ToxiProxy
6465
- Trino
6566
- Vault

.github/dependabot.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,11 @@ updates:
342342
schedule:
343343
interval: "weekly"
344344
open-pull-requests-limit: 10
345+
- package-ecosystem: "gradle"
346+
directory: "/modules/timeplus"
347+
schedule:
348+
interval: "weekly"
349+
open-pull-requests-limit: 10
345350
- package-ecosystem: "gradle"
346351
directory: "/modules/toxiproxy"
347352
schedule:

.github/labeler.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,10 @@
216216
- changed-files:
217217
- any-glob-to-any-file:
218218
- modules/tidb/**/*
219+
"modules/timeplus":
220+
- changed-files:
221+
- any-glob-to-any-file:
222+
- modules/timeplus/**/*
219223
"modules/toxiproxy":
220224
- changed-files:
221225
- any-glob-to-any-file:

.github/settings.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,9 @@ labels:
253253
- name: modules/tidb
254254
color: '#006b75'
255255

256+
- name: modules/timeplus
257+
color: '#006b75'
258+
256259
- name: modules/toxiproxy
257260
color: '#006b75'
258261

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: windows-test command dispatch
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
windows-test-command-trigger:
12+
permissions:
13+
pull-requests: write # for peter-evans/slash-command-dispatch to create PR reaction
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Trigger windows-test command
18+
uses: peter-evans/slash-command-dispatch@13bc09769d122a64f75aa5037256f6f2d78be8c4 # v4.0.0
19+
with:
20+
token: ${{ secrets.WINDOWS_WORKERS_TOKEN }}
21+
# The command to trigger the pipeline: e.g. /windows-test
22+
# The command name must match the name of the repository_dispatch.type in 'ci-windows.yml' workflow, using '-command' as suffix. E.g. 'windows-test-command'
23+
commands: windows-test
24+
issue-type: pull-request
25+
# The user that owns the above token must belong to the elevated role of 'Maintainers'
26+
permission: maintain
27+
reactions: false

.github/workflows/ci-windows.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ on:
3232
- 'README.md'
3333
- 'RELEASING.md'
3434
- '.sdkmanrc'
35+
repository_dispatch:
36+
types: [windows-test-command]
3537

3638
concurrency:
3739
group: "${{ github.workflow }}-${{ github.head_ref || github.sha }}"
@@ -42,6 +44,7 @@ permissions:
4244

4345
jobs:
4446
core:
47+
if: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event.client_payload.slash_command.command == 'windows-test' }}
4548
runs-on: self-hosted
4649
permissions:
4750
checks: write

docs/modules/databases/jdbc.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ Insert `tc:` after `jdbc:` as follows. Note that the hostname, port and database
8787

8888
`jdbc:tc:tidb:v6.1.0:///databasename`
8989

90+
#### Using Timeplus
91+
92+
`jdbc:tc:timeplus:2.3.21:///databasename`
93+
9094
#### Using Trino
9195

9296
`jdbc:tc:trino:352://localhost/memory/default`

docs/modules/databases/timeplus.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Timeplus 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:timeplus:{{latest_version}}"
10+
```
11+
12+
=== "Maven"
13+
```xml
14+
<dependency>
15+
<groupId>org.testcontainers</groupId>
16+
<artifactId>timeplus</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+

0 commit comments

Comments
 (0)