forked from trustbloc/k8s
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
34 lines (24 loc) · 737 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
#
# Copyright SecureKey Technologies Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
export DOMAIN ?= ${DEPLOYMENT_ENV}.trustbloc.dev
export DEPLOYMENT_ENV ?= local
COMPONENTS ?=
.PHONY: all checks license deploy-all deploy-components setup-and-deploy minikube-setup minikube-reset
all: checks
checks: license
license:
@scripts/check_license.sh
deploy-all:
./scripts/deploy_all.sh
deploy-components:
COMPONENTS="$(COMPONENTS)" ./scripts/deploy_all.sh
setup-and-deploy: minikube-reset
@echo "Apply/verify the required changes to /etc/hosts. Once done, press ENTER" && read L
./scripts/deploy_all.sh
minikube-setup:
cd scripts && ./minikube_setup.sh
minikube-reset:
cd scripts && minikube delete ; ./minikube_setup.sh