Skip to content

Commit

Permalink
wait for the containers to be up with docker compose w/ burnettk
Browse files Browse the repository at this point in the history
  • Loading branch information
jasquat committed Jun 6, 2024
1 parent 3ffda7a commit affc4be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ process_models/
.cache
.mypy_cache
.aider*
/spiffworkflow_docker_compose
8 changes: 4 additions & 4 deletions bin/run_arena_with_docker_compose
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/usr/bin/env bash

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"
}
trap 'error_handler ${LINENO} $?' ERR
set -o errtrace -o errexit -o nounset -o pipefail

mkdir -p spiffworkflow
cd spiffworkflow
mkdir -p spiffworkflow_docker_compose
cd spiffworkflow_docker_compose
wget https://raw.githubusercontent.com/sartography/spiff-arena/main/docker-compose.yml
docker compose pull
docker compose up -d
docker compose up -d --wait

0 comments on commit affc4be

Please sign in to comment.