Add isolated browser diagnostics using existing review images
creative browser diagnosis / diagnose (push) Failing after 2m1s
creative browser diagnosis / diagnose (push) Failing after 2m1s
This commit is contained in:
@@ -12,6 +12,7 @@ if [[ -n "${STUDIO_REVIEW_IMAGE:-}" ]]; then
|
||||
COMPOSE_FILES+=(-f compose.creative-review.yml)
|
||||
STUDIO_SERVICES+=(prompt-studio)
|
||||
fi
|
||||
if [[ "${CREATIVE_BROWSER_DIAGNOSTICS:-}" == "1" ]]; then COMPOSE_FILES+=(-f compose.creative-diagnostics.yml); fi
|
||||
compose(){ docker compose -p "$COMPOSE_PROJECT_NAME" --env-file "$TEST_ENV" "${COMPOSE_FILES[@]}" "$@"; }
|
||||
cleanup(){ code=$?; if [ "$code" -ne 0 ]; then compose logs --tail 160 waterfall-wiki waterfall-wiki-worker "${STUDIO_SERVICES[@]}"; fi; compose down -v --remove-orphans; rm -f "$TEST_ENV"; }
|
||||
trap cleanup EXIT
|
||||
|
||||
Reference in New Issue
Block a user