Skip to content

Commit da0dd8d

Browse files
committed
feat(client): support TrogonEventStore adoption
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
1 parent 8c6a6bc commit da0dd8d

145 files changed

Lines changed: 6350 additions & 10960 deletions

File tree

Some content is hidden

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

‎.env‎

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

‎.github/CODEOWNERS‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Review ownership belongs to human maintainers rather than individual or automation accounts.
2+
* @TrogonStack/trogon-eventstore-maintainers

‎.github/ISSUE_TEMPLATE/BUG_REPORT.yml‎

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,36 +44,35 @@ body:
4444
attributes:
4545
label: Package version
4646
description: What version of the client you're experiencing the issue with.
47-
placeholder: e.g., KurrentDB-Client-Go 1.1.2
47+
placeholder: e.g., v0.1.0
4848
validations:
4949
required: true
5050
- type: input
51-
id: kurrentdb-version
51+
id: server-version
5252
attributes:
53-
label: KurrentDB Version
53+
label: TrogonEventStore version
5454
description: What version of the database you are using.
55-
placeholder: e.g., KurrentDB v24.10
55+
placeholder: e.g., v0.1.0
5656
validations:
5757
required: true
5858
- type: input
5959
id: connection
6060
attributes:
6161
label: Connection string
6262
description: What connection string you're using. Hide and sensitive information if necessary.
63-
placeholder: e.g., kurrentdb://admin:changeit@localhost:2113
63+
placeholder: e.g., esdb://admin:changeit@localhost:2113
6464
validations:
6565
required: true
6666
- type: dropdown
6767
id: deployment-environment
6868
attributes:
6969
label: ☁️ Deployment Environment
70-
description: How is KurrentDB deployed?
70+
description: How is TrogonEventStore deployed?
7171
options:
7272
- Single-node (Docker)
7373
- Single-node (Bare metal/VM)
7474
- Multi-node cluster (On-prem)
7575
- Multi-node cluster (Cloud)
76-
- Managed KurrentDB Cloud
7776
- Other (please specify below)
7877
validations:
7978
required: true

‎.github/ISSUE_TEMPLATE/config.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: Feature Request
4-
url: https://github.com/kurrent-io/KurrentDB-Client-Go/discussions/new?category=ideas&labels=triage&title=Feature%20request%3A%20
4+
url: https://github.com/TrogonStack/TrogonEventStore-Client-Go/discussions/new?category=ideas
55
about: Request a feature to add to the client
66
- name: Ask a Question
7-
url: https://github.com/kurrent-io/KurrentDB-Client-Go/discussions/new?category=q-a&labels=triage
8-
about: Ask questions and discuss with other community members.
7+
url: https://github.com/TrogonStack/TrogonEventStore-Client-Go/discussions/new?category=q-a
8+
about: Ask questions and discuss with other community members.

‎.github/workflows/build-docs.yml‎

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

‎.github/workflows/cherry-pick-pr-for-label.yml‎

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

‎.github/workflows/ci.yml‎

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
build:
14+
name: Build and test (${{ matrix.os }})
15+
runs-on: ${{ matrix.os }}
16+
timeout-minutes: 15
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
os:
21+
- ubuntu-latest
22+
- macos-latest
23+
- windows-latest
24+
steps:
25+
- name: Checkout
26+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
27+
with:
28+
persist-credentials: false
29+
- name: Install Go
30+
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.1.0
31+
with:
32+
go-version-file: go.mod
33+
cache: true
34+
- name: Compile packages and tests
35+
run: go test ./... -run "^$"
36+
- name: Run library tests
37+
run: go test ./trogoneventstore
38+
39+
quality:
40+
name: Quality
41+
runs-on: ubuntu-latest
42+
timeout-minutes: 10
43+
steps:
44+
- name: Checkout
45+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
46+
with:
47+
persist-credentials: false
48+
- name: Install Go
49+
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.1.0
50+
with:
51+
go-version-file: go.mod
52+
cache: true
53+
- name: Check formatting
54+
shell: bash
55+
run: |
56+
unformatted=$(gofmt -l .)
57+
if [ -n "$unformatted" ]; then
58+
echo "$unformatted"
59+
exit 1
60+
fi
61+
- name: Run vet
62+
run: go vet ./...

‎.github/workflows/go-version.yml‎

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

‎.github/workflows/go.yml‎

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

‎.github/workflows/integration.yml‎

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Integration
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
workflow_dispatch:
9+
10+
permissions:
11+
contents: read
12+
packages: read
13+
14+
jobs:
15+
integration:
16+
runs-on: ubuntu-latest
17+
timeout-minutes: 20
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
21+
with:
22+
persist-credentials: false
23+
- name: Install Go
24+
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.1.0
25+
with:
26+
go-version-file: go.mod
27+
cache: true
28+
- name: Start TrogonEventStore
29+
run: make start-server
30+
- name: Run integration tests
31+
run: go test --count=1 ./test
32+
- name: Stop TrogonEventStore
33+
if: always()
34+
run: make stop-server

0 commit comments

Comments
 (0)