Skip to content

Commit

Permalink
ci: remove docker down
Browse files Browse the repository at this point in the history
  • Loading branch information
wusteven815 committed Mar 13, 2024
1 parent 1703b2e commit 46ab2e0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
path: playwright-report/
retention-days: 90

- name: Dump server logs
if: failure()
run: docker logs deephaven-plugins > /tmp/server-log.txt

- name: Upload server logs
if: failure()
uses: actions/upload-artifact@v4
Expand Down
7 changes: 4 additions & 3 deletions tools/run_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ pushd "$(dirname "$0")"
# Start the containers
if [[ -z "${CI}" ]]; then
docker compose run --service-ports --rm --build "$@"
exit_code=$?
docker compose down
else
docker compose run --service-ports --rm --build -e CI=true "$@"
exit_code=$?
docker compose stop deephaven-plugins
fi
exit_code=$?
docker logs deephaven-plugins > /tmp/server-log.txt 2>&1
docker compose down

# Reset pwd
popd
Expand Down

0 comments on commit 46ab2e0

Please sign in to comment.