summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-14 12:46:58 -0600
committermo khan <mo@mokhan.ca>2025-07-14 12:46:58 -0600
commit5c9e5b297cdf5d761740e6604b1e36d390aa86a8 (patch)
tree758c12f107a52684549f4b315eae0ff051a48d30
parent30ffd692e3749e38f9ab05d04a15d0dcdf186610 (diff)
chore: run spicedb via Procfile
-rw-r--r--Makefile5
-rw-r--r--Procfile1
2 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 8eeadc86..8cc74a9b 100644
--- a/Makefile
+++ b/Makefile
@@ -79,10 +79,7 @@ production-entities: $(AUTHZD_BIN) check-gitlab-token
@$(AUTHZD_BIN) generate --project gitlab-org/software-supply-chain-security/authorization/authzd --output etc/authzd/gitlab.com/gitlab-org/software-supply-chain-security/authorization/authzd/entities.json
@$(AUTHZD_BIN) generate --project gitlab-org/software-supply-chain-security/authorization/sparkled --output etc/authzd/gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/entities.json
-# spice target
-run-spicedb:
- @spicedb serve --grpc-preshared-key "secret"
-
+# spice targets
run-spicedb-setup:
@zed --endpoint ":50051" --token "secret" --insecure schema write etc/authzd/spice.schema
@zed --endpoint ":50051" --token "secret" --insecure schema read
diff --git a/Procfile b/Procfile
index 39bbbeaf..02173f12 100644
--- a/Procfile
+++ b/Procfile
@@ -1,2 +1,3 @@
authzd: ./bin/authzd server
envoy: ./bin/envoy -c ./etc/envoy/envoy.yaml --base-id 1 --log-level warn --component-log-level admin:warn,connection:warn,grpc:warn,http:warn,http2:warn,router:warn,upstream:warn
+spicedb: spicedb serve --grpc-preshared-key "secret"