Charith (Cerbos)

Charith (Cerbos)

06/16/2022, 7:37 PM
I haven't specifically tried it on CircleCI. But I imagine they support running containers or binaries as services. You can either use the Test containers integration in the SDK (take a look at the SDK tests) or use
cerbos run
command to launch Cerbos, execute your tests and then shutdown Cerbos. There's an example with test containers here: https://github.com/cerbos/cerbos-sdk-python Here's the documentation for cerbos run: https://docs.cerbos.dev/cerbos/latest/cli/cerbos.html#run