Skip to content
Open
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
10 changes: 8 additions & 2 deletions .github/workflows/cfs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,14 @@ jobs:
base_ref="${{ github.base_ref }}"

if [ "${{ github.event_name }}" = "pull_request" ] && [ -n "$base_ref" ]; then
git fetch --no-tags --depth=1 origin "$base_ref"
changed_files="$(git diff --name-only "origin/$base_ref"...HEAD)"
# Full (not --depth=1) fetch so the three-dot diff can find a merge
# base: checkout uses fetch-depth: 0 (full HEAD), so a shallow base
# ref has no reachable common ancestor and the diff fails with
# "no merge base" (notably on fork PRs). Tolerate a failed fetch and
# a failed diff so this detection step never hard-fails the job (the
# run shell is `bash -eo pipefail`, so an unguarded fetch would exit).
git fetch --no-tags origin "$base_ref" || true
changed_files="$(git diff --name-only "origin/$base_ref"...HEAD 2>/dev/null || true)"
else
changed_files="$(
git diff --name-only HEAD~1 HEAD 2>/dev/null || true
Expand Down
19 changes: 18 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions config/e2e-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,15 @@ gears:
config:
vendor: "constructorfabric"

credstore:
database:
server: "sqlite_users"
file: "credstore.db"
config:
# Gateway selects its value-store backend plugin by GTS vendor;
# must match static-credstore-plugin (default "constructorfabric").
vendor: "constructorfabric"

static-credstore-plugin:
config:
secrets:
Expand Down
9 changes: 9 additions & 0 deletions config/e2e-scope-enforcement.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ logging:
file_level: debug

gears:
credstore:
database:
server: "sqlite_users"
file: "credstore.db"
config:
# Gateway selects its value-store backend plugin by GTS vendor;
# must match static-credstore-plugin (default "constructorfabric").
vendor: "constructorfabric"

Comment thread
coderabbitai[bot] marked this conversation as resolved.
api-gateway:
config:
bind_addr: "0.0.0.0:8086"
Expand Down
9 changes: 9 additions & 0 deletions config/e2e-tr-authz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,15 @@ gears:
config:
vendor: "constructorfabric"

credstore:
database:
server: "sqlite_users"
file: "credstore.db"
config:
# Gateway selects its value-store backend plugin by GTS vendor;
# must match static-credstore-plugin (default "constructorfabric").
vendor: "constructorfabric"

static-credstore-plugin:
config:
secrets:
Expand Down
9 changes: 9 additions & 0 deletions config/mini-chat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,15 @@ gears:
config:
max_field_length: 100

credstore:
database:
server: "sqlite_mini_chat"
file: "credstore.db"
config:
# Gateway selects its value-store backend plugin by GTS vendor;
# must match static-credstore-plugin (default "constructorfabric").
vendor: "constructorfabric"

static-credstore-plugin:
config:
secrets:
Expand Down
9 changes: 9 additions & 0 deletions config/quickstart-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,15 @@ gears:
parent_id: "00000000-0000-0000-0000-000000000011"
status: active

credstore:
database:
server: "sqlite_users"
file: "credstore.db"
config:
# Gateway selects its value-store backend plugin by GTS vendor;
# must match static-credstore-plugin (default "constructorfabric").
vendor: "constructorfabric"

static-credstore-plugin:
config:
secrets:
Expand Down
9 changes: 9 additions & 0 deletions config/quickstart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,15 @@ gears:
parent_id: "00000000-0000-0000-0000-000000000005"
status: active

credstore:
database:
server: "sqlite_users"
file: "credstore.db"
config:
# Gateway selects its value-store backend plugin by GTS vendor;
# must match static-credstore-plugin (default "constructorfabric").
vendor: "constructorfabric"

static-credstore-plugin:
config:
secrets:
Expand Down
9 changes: 9 additions & 0 deletions config/static-tenants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ database:
max_conns: 5

gears:
credstore:
database:
server: "sqlite_test"
file: "credstore.db"
config:
# Gateway selects its value-store backend plugin by GTS vendor;
# must match static-credstore-plugin (default "constructorfabric").
vendor: "constructorfabric"

api-gateway:
config:
bind_addr: "127.0.0.1:8087"
Expand Down
Loading
Loading