File tree Expand file tree Collapse file tree 3 files changed +33
-4
lines changed
Expand file tree Collapse file tree 3 files changed +33
-4
lines changed Original file line number Diff line number Diff line change 1- .PHONY : run
1+ export AWS_ACCESS_KEY_ID ?= test
2+ export AWS_SECRET_ACCESS_KEY ?= test
3+ export AWS_DEFAULT_REGION =us-east-1
24
3- run :
4- bash run_demo.sh
5+ usage :
6+ @fgrep -h " ##" $(MAKEFILE_LIST ) | fgrep -v fgrep | sed -e ' s/\\$$//' | sed -e ' s/##//'
7+
8+ install :
9+ @which localstack || pip install localstack
10+ @which awslocal || pip install awscli-local
11+
12+ run :
13+ ./run.sh
14+
15+ start :
16+ localstack start -d
17+
18+ stop :
19+ @echo
20+ localstack stop
21+
22+ ready :
23+ @echo Waiting on the LocalStack container...
24+ @localstack wait -t 30 && echo Localstack is ready to use! || (echo Gave up waiting on LocalStack, exiting. && exit 1)
25+
26+ logs :
27+ @localstack logs > logs.txt
28+
29+ test-ci :
30+ make start install ready run; return_code=` echo $$ ? ` ; \
31+ make logs; make stop; exit $$ return_code;
32+
33+ .PHONY : usage install start run stop ready logs test-ci
Original file line number Diff line number Diff line change 11This sample demonstrates the Route53 DNS failover based on health check in LocalStack.
22
3- We suggest taking a look at [ run_demo .sh] ( run_demo .sh) script to understand the setup.
3+ We suggest taking a look at [ run .sh] ( run .sh) script to understand the setup.
44
55To run the demo:
66
File renamed without changes.
You can’t perform that action at this time.
0 commit comments