-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjustfile
58 lines (47 loc) · 1.28 KB
/
justfile
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
set export
set shell := ["sh", "-c"]
GCP_PROJECT := `gcloud config get-value project`
LOCAL_K8S_TYPE := 'kind'
default:
@just --list --unsorted
list:
task -a
ctlptl-create:
ctlptl create cluster kind --registry=ctlptl-registry
start: ctlptl-create
echo Finished setting cluster
stop:
#tilt down
ctlptl delete cluster kind
# just install-linkerd
# just run-titl-cluster
install-linkerd:
linkerd install --crds | kubectl apply -f -
linkerd install | kubectl apply -f -
linkerd check
install-viz:
linkerd viz install | kubectl apply -f -
linkerd viz dashboard &
build-all:
pnpm nx affected --target=build.yaml --parallel --max-parallel=10 --prod
# Check for unused packages.
cargo-unused-deps:
cargo +nightly udeps --all-targets
kaniko:
docker run \
-v $HOME/.config/gcloud:/root/.config/gcloud \
-v $HOME/.config/kaniko/.docker:/root/.config/kaniko.docker \
-v $PWD/:/workspace \
gcr.io/kaniko-project/executor:debug \
--dockerfile /workspace/Dockerfile \
--destination "yurikrupnik/node-api-rest" \
--build.yaml-arg "DIST_PATH=dist/apps/node/api-res" \
--target node
task-list-all:
task -ap
task-list-k8s:
task -a -p -t k8s/Taskfile.yaml up
task-run-k8s:
task -a -p -t k8s/Taskfile.yaml up
task-json:
task -a -p -j -t k8s/Taskfile.yaml up