Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8ca175b

Browse files
authored
chore: use github var for kurrentdb images (#317)
1 parenta6cfe08 commit8ca175b

File tree

16 files changed

+294
-379
lines changed

16 files changed

+294
-379
lines changed

‎.github/ISSUE_TEMPLATE/BUG_REPORT.yml

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
name:Bug report
2+
description:Help us improve the Java client
3+
labels:
4+
-triage
5+
body:
6+
-type:textarea
7+
id:current-behavior
8+
attributes:
9+
label:🐛 Current behavior
10+
description:A clear and concise description of what the bug is.
11+
validations:
12+
required:true
13+
-type:textarea
14+
id:reproduction-steps
15+
attributes:
16+
label:🔍 Steps to reproduce
17+
description:Steps to reproduce the behavior.
18+
placeholder:|
19+
1. Go to ...
20+
2. Click on ...
21+
3. Scroll down to ...
22+
4. See error
23+
24+
You can attach screenshots by dragging and dropping, or selecting and pasting them in the text field.
25+
validations:
26+
required:true
27+
-type:input
28+
id:reproduction-links
29+
attributes:
30+
label:Reproducible link
31+
description:A link to a minimal reproducible example. This could be a GitHub repository, CodeSandbox, or any other online code editor.
32+
placeholder:e.g, github.com/company/repo
33+
validations:
34+
required:true
35+
-type:textarea
36+
id:expected-behavior
37+
attributes:
38+
label:💭 Expected behavior
39+
description:A clear and concise description of what you expected to happen.
40+
validations:
41+
required:true
42+
-type:input
43+
id:client-version
44+
attributes:
45+
label:Package version
46+
description:What version of the client you're experiencing the issue with.
47+
placeholder:e.g., kurrentdb-client 1.1.2
48+
validations:
49+
required:true
50+
-type:input
51+
id:kurrentdb-version
52+
attributes:
53+
label:KurrentDB Version
54+
description:What version of the database you are using.
55+
placeholder:e.g., KurrentDB v24.10
56+
validations:
57+
required:true
58+
-type:input
59+
id:connection
60+
attributes:
61+
label:Connection string
62+
description:What connection string you're using. Hide and sensitive information if necessary.
63+
placeholder:e.g., kurrentdb://admin:changeit@localhost:2113
64+
validations:
65+
required:true
66+
-type:dropdown
67+
id:deployment-environment
68+
attributes:
69+
label:☁️ Deployment Environment
70+
description:How is KurrentDB deployed?
71+
options:
72+
-Single-node (Docker)
73+
-Single-node (Bare metal/VM)
74+
-Multi-node cluster (On-prem)
75+
-Multi-node cluster (Cloud)
76+
-Managed KurrentDB Cloud
77+
-Other (please specify below)
78+
validations:
79+
required:true
80+
-type:input
81+
id:deployment-other
82+
attributes:
83+
label:Other Deployment Details
84+
description:If you selected "Other," please specify your deployment setup.
85+
placeholder:e.g., Kubernetes with custom networking
86+
-type:input
87+
id:os
88+
attributes:
89+
label:Operating system
90+
placeholder:e.g., macOS 13.1
91+
-type:checkboxes
92+
attributes:
93+
label:Code of Conduct
94+
description:By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/algolia/.github/blob/main/CODE_OF_CONDUCT.md).
95+
options:
96+
-label:I agree to follow this project's Code of Conduct
97+
required:true

‎.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled:false
2+
contact_links:
3+
-name:Feature Request
4+
url:https://github.com/kurrent-io/KurrentDB-Client-Java/discussions/new?category=ideas&labels=triage&title=Feature%20request%3A%20
5+
about:Request a feature to add to the client
6+
-name:Ask a Question
7+
url:https://github.com/kurrent-io/KurrentDB-Client-Java/discussions/new?category=q-a&labels=triage
8+
about:Ask questions and discuss with other community members.
Lines changed: 34 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,34 @@
1-
name:Build and Run Tests
2-
on:[pull_request]
3-
jobs:
4-
build:
5-
name:Build
6-
strategy:
7-
fail-fast:false
8-
matrix:
9-
java:[8, 11, 17]
10-
runs-on:ubuntu-latest
11-
12-
steps:
13-
-name:Check Out Sources
14-
uses:actions/checkout@v4
15-
16-
-name:Set up JDK ${{ matrix.java }}
17-
uses:actions/setup-java@v3
18-
with:
19-
java-version:${{ matrix.java }}
20-
distribution:'temurin'
21-
22-
-name:Setup Gradle
23-
uses:gradle/gradle-build-action@v3
24-
with:
25-
gradle-version:8.13
26-
27-
-name:Build
28-
run:./gradlew compileTest
29-
30-
# Tests that do not require a database connection.
31-
-name:Misc tests
32-
run:./gradlew ci --tests MiscTests
33-
34-
tests:
35-
needs:build
36-
name:Tests
37-
38-
strategy:
39-
fail-fast:false
40-
matrix:
41-
version:[previous-lts, lts, latest, ci]
42-
43-
uses:./.github/workflows/tests.yml
44-
with:
45-
kdb_version:${{ matrix.version }}
46-
47-
plugins-tests:
48-
needs:build
49-
name:Plugins Tests
50-
51-
strategy:
52-
fail-fast:false
53-
matrix:
54-
version:[24.2.0-jammy]
55-
56-
uses:./.github/workflows/plugins-tests.yml
57-
with:
58-
kdb_version:${{ matrix.version }}
59-
secrets:inherit
1+
name:Build and Run Tests
2+
on:
3+
workflow_call:
4+
5+
jobs:
6+
build:
7+
name:Build
8+
strategy:
9+
fail-fast:false
10+
matrix:
11+
java:[ 8, 11, 17 ]
12+
runs-on:ubuntu-latest
13+
14+
steps:
15+
-name:Check Out Sources
16+
uses:actions/checkout@v4
17+
18+
-name:Set up JDK ${{ matrix.java }}
19+
uses:actions/setup-java@v3
20+
with:
21+
java-version:${{ matrix.java }}
22+
distribution:'temurin'
23+
24+
-name:Setup Gradle
25+
uses:gradle/gradle-build-action@v3
26+
with:
27+
gradle-version:8.13
28+
29+
-name:Build
30+
run:./gradlew compileTest
31+
32+
# Tests that do not require a database connection.
33+
-name:Misc tests
34+
run:./gradlew ci --tests MiscTests

