Files
cloudlysis/docker/scripts/verify_aggregate_container.sh
Vlad Durnea 1298d9a3df
Some checks failed
ci / rust (push) Failing after 2m34s
ci / ui (push) Failing after 30s
Monorepo consolidation: workspace, shared types, transport plans, docker/swam assets
2026-03-30 11:40:42 +03:00

14 lines
446 B
Bash

#!/bin/sh
set -e
docker build -t cloudlysis/aggregate:local -f docker/Dockerfile.rust --build-arg PACKAGE=aggregate --build-arg BIN=aggregate .
cid="$(docker run -d -p 8085:8080 -e AGGREGATE_STORAGE_PATH=/tmp/aggregate-data cloudlysis/aggregate:local)"
sleep 2
curl -fsS http://localhost:8085/health >/dev/null
curl -fsS http://localhost:8085/ready >/dev/null
curl -fsS http://localhost:8085/metrics >/dev/null
docker rm -f "$cid" >/dev/null