Skip to content

Commit a798d69

Browse files
authored
Merge branch 'main' into test-java-versions
2 parents 462d9ea + 7a9d09b commit a798d69

File tree

104 files changed

+1337
-455
lines changed

Some content is hidden

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

104 files changed

+1337
-455
lines changed

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ body:
6464
- Timeplus
6565
- ToxiProxy
6666
- Trino
67+
- Typesense
6768
- Vault
6869
- Weaviate
6970
- YugabyteDB

.github/ISSUE_TEMPLATE/enhancement.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ body:
6464
- Timeplus
6565
- ToxiProxy
6666
- Trino
67+
- Typesense
6768
- Vault
6869
- Weaviate
6970
- YugabyteDB

.github/ISSUE_TEMPLATE/feature.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ body:
6464
- Timeplus
6565
- ToxiProxy
6666
- Trino
67+
- Typesense
6768
- Vault
6869
- Weaviate
6970
- YugabyteDB

.github/actions/setup-gradle/action.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ runs:
44
using: "composite"
55
steps:
66
- name: Setup Gradle Build Action
7-
uses: gradle/actions/setup-gradle@v3
7+
uses: gradle/actions/setup-gradle@v4
88
with:
99
gradle-home-cache-includes: |
1010
caches
1111
notifications
1212
jdks
13-
gradle-home-cache-cleanup: true

.github/dependabot.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,11 @@ updates:
361361
schedule:
362362
interval: "weekly"
363363
open-pull-requests-limit: 10
364+
- package-ecosystem: "gradle"
365+
directory: "/modules/typesense"
366+
schedule:
367+
interval: "weekly"
368+
open-pull-requests-limit: 10
364369
- package-ecosystem: "gradle"
365370
directory: "/modules/vault"
366371
schedule:

.github/labeler.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,10 @@
232232
- changed-files:
233233
- any-glob-to-any-file:
234234
- modules/trino/**/*
235+
"modules/typesense":
236+
- changed-files:
237+
- any-glob-to-any-file:
238+
- modules/typesense/**/*
235239
"modules/vault":
236240
- changed-files:
237241
- any-glob-to-any-file:

.github/settings.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

.github/workflows/ci-rootless.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- name: Remove Docket root socket
5353
run: sudo rm -rf /var/run/docker.sock
5454
- name: Setup Gradle Build Action
55-
uses: gradle/actions/setup-gradle@v3
55+
uses: gradle/actions/setup-gradle@v4
5656
- name: Build with Gradle
5757
run: ./gradlew --no-daemon --scan testcontainers:test --tests '*GenericContainerRuleTest'
5858
- uses: ./.github/actions/setup-junit-report

.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/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
- uses: actions/checkout@v4
9292
- uses: ./.github/actions/setup-java
9393
- name: Setup Gradle Build Action
94-
uses: gradle/actions/setup-gradle@v3
94+
uses: gradle/actions/setup-gradle@v4
9595
- id: set-matrix
9696
env:
9797
# Since we override the tests executor,
@@ -126,7 +126,7 @@ jobs:
126126
- uses: actions/checkout@v4
127127
- uses: ./.github/actions/setup-java
128128
- name: Setup Gradle Build Action
129-
uses: gradle/actions/setup-gradle@v3
129+
uses: gradle/actions/setup-gradle@v4
130130
- id: set-matrix
131131
working-directory: ./examples/
132132
env:
@@ -163,7 +163,7 @@ jobs:
163163
- uses: actions/checkout@v4
164164
- uses: ./.github/actions/setup-java
165165
- name: Setup Gradle Build Action
166-
uses: gradle/actions/setup-gradle@v3
166+
uses: gradle/actions/setup-gradle@v4
167167
- id: set-matrix
168168
env:
169169
# Since we override the tests executor,

0 commit comments

Comments
 (0)