mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-27 10:15:10 +00:00
wait for the containers to be up with docker compose w/ burnettk
This commit is contained in:
parent
3ffda7ad83
commit
affc4bec13
1
.gitignore
vendored
1
.gitignore
vendored
@ -12,3 +12,4 @@ process_models/
|
|||||||
.cache
|
.cache
|
||||||
.mypy_cache
|
.mypy_cache
|
||||||
.aider*
|
.aider*
|
||||||
|
/spiffworkflow_docker_compose
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
function error_handler() {
|
function error_handler() {
|
||||||
>&2 echo "Exited with BAD EXIT CODE '${2}' in ${0} script at line: ${1}."
|
echo >&2 "Exited with BAD EXIT CODE '${2}' in ${0} script at line: ${1}."
|
||||||
exit "$2"
|
exit "$2"
|
||||||
}
|
}
|
||||||
trap 'error_handler ${LINENO} $?' ERR
|
trap 'error_handler ${LINENO} $?' ERR
|
||||||
set -o errtrace -o errexit -o nounset -o pipefail
|
set -o errtrace -o errexit -o nounset -o pipefail
|
||||||
|
|
||||||
mkdir -p spiffworkflow
|
mkdir -p spiffworkflow_docker_compose
|
||||||
cd spiffworkflow
|
cd spiffworkflow_docker_compose
|
||||||
wget https://raw.githubusercontent.com/sartography/spiff-arena/main/docker-compose.yml
|
wget https://raw.githubusercontent.com/sartography/spiff-arena/main/docker-compose.yml
|
||||||
docker compose pull
|
docker compose pull
|
||||||
docker compose up -d
|
docker compose up -d --wait
|
||||||
|
Loading…
x
Reference in New Issue
Block a user