Remove scripts/sunbeam.py — superseded by the new cli/ package. Add install/test/sunbeam targets to justfile pointing at ../cli/. fix(vso): add deletecollection to test-rbac Role — CachingClientFactory calls deletecollection on secrets during init; the old Role only had delete, causing vault-secrets-operator-test to CrashLoopBackOff. fix(ingress): pingora imagePullPolicy IfNotPresent — Always caused unnecessary pulls on every pod restart in local dev.
30 lines
710 B
Makefile
30 lines
710 B
Makefile
# Sunbeam infrastructure — local dev convenience targets
|
|
|
|
# Install the sunbeam CLI package (editable)
|
|
install:
|
|
pip install -e ../cli/ --break-system-packages
|
|
|
|
# Run all unit tests
|
|
test:
|
|
PYTHONPATH=../cli python3 -m unittest discover -s ../cli/sunbeam/tests -p 'test_*.py' -v
|
|
|
|
# Run any sunbeam CLI verb (e.g.: just sunbeam status ory)
|
|
sunbeam *args:
|
|
PYTHONPATH=../cli python3 -m sunbeam {{args}}
|
|
|
|
# Start Lima VM and deploy full stack
|
|
up:
|
|
bash scripts/local-up.sh
|
|
|
|
# Stop Lima VM (preserves disk)
|
|
down:
|
|
bash scripts/local-down.sh
|
|
|
|
# Regenerate mkcert wildcard cert for current Lima IP
|
|
certs:
|
|
bash scripts/local-certs.sh
|
|
|
|
# Print all service URLs
|
|
urls:
|
|
bash scripts/local-urls.sh
|