diff --git a/.github/workflows/test-ssh.yml b/.github/workflows/test-ssh.yml index 26b795ed..98ece81d 100644 --- a/.github/workflows/test-ssh.yml +++ b/.github/workflows/test-ssh.yml @@ -133,14 +133,19 @@ jobs: hostname echo "nslookup $env:computername" nslookup $env:computername - echo "print hosts file:" - type c:\Windows\System32\Drivers\etc\hosts echo "hostname - python code:" python -c "import socket;print('hostname:',socket.gethostname());print('gethostbyname_ex:',socket.gethostbyname_ex(socket.gethostname()))" echo "in docker container: hostname - python code:" docker run ipyparallel-sshd python -c "import socket;print('hostname:','$env:computername');print('gethostbyname_ex:',socket.gethostbyname_ex('$env:computername'))" - echo "in docker container: print hosts file:" - docker run ipyparallel-sshd cmd.exe /C type c:\Windows\System32\Drivers\etc\hosts + echo "in docker container: nslookup $env:computername" + docker run ipyparallel-sshd nslookup $env:computername + echo "in docker container: ping jo" + docker run ipyparallel-sshd ping jo + + #echo "print hosts file:" + #type c:\Windows\System32\Drivers\etc\hosts + #echo "in docker container: print hosts file:" + #docker run ipyparallel-sshd cmd.exe /C type c:\Windows\System32\Drivers\etc\hosts - name: Set up slurm if: ${{ matrix.cluster_type == 'slurm' }} diff --git a/ci/ssh/win_docker-compose.yaml b/ci/ssh/win_docker-compose.yaml index b69eff90..ae8d177f 100644 --- a/ci/ssh/win_docker-compose.yaml +++ b/ci/ssh/win_docker-compose.yaml @@ -8,3 +8,6 @@ services: dockerfile: ci/ssh/win_Dockerfile ports: - "2222:22" + extra_hosts: + #just for testing + jo: 128.131.72.10