-
Notifications
You must be signed in to change notification settings - Fork 96
Expand file tree
/
Copy pathjustfile
More file actions
33 lines (24 loc) · 825 Bytes
/
justfile
File metadata and controls
33 lines (24 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
install-ns-authz:
helm install ns-authz util/ns-authz --namespace kube-system
uninstall-ns-authz:
helm uninstall ns-authz --namespace kube-system
get-service-url enclaveName serviceName portId:
kurtosis service inspect {{enclaveName}} {{serviceName}} | tail -n +2 | yq e - -o=json |\
jq -r --arg portId {{portId}} '.Ports[$portId]' | sed 's/.*-> //'
open-service enclaveName serviceName:
open "$(just get-service-url {{enclaveName}} {{serviceName}} http)"
open-grafana enclaveName:
just open-service {{enclaveName}} grafana
fix-style:
kurtosis lint . --format
lint-style:
kurtosis lint .
# TODO(enable more checks)
lint-code:
kurtosis-lint \
--checked-calls \
--local-imports \
main.star src/ test/
lint: lint-style lint-code
test:
kurtosis-test .