-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (17 loc) · 677 Bytes
/
Makefile
File metadata and controls
24 lines (17 loc) · 677 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
install:
pip install --upgrade pip &&\
pip install -r requirements.txt
lint:
pylint --disable=R,C *.py devopslib
test:
python -m pytest -vv --cov=devopslib
format:
black *.py devopslib/*.py
post-install:
python -m textblob.download_corpora
deploy:
aws ecr get-login-password --region ap-south-1 | docker login --username AWS --password-stdin 258266855446.dkr.ecr.ap-south-1.amazonaws.com
docker build -t devops-noah-gift .
docker tag devops-noah-gift:latest 258266855446.dkr.ecr.ap-south-1.amazonaws.com/devops-noah-gift:latest
docker push 258266855446.dkr.ecr.ap-south-1.amazonaws.com/devops-noah-gift:latest
all: install post-install lint test format deploy