forked from scp756-221/term-project-data-miners
-
Notifications
You must be signed in to change notification settings - Fork 0
/
allclouds.mak
28 lines (27 loc) · 862 Bytes
/
allclouds.mak
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
#
# Front-end to bring some sanity to the litany of tools and switches
# in calling the sample application from the command line.
#
# This file is for operations that work on all cloud vendors
# supported in the class
# --- ls: List any clusters on every vendor
ls:
@make -f k8s.mak showcontext --no-print-directory
@echo
@echo "AWS (eks.mak):"
@make -f eks.mak lscl --no-print-directory
@echo
@echo "Azure (az.mak):"
@tools/run-if-cmd-exists.sh az -f az.mak lsnc --no-print-directory
@echo
@echo "GCP (gcp.mak):"
@tools/run-if-cmd-exists.sh gcloud -f gcp.mak lsnc --no-print-directory
@echo
@echo "DynamoDB tables, read units, and write units"
@make -f k8s.mak ls-tables --no-print-directory
@echo
@echo "Background Gatling jobs running"
@tools/list-gatling.sh
@echo
@echo 'Run "kill -9 PROCESS-ID-LIST" to terminate the Gatling jobs'
@echo