Embedded SpiceDB
# spicedb
p
I remember seeing an experimental embedded spicedb somewhere, does anyone have experience wiring that up? (I know you can set the storage to "memory" but I'm looking to run spicedb within the process like embedded postgres). I see the
e2e
framework exposes something kinda like this but still requires a spicedb binary and really just execs it.
v
yep, we have an example illustrating how to in https://github.com/authzed/examples/tree/main/spicedb-as-library
p
Perfect thanks
Usecase: Spinning it up for integration tests in CI
v
well there is a GitHub Action for that you can use
and
spicedb
command also offers
serve-testing
to facilitate integration tests in CI