Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .env

This file was deleted.

2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Review ownership belongs to human maintainers rather than individual or automation accounts.
* @TrogonStack/trogon-eventstore-maintainers
13 changes: 6 additions & 7 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,36 +44,35 @@ body:
attributes:
label: Package version
description: What version of the client you're experiencing the issue with.
placeholder: e.g., KurrentDB-Client-Go 1.1.2
placeholder: e.g., v0.1.0
validations:
required: true
- type: input
id: kurrentdb-version
id: server-version
attributes:
label: KurrentDB Version
label: TrogonEventStore version
description: What version of the database you are using.
placeholder: e.g., KurrentDB v24.10
placeholder: e.g., v0.1.0
validations:
required: true
- type: input
id: connection
attributes:
label: Connection string
description: What connection string you're using. Hide and sensitive information if necessary.
placeholder: e.g., kurrentdb://admin:changeit@localhost:2113
placeholder: e.g., esdb://admin:changeit@localhost:2113
validations:
required: true
- type: dropdown
id: deployment-environment
attributes:
label: ☁️ Deployment Environment
description: How is KurrentDB deployed?
description: How is TrogonEventStore deployed?
options:
- Single-node (Docker)
- Single-node (Bare metal/VM)
- Multi-node cluster (On-prem)
- Multi-node cluster (Cloud)
- Managed KurrentDB Cloud
- Other (please specify below)
validations:
required: true
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Feature Request
url: https://github.com/kurrent-io/KurrentDB-Client-Go/discussions/new?category=ideas&labels=triage&title=Feature%20request%3A%20
url: https://github.com/TrogonStack/TrogonEventStore-Client-Go/discussions/new?category=ideas
about: Request a feature to add to the client
- name: Ask a Question
url: https://github.com/kurrent-io/KurrentDB-Client-Go/discussions/new?category=q-a&labels=triage
about: Ask questions and discuss with other community members.
url: https://github.com/TrogonStack/TrogonEventStore-Client-Go/discussions/new?category=q-a
about: Ask questions and discuss with other community members.
17 changes: 17 additions & 0 deletions .github/release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"bootstrap-sha": "8c6a6bc7c1fe0251cd1e049187232625b4fed141",
"signoff": "SHT Bot <61149376+sht-bot@users.noreply.github.com>",
"packages": {
".": {
"release-type": "go",
"package-name": "TrogonEventStore-Client-Go",
"component": "TrogonEventStore-Client-Go",
"include-component-in-tag": false,
"include-v-in-tag": true,
"pull-request-title-pattern": "chore${scope}: release${component} ${version}",
"bump-minor-pre-major": false,
"bump-patch-for-minor-pre-major": false
}
}
}
3 changes: 3 additions & 0 deletions .github/release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "0.0.1"
}
14 changes: 0 additions & 14 deletions .github/workflows/build-docs.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .github/workflows/cherry-pick-pr-for-label.yml

This file was deleted.

69 changes: 69 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: CI

on:
pull_request:
push:
branches:
- main

permissions:
contents: read

jobs:
build:
name: Build and test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- name: Checkout
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
persist-credentials: false
- name: Install Go
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.1.0
with:
go-version-file: go.mod
cache: true
- name: Compile packages and tests
run: go test ./... -run "^$"
- name: Run library tests
run: go test ./trogoneventstore

quality:
name: Quality
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
persist-credentials: false
- name: Install Go
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.1.0
with:
go-version-file: go.mod
cache: true
- name: Install generation toolchain
uses: jdx/mise-action@5228313ee0372e111a38da051671ca30fc5a96db # v3.6.3
with:
install: true
cache: true
- name: Verify generated protobuf bindings
run: mise exec -- make verify-protos
- name: Check formatting
shell: bash
run: |
unformatted=$(gofmt -l .)
if [ -n "$unformatted" ]; then
echo "$unformatted"
exit 1
fi
- name: Run vet
run: go vet ./...
21 changes: 0 additions & 21 deletions .github/workflows/go-version.yml

This file was deleted.

76 changes: 0 additions & 76 deletions .github/workflows/go.yml

This file was deleted.

57 changes: 57 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Integration

on:
pull_request:
push:
branches:
- main
workflow_dispatch:

permissions:
contents: read
packages: read

jobs:
integration:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
persist-credentials: false
- name: Install Go
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.1.0
with:
go-version-file: go.mod
cache: true
- name: Start TrogonEventStore
run: make start-server
- name: Run integration tests
run: go test --count=1 ./test
- name: Stop TrogonEventStore
if: always()
run: make stop-server

oauth:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
persist-credentials: false
- name: Install Go
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.1.0
with:
go-version-file: go.mod
cache: true
- name: Start OAuth stack
run: make start-oauth
- name: Run OAuth integration tests
env:
TROGON_EVENTSTORE_OAUTH_TESTS: "1"
run: go test --count=1 ./test -run '^TestOAuthAuthenticationSuite$'
- name: Stop OAuth stack
if: always()
run: make stop-oauth
Loading
Loading