-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
63 lines (50 loc) · 981 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
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
59
60
61
62
63
##
# hyperdos
#
# @file
# @version v1-alpha
build-epitome-image:
docker build -t epitome ./epitome
run-epitome-image:
docker run --rm -it epitome
build-and-run-epitome-image: build-epitome-image run-epitome-image
build:
cd epitome; \
go build -o ./epitome
run-epitome:
cd epitome; \
export HYPERBOLIC_GATEWAY_URL='https://api.dev-hyperbolic.xyz' && \
go run . -loglevel debug -kubeconfig ~/.kube/config
epitome-help:
cd epitome; \
go run . -help
mod-tidy:
cd epitome; \
go mod tidy
test:
cd epitome; \
go test ./...
.PHONY: helm-test
helm-test:
@cd metadeployment; \
helm template metadeployment \
--set ref="dev" \
.
@cd gitapps/nvidia-smi; \
helm template nvidia-smi \
--set ref="dev" \
.
@cd gitapps/epitome; \
helm template epitome \
--set ref="dev" \
.
@cd gitapps/epitome; \
helm template epitome \
--set ref="main" \
.
test-helm-install:
@cd charts/hyperdos; \
helm template hyperdos \
--debug \
--set ref="dev" \
.