-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
31 lines (24 loc) · 589 Bytes
/
Makefile
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
.PHONY: test
test:
go test -v ./...
.PHONY: k3s-up
k3s-up:
./scripts/k3s-test-cluster.sh up
.PHONY: k3s-down
k3s-down:
./scripts/k3s-test-cluster.sh down
.PHONY: k3s-build
k3s-build:
docker build -t registry.localhost:5000/parvaeres:latest .
.PHONY: k3s-push
k3s-push:
docker push registry.localhost:5000/parvaeres:latest
.PHONY: k3s-deploy
k3s-deploy:
kubectl apply -f ./deploy/parvaeres-server.yaml -n argocd
.PHONY: k3s-refresh
k3s-refresh:
kubectl delete pod -l app=parvaeres-server -n argocd
.PHONY: k3s-logs
k3s-logs:
kubectl logs -n argocd -l app=parvaeres-server -f