Skip to content

Commit

Permalink
always exit 0 when printing debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
qrkourier committed Aug 23, 2024
1 parent 5cde236 commit 97df563
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test-deployments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,13 @@ jobs:
if: always()
shell: bash
run: |
set -x +e
set -x
set +e
sudo ss -lntp | grep -E ":(${ZITI_CTRL_ADVERTISED_PORT}|${ZITI_ROUTER_PORT})"
sudo journalctl --no-pager -o cat -u ziti-controller.service
sudo journalctl --no-pager -o cat -u ziti-router.service
cat /opt/openziti/etc/**/*.env /tmp/${ZITI_ROUTER_NAME}.jwt
exit 0
docker-deployments:
name: Test the Docker Deployments
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-quickstart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,4 @@ jobs:
id runner
ls -lAn ${GOCACHE:-${HOME}/.cache/go-build}/ ${GOPATH:-${HOME}/go}/pkg/mod/
docker compose --profile test logs
exit 0
1 change: 1 addition & 0 deletions dist/dist-packages/linux/linux.test.bash
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ cleanup(){
fi
)||true
done
echo "DEBUG: cleanup complete"
}

portcheck(){
Expand Down
1 change: 1 addition & 0 deletions dist/docker-images/compose.test.bash
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ set -o xtrace

cleanup(){
docker compose --profile test down --volumes --remove-orphans
echo "DEBUG: cleanup complete"
}

portcheck(){
Expand Down

0 comments on commit 97df563

Please sign in to comment.