forked from redhat-developer/rhdh
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp-config.local-e2e.yaml
More file actions
26 lines (25 loc) · 971 Bytes
/
Copy pathapp-config.local-e2e.yaml
File metadata and controls
26 lines (25 loc) · 971 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Config overlay for the cluster-free local E2E harness (legacy `packages/app`, Tier B).
#
# Layered on top of app-config.yaml and app-config.dynamic-plugins.yaml to run
# Playwright E2E without an OpenShift/Kubernetes cluster or container images:
#
# yarn --cwd e2e-tests e2e:legacy-local
#
# It enables guest sign-in (the auth backend rejects guest unless a provider is
# configured) and pins the in-memory SQLite database so a single `run` is fully
# self-contained. See docs/e2e-tests/local-e2e-harness.md.
#
# NOTE: test-only. This grants unauthenticated guest access
# (dangerouslyAllowOutsideDevelopment) and must never be layered into a
# production config.
auth:
environment: development
providers:
guest:
userEntityRef: user:default/guest
# Required because auth.environment may resolve outside "development" in CI.
dangerouslyAllowOutsideDevelopment: true
backend:
database:
client: better-sqlite3
connection: ":memory:"