‎.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name:CI
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
-trunk
7+
schedule:
8+
-cron:'0 0 * * 0'# Run every Sunday at midnight UTC
9+
10+
jobs:
11+
build:
12+
uses:./.github/workflows/build.yml
13+
14+
ci:
15+
name:Tests (CI)
16+
uses:./.github/workflows/tests.yml
17+
with:
18+
image:${{ fromJSON(vars.KURRENTDB_DOCKER_IMAGES).ci.fullname }}
19+
secrets:inherit

‎.github/workflows/docker-repo.yml

Lines changed: 0 additions & 49 deletions
This file was deleted.

‎.github/workflows/lts.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name:LTS
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
-trunk
7+
schedule:
8+
-cron:'0 0 * * 0'# Run every Sunday at midnight UTC
9+
10+
jobs:
11+
build:
12+
uses:./.github/workflows/build.yml
13+
14+
lts:
15+
name:Tests (LTS)
16+
uses:./.github/workflows/tests.yml
17+
with:
18+
image:${{ fromJSON(vars.KURRENTDB_DOCKER_IMAGES).lts.fullname }}
19+
secrets:inherit
20+
21+
# Will be removed in the future
22+
plugins-tests:
23+
name:Plugins Tests
24+
25+
uses:./.github/workflows/plugins-tests.yml
26+
with:
27+
image:"docker.eventstore.com/eventstore-ee/eventstoredb-commercial:24.2.0-jammy"
28+
secrets:inherit

‎.github/workflows/plugins-tests.yml

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,12 @@ name: enterprise plugins tests workflow
33
on:
44
workflow_call:
55
inputs:
6-
runtime_env:
7-
description:The runtime environment we want to run like release or staging
8-
type:string
9-
default:enterprise
10-
11-
kdb_version:
6+
image:
127
required:true
138
type:string
149

1510
jobs:
16-
provide_docker:
17-
uses:./.github/workflows/docker-repo.yml
18-
with:
19-
runtime_env:${{ inputs.runtime_env }}
20-
2111
single_node:
22-
needs:provide_docker
2312
name:Single Node
2413

2514
strategy:
@@ -57,9 +46,7 @@ jobs:
5746
-name:Execute Gradle build
5847
run:./gradlew ci --tests ${{ matrix.test }}Tests
5948
env:
60-
KURRENT_DOCKER_REGISTRY_ENV:docker.eventstore.com
61-
KURRENT_DOCKER_IMAGE_ENV:${{ needs.provide_docker.outputs.docker_repo }}/${{ needs.provide_docker.outputs.docker_container }}
62-
KURRENT_DOCKER_TAG_ENV:${{ inputs.kdb_version }}
49+
KURRENTDB_IMAGE:${{ inputs.image }}
6350
SECURE:true
6451

6552
-uses:actions/upload-artifact@v4
@@ -70,7 +57,6 @@ jobs:
7057
if-no-files-found:error
7158

7259
cluster:
73-
needs:provide_docker
7460
name:Cluster
7561

7662
strategy:
@@ -95,9 +81,7 @@ jobs:
9581
-name:Set up cluster with Docker Compose
9682
run:docker compose up -d
9783
env:
98-
CONTAINER_REGISTRY:docker.eventstore.com
99-
CONTAINER_IMAGE:${{ needs.provide_docker.outputs.docker_repo }}/${{ needs.provide_docker.outputs.docker_container }}
100-
CONTAINER_IMAGE_VERSION:${{ inputs.kdb_version }}
84+
KURRENTDB_IMAGE:${{ inputs.image }}
10185

10286
-name:Generate user certificates
10387
run:docker compose --file configure-user-certs-for-tests.yml up

‎.github/workflows/previous-lts.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name:Previous LTS
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
-trunk
7+
schedule:
8+
-cron:'0 0 * * 0'# Run every Sunday at midnight UTC
9+
10+
jobs:
11+
build:
12+
uses:./.github/workflows/build.yml
13+
14+
previous-lts:
15+
name:Tests (Previous LTS)
16+
uses:./.github/workflows/tests.yml
17+
with:
18+
image:${{ fromJSON(vars.KURRENTDB_DOCKER_IMAGES)['previous-lts'].fullname }}
19+
secrets:inherit

‎.github/workflows/release.ymlrenamed to ‎.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414

1515
jobs:
1616
publish:
17-
name:Publish${{ inputs.dry_run && inputs.dry_run == 'true' && ' (dry run)' || '' }}
17+
name:Publish
1818
runs-on:ubuntu-latest
1919
steps:
2020
-uses:actions/checkout@v4

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp