mirror of https://github.com/nucypher/nucypher.git
25 lines
532 B
Bash
25 lines
532 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
# runs in circleCI's build environment
|
||
|
# runs finnegan's wake demo in a docker container
|
||
|
|
||
|
set -e
|
||
|
echo "Starting Up Finnegans Wake Demo Test..."
|
||
|
|
||
|
# Move to demo directory
|
||
|
cd "${0%/*}"
|
||
|
echo "working in directory: $PWD"
|
||
|
|
||
|
# run some ursulas
|
||
|
docker-compose up -d
|
||
|
echo "Wait for Ursula learning to occur"
|
||
|
sleep 30
|
||
|
|
||
|
# Run demo
|
||
|
echo "Starting Demo"
|
||
|
echo "working in directory: $PWD"
|
||
|
docker-compose run nucypher-circle-dev bash /code/scripts/circle/download_and_run_finnegans_wake.sh
|
||
|
|
||
|
# tear it down
|
||
|
docker-compose stop
|