Skip to content

Commit

Permalink
fixup! test(a3p-integration): Try to get more insight into the failin…
Browse files Browse the repository at this point in the history
…g test
  • Loading branch information
gibson042 committed Nov 5, 2024
1 parent 9c08f12 commit e961e12
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,8 @@ jobs:
working-directory: a3p-integration
- name: run proposals tests
run: |
if [ ":$SLOGFILE" != : -o ":$AGD_LOG_FILE" != : ]; then
echo "Overriding docker to inherit SLOGFILE ${SLOGFILE-} and/or AGD_LOG_FILE ${AGD_LOG_FILE-}"
if [ "$SLOGFILE:$AGD_LOG_FILE:$XXX_GIBSON" != :: ]; then
echo "Overriding docker to inherit SLOGFILE ${SLOGFILE-}, AGD_LOG_FILE ${AGD_LOG_FILE-}, XXX_GIBSON ${XXX_GIBSON-}"
tmpbin="$HOME/tmpbin"
mkdir -p "$tmpbin"
printf >"$tmpbin/docker" '#!/bin/bash
Expand All @@ -304,10 +304,14 @@ jobs:
shift
echo "docker run with SLOGFILE ${SLOGFILE-}, AGD_LOG_FILE ${AGD_LOG_FILE-}, XXX_GIBSON ${XXX_GIBSON-}"
declare -a opts
for var in SLOGFILE AGD_LOG_FILE XXX_GIBSON; do
for var in SLOGFILE AGD_LOG_FILE; do
f="${!var-}"
[ -n "$f" ] && touch "$f" && opts+=("-e" "$var" "-v" "$f:$f")
done
for var in XXX_GIBSON; do
f="${!var-}"
[ -n "$f" ] && opts+=("-e" "$var")
done
"$cmd" run "${opts[@]}" "$@"
fi
' "$(which docker)"
Expand Down

0 comments on commit e961e12

Please sign in to comment.