From e394d5dbdac278b9e8bf75141821b61a176dc92a Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Fri, 29 Mar 2024 17:13:09 +0100 Subject: [PATCH] no docker ipv4 forcing --- .github/workflows/test.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f441435e..d1b257fb 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -59,7 +59,7 @@ jobs: - name: Test vncserver if: always() run: | - container_id=$(docker run -d -it -p 127.0.0.1:5901:5901 test vncserver -xstartup /opt/install/jupyter_remote_desktop_proxy/share/xstartup -verbose -fg -geometry 1680x1050 -SecurityTypes None -rfbport 5901 ${{ matrix.vncserver_args }}) + container_id=$(docker run -d -it -p 5901:5901 test vncserver -xstartup /opt/install/jupyter_remote_desktop_proxy/share/xstartup -verbose -fg -geometry 1680x1050 -SecurityTypes None -rfbport 5901 ${{ matrix.vncserver_args }}) sleep 1 timeout --preserve-status 1 nc -v 127.0.0.1 5901 2>&1 | tee -a /dev/stderr | \ @@ -78,7 +78,7 @@ jobs: - name: Test websockify'ed vncserver if: always() run: | - container_id=$(docker run -d -it -p 127.0.0.1:5901:5901 test websockify --verbose --log-file=/tmp/websockify.log --heartbeat=30 5901 -- vncserver -xstartup /opt/install/jupyter_remote_desktop_proxy/share/xstartup -verbose -fg -geometry 1680x1050 -SecurityTypes None -rfbport 5901 ${{ matrix.vncserver_args }}) + container_id=$(docker run -d -it -p 5901:5901 test websockify --verbose --log-file=/tmp/websockify.log --heartbeat=30 5901 -- vncserver -xstartup /opt/install/jupyter_remote_desktop_proxy/share/xstartup -verbose -fg -geometry 1680x1050 -SecurityTypes None -rfbport 5901 ${{ matrix.vncserver_args }}) sleep 1 websocat --binary --one-message --exit-on-eof "ws://127.0.0.1:5901/" 2>&1 | tee -a /dev/stderr | \ @@ -101,7 +101,7 @@ jobs: - name: Test project's proxy to websockify'ed vncserver if: always() run: | - container_id=$(docker run -d -it -p 127.0.0.1:8888:8888 -e JUPYTER_TOKEN=secret test) + container_id=$(docker run -d -it -p 8888:8888 -e JUPYTER_TOKEN=secret test) sleep 3 curl --silent --fail 'http://localhost:8888/desktop/?token=secret' | grep --quiet 'Jupyter Remote Desktop Proxy' && echo "Passed get index.html test" || { echo "Failed get index.html test" && TEST_OK=false; }