Trying to ssh into.

This commit is contained in:
Nicolas Patry 2024-06-05 11:22:00 +02:00
parent 31d164d8e3
commit fdb5b2a21a

View File

@ -159,9 +159,23 @@ jobs:
- build-and-push-image-intel
runs-on: intel-pvc-tgi
steps:
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install
run: |
make install-integration-tests
- name: Tailscale
uses: huggingface/tailscale-action@main
with:
authkey: ${{ secrets.TAILSCALE_SSH_AUTHKEY }}
debugEnabled: true
slackChannel: ${{ secrets.SLACK_CIFEEDBACK_CHANNEL }}
slackToken: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}
- name: Wait for SSH
run : |
sleep 30s
while [ "$(last | grep '^runner.*still logged in$')" ]; do sleep 1m; done
- name: Run tests
run: |
export HUGGING_FACE_HUB_TOKEN=${{ secrets.HUGGING_FACE_HUB_TOKEN }}