Bump version, add builds, add setup
CI / lint (push) Failing after 42s
CI / test (push) Failing after 45s
Build edge-node / build (push) Failing after 1m42s

This commit is contained in:
Logan
2026-04-20 00:14:50 -04:00
parent 6ac05eff64
commit 01496ea9e7
9 changed files with 321 additions and 3 deletions
+12 -2
View File
@@ -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