Bump version, add builds, add setup
This commit is contained in:
@@ -1,16 +1,26 @@
|
||||
.PHONY: setup test up down logs
|
||||
.PHONY: setup test up up-prebuilt pull down logs
|
||||
|
||||
setup:
|
||||
@[ -f .env ] && echo ".env already exists, skipping." || (cp .env.example .env && echo "Created .env — fill in your values before running 'make up'.")
|
||||
@bash setup.sh
|
||||
|
||||
# Run pytest inside the running edge-node container.
|
||||
# Requires: docker compose up (or at least the edge-node image built).
|
||||
test:
|
||||
docker compose run --no-deps --rm edge-node pytest -v
|
||||
|
||||
# Build all images locally and start.
|
||||
up:
|
||||
docker compose up -d
|
||||
|
||||
# Pull pre-built images from the registry and start (no local build).
|
||||
# Requires IMAGE_REGISTRY, DOCKER_ORG, DOCKER_REPO set in .env.
|
||||
up-prebuilt:
|
||||
docker compose pull
|
||||
docker compose up --no-build -d
|
||||
|
||||
pull:
|
||||
docker compose pull
|
||||
|
||||
down:
|
||||
docker compose down
|
||||
|
||||
|
||||
Reference in New Issue
Block a user