sns-alert-hub/Makefile

24 lines
511 B
Makefile
Raw Normal View History

2022-02-09 11:22:59 +00:00
REGISTRY := public.ecr.aws/zero-downtime
2022-02-11 15:40:01 +00:00
IMAGE := sns-alert-hub
2022-02-09 11:22:59 +00:00
REGION := us-east-1
include .ci/podman.mk
2023-08-14 10:22:11 +00:00
SOURCE := app.py tests/test_aws-lambda-rie.py
test:: aws-lambda-rie
./run_tests.sh "$(IMAGE):$(TAG)-$(_ARCH)"
fmt::
autopep8 -i -a $(SOURCE)
lint::
flake8 $(SOURCE)
codespell $(SOURCE)
clean::
rm -rf .pytest_cache __pycache__ aws-lambda-rie
aws-lambda-rie:
wget https://github.com/aws/aws-lambda-runtime-interface-emulator/releases/latest/download/aws-lambda-rie && chmod 0755 aws-lambda-rie