Skip to content

Commit 957d2c0

Browse files
authored
Merge branch 'main' into dependabot/github_actions/gradle/actions-4
2 parents 413c70f + 964c6e6 commit 957d2c0

File tree

195 files changed

+2722
-664
lines changed

Some content is hidden

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

195 files changed

+2722
-664
lines changed

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 2 additions & 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
@@ -63,6 +64,7 @@ body:
6364
- Timeplus
6465
- ToxiProxy
6566
- Trino
67+
- Typesense
6668
- Vault
6769
- Weaviate
6870
- YugabyteDB

.github/ISSUE_TEMPLATE/enhancement.yaml

Lines changed: 2 additions & 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
@@ -63,6 +64,7 @@ body:
6364
- Timeplus
6465
- ToxiProxy
6566
- Trino
67+
- Typesense
6668
- Vault
6769
- Weaviate
6870
- YugabyteDB

.github/ISSUE_TEMPLATE/feature.yaml

Lines changed: 2 additions & 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
@@ -63,6 +64,7 @@ body:
6364
- Timeplus
6465
- ToxiProxy
6566
- Trino
67+
- Typesense
6668
- Vault
6769
- Weaviate
6870
- YugabyteDB

.github/dependabot.yml

Lines changed: 9 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"
@@ -357,6 +361,11 @@ updates:
357361
schedule:
358362
interval: "weekly"
359363
open-pull-requests-limit: 10
364+
- package-ecosystem: "gradle"
365+
directory: "/modules/typesense"
366+
schedule:
367+
interval: "weekly"
368+
open-pull-requests-limit: 10
360369
- package-ecosystem: "gradle"
361370
directory: "/modules/vault"
362371
schedule:

.github/labeler.yml

Lines changed: 8 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:
@@ -228,6 +232,10 @@
228232
- changed-files:
229233
- any-glob-to-any-file:
230234
- modules/trino/**/*
235+
"modules/typesense":
236+
- changed-files:
237+
- any-glob-to-any-file:
238+
- modules/typesense/**/*
231239
"modules/vault":
232240
- changed-files:
233241
- any-glob-to-any-file:

.github/settings.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repository:
1313
homepage: https://testcontainers.org
1414

1515
# A comma-separated list of topics to set on the repository
16-
topics: java,testing,docker,docker-compose,jvm,test-automation,junit,hacktoberfest
16+
topics: java,testing,docker,docker-compose,jvm,test-automation,junit,hacktoberfest,integration-testing
1717

1818
# Either `true` to make the repository private, or `false` to make it public.
1919
private: false
@@ -262,6 +262,9 @@ labels:
262262
- name: modules/trino
263263
color: '#006b75'
264264

265+
- name: modules/typesense
266+
color: '#006b75'
267+
265268
- name: modules/vault
266269
color: '#006b75'
267270

@@ -271,6 +274,9 @@ labels:
271274
- name: modules/yugabytedb
272275
color: '#006b75'
273276

277+
- name: modules/databend
278+
color: '#006b75'
279+
274280
- name: os/linux
275281
color: '#1d76db'
276282

.github/workflows/ci-windows.yml

Lines changed: 64 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,76 @@ concurrency:
4242
permissions:
4343
contents: read
4444

45+
env:
46+
DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
47+
4548
jobs:
46-
core:
47-
if: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event.client_payload.slash_command.command == 'windows-test' }}
49+
main:
50+
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
51+
runs-on: self-hosted
52+
permissions:
53+
checks: write
54+
steps:
55+
- uses: actions/checkout@v4
56+
- name: Build with Gradle
57+
run: ./gradlew.bat cleanTest testcontainers:test --no-daemon --continue --scan --no-build-cache
58+
- uses: ./.github/actions/setup-junit-report
59+
60+
pr:
61+
if: ${{ github.event.client_payload.slash_command.command == 'windows-test' }}
4862
runs-on: self-hosted
4963
permissions:
5064
checks: write
65+
statuses: write
5166
steps:
67+
- name: Create pending status
68+
uses: actions/github-script@v7
69+
with:
70+
github-token: ${{ secrets.GITHUB_TOKEN }}
71+
script: |
72+
github.rest.repos.createCommitStatus({
73+
owner: context.repo.owner,
74+
repo: context.repo.repo,
75+
sha: context.payload.client_payload.pull_request.head.sha,
76+
state: 'pending',
77+
target_url: `https://github.com/${process.env.GITHUB_REPOSITORY}/actions/runs/${process.env.GITHUB_RUN_ID}`,
78+
context: 'CI - Windows',
79+
})
5280
- uses: actions/checkout@v4
81+
with:
82+
token: ${{ secrets.GITHUB_TOKEN }}
83+
repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }}
84+
ref: ${{ github.event.client_payload.pull_request.head.ref }}
5385
- name: Build with Gradle
5486
run: ./gradlew.bat cleanTest testcontainers:test --no-daemon --continue --scan --no-build-cache
5587
- uses: ./.github/actions/setup-junit-report
88+
89+
- name: Create success status
90+
uses: actions/github-script@v7
91+
if: success()
92+
with:
93+
github-token: ${{ secrets.GITHUB_TOKEN }}
94+
script: |
95+
github.rest.repos.createCommitStatus({
96+
owner: context.repo.owner,
97+
repo: context.repo.repo,
98+
sha: context.payload.client_payload.pull_request.head.sha,
99+
state: 'success',
100+
target_url: `https://github.com/${process.env.GITHUB_REPOSITORY}/actions/runs/${process.env.GITHUB_RUN_ID}`,
101+
context: 'CI - Windows',
102+
})
103+
104+
- name: Create failure status
105+
uses: actions/github-script@v7
106+
if: failure()
107+
with:
108+
github-token: ${{ secrets.GITHUB_TOKEN }}
109+
script: |
110+
github.rest.repos.createCommitStatus({
111+
owner: context.repo.owner,
112+
repo: context.repo.repo,
113+
sha: context.payload.client_payload.pull_request.head.sha,
114+
state: 'failure',
115+
target_url: `https://github.com/${process.env.GITHUB_REPOSITORY}/actions/runs/${process.env.GITHUB_RUN_ID}`,
116+
context: 'CI - Windows',
117+
})

.github/workflows/moby-latest.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
# nightly build, at 23:59 CEST
77
- cron: '59 23 * * *'
88

9+
env:
10+
DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
11+
912
jobs:
1013
test_docker:
1114
strategy:
@@ -44,13 +47,13 @@ jobs:
4447
- name: Notify to Slack on failures
4548
if: failure()
4649
id: slack
47-
uses: slackapi/slack-github-action@v1.26.0
50+
uses: slackapi/slack-github-action@v1.27.0
4851
with:
4952
payload: |
5053
{
5154
"tc_project": "testcontainers-java",
5255
"tc_docker_install_type": "${{ matrix.install-docker-type }}",
53-
"tc_github_action_url": "https://github.com/testcontainers/testcontainers-java/actions/runs/${{ env.GITHUB_RUN_ID }}/job/${{ env.GITHUB_RUN_NUMBER }}",
56+
"tc_github_action_url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }}",
5457
"tc_github_action_status": "FAILED",
5558
"tc_slack_channel_id": "${{ secrets.SLACK_DOCKER_LATEST_CHANNEL_ID }}"
5659
}

.github/workflows/update-docs-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
sed -i "s/latest_version: .*/latest_version: ${GITHUB_REF##*/}/g" mkdocs.yml
2424
git diff
2525
- name: Create Pull Request
26-
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v3.10.1
26+
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v3.10.1
2727
with:
2828
title: Update docs version to ${GITHUB_REF##*/}
2929
body: |

.github/workflows/update-gradle-wrapper.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/checkout@v4
2020

2121
- name: Update Gradle Wrapper
22-
uses: gradle-update/update-gradle-wrapper-action@0407394b9d173dfc9cf5695f9f560fef6d61a5fe # v1.0.13
22+
uses: gradle-update/update-gradle-wrapper-action@9268373d69bd0974b6318eb3b512b8e025060bbe # v1.0.13
2323
with:
2424
repo-token: ${{ secrets.GITHUB_TOKEN }}
2525
labels: dependencies

0 commit comments

Comments
 (0)