-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
45 lines (32 loc) · 814 Bytes
/
Makefile
File metadata and controls
45 lines (32 loc) · 814 Bytes
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
guard-%:
@ if [ "${${*}}" = "" ]; then \
echo "Environment variable $* not set"; \
exit 1; \
fi
compile-node:
npx tsc --build tsconfig.build.json
compile: compile-node
aws-configure:
aws configure sso --region eu-west-2
aws-login:
aws sso login --sso-session sso-session
sam-sync: guard-AWS_DEFAULT_PROFILE guard-stack_name compile
sam sync \
--stack-name $$stack_name \
--watch \
--template-file SAMtemplates/main_template.yaml \
--parameter-overrides \
EnableSplunk=false
install: install-node
install-python:
poetry install
install-node:
npm ci
install-hooks: install-python
poetry run pre-commit install --install-hooks --overwrite
local-cpsu:
./scripts/test_cpsu_load_test.sh
local-psu:
./scripts/test_psu_load_test.sh
local-notify:
./scripts/test_notify_load_test.sh