Monorepo consolidation: workspace, shared types, transport plans, docker/swam assets
This commit is contained in:
13
docker/scripts/verify_aggregate_container.sh
Normal file
13
docker/scripts/verify_aggregate_container.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user