-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile
46 lines (36 loc) · 879 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
.PHONY: build
build:
bazelisk build -- //cmd/... //pkg/...
.PHONY: test
test:
bazelisk test -- //cmd/... //pkg/...
.PHONY: push
push:
./hack/push.sh
.PHONY: dep
dep:
GO111MODULE=on go mod tidy
GO111MODULE=on go mod vendor
bazelisk run //:gazelle -- update-repos -from_file=go.mod -to_macro=repositories.bzl%go_repositories
.PHONY: gazelle
gazelle:
bazelisk run //:gazelle
.PHONY: codegen
codegen:
./hack/update-codegen.sh
.PHONY: libsonnet
libsonnet:
jb update --jsonnetpkg-home=libsonnet
.PHONY: install
install:
helm install --name lotus -f ./install/values.yaml ./install/helm
.PHONY: upgrade
upgrade:
helm upgrade lotus -f ./install/values.yaml ./install/helm
.PHONY: generate-manifests
generate-manifests:
./hack/generate-manifests.sh
./hack/generate-manifests.sh norbac
.PHONY: generate-dashboards
generate-dashboards:
./hack/generate-dashboards.sh