Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cerbos/dagger-cerbos
Dagger Cerbos module
https://github.com/cerbos/dagger-cerbos
authorization cerbos ci ci-cd ci-cd-pipeline continuous-delivery continuous-deployment continuous-integration dagger
Last synced: about 2 months ago
JSON representation
Dagger Cerbos module
- Host: GitHub
- URL: https://github.com/cerbos/dagger-cerbos
- Owner: cerbos
- License: apache-2.0
- Created: 2024-04-18T12:13:10.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-07-10T07:17:05.000Z (6 months ago)
- Last Synced: 2024-07-10T09:11:36.743Z (6 months ago)
- Topics: authorization, cerbos, ci, ci-cd, ci-cd-pipeline, continuous-delivery, continuous-deployment, continuous-integration, dagger
- Language: Go
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dagger Cerbos Module
A [Dagger](https://dagger.io) module for using Cerbos in CI environments. This module contains a `Compile` Dagger function for [compiling and testing Cerbos policies](https://docs.cerbos.dev/cerbos/latest/policies/compile) and a `Server` service for starting a Cerbos server.
```sh
# View usage information
dagger -m github.com/cerbos/dagger-cerbos call compile --help
dagger -m github.com/cerbos/dagger-cerbos call server --help# Compile and run tests on a Cerbos policy repository
dagger -m github.com/cerbos/dagger-cerbos call compile --policy-dir=./cerbos# Start a Cerbos server with the default disk driver
dagger -m github.com/cerbos/dagger-cerbos call server --policy-dir=./cerbos up# Start a Cerbos server instance configured to use an in-memory SQLite policy repository
dagger -m github.com/cerbos/dagger-cerbos call server --config=storage.driver=sqlite3,storage.sqlite3.dsn=:memory:,server.adminAPI.enabled=true up
```