Replace Python development tooling with Make and containerized shell
This commit is contained in:
1 parent
23f7b78c3b
commit
1b8800ee73
27 files changed
+620
-627
No files matched your search
@@ -56,12 +56,13 @@ package-notifications-interface: generate-notifications
|
||||
COMPOSE = docker compose --env-file .local/dev/images.env
|
||||
.PHONY: build up down logs ps test-dev
|
||||
build:
|
||||
python3 dev/images.py
|
||||
sh dev/tools.sh build
|
||||
sh dev/tools.sh images
|
||||
$(COMPOSE) pull vault mongo
|
||||
$(COMPOSE) build --pull
|
||||
|
||||
up:
|
||||
python3 dev/local.py up
|
||||
sh dev/tools.sh up
|
||||
|
||||
down:
|
||||
$(COMPOSE) down
|
||||
@@ -73,14 +74,21 @@ ps:
|
||||
$(COMPOSE) ps
|
||||
|
||||
test-dev:
|
||||
python3 -m unittest discover -s dev -p 'test_*.py'
|
||||
python3 dev/local.py verify
|
||||
sh dev/tools.sh test
|
||||
sh dev/tools.sh verify
|
||||
|
||||
.PHONY: test-dev-infra
|
||||
test-dev-infra:
|
||||
python3 -m unittest discover -s dev -p 'test_*.py'
|
||||
python3 dev/local.py verify-infra
|
||||
sh dev/tools.sh test
|
||||
sh dev/tools.sh verify-infra
|
||||
|
||||
.PHONY: test-dev-rotation
|
||||
test-dev-rotation:
|
||||
python3 dev/rotation.py
|
||||
sh dev/tools.sh rotation
|
||||
|
||||
.PHONY: email test-dev-tooling
|
||||
email:
|
||||
sh dev/tools.sh email
|
||||
|
||||
test-dev-tooling:
|
||||
sh dev/tools.sh test
|
||||
Reference in new issue
Block a user