mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-12 04:44:52 +00:00
wait for ssh
This commit is contained in:
parent
cf38bb7529
commit
58da5e3f3c
23
.github/workflows/build.yaml
vendored
23
.github/workflows/build.yaml
vendored
@ -58,11 +58,9 @@ jobs:
|
||||
- name: Inject slug/short variables
|
||||
uses: rlespinasse/github-slug-action@v4.4.1
|
||||
- name: Tailscale
|
||||
uses: huggingface/tailscale-action@ci-test
|
||||
uses: huggingface/tailscale-action@main
|
||||
with:
|
||||
oauth-client-id: kV3YYMqHyM11CNTRL
|
||||
oauth-secret: tskey-client-kV3YYMqHyM11CNTRL-payJPrYdsGaVhRahyevcFaXj7kq8BEF6
|
||||
tags: tag:ci
|
||||
authkey: ${{ secrets.TAILSCALE_AUTHKEY }}
|
||||
- name: Login to GitHub Container Registry
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: docker/login-action@v2
|
||||
@ -70,12 +68,12 @@ jobs:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
#- name: Login to internal Container Registry
|
||||
# uses: docker/login-action@v2.1.0
|
||||
# with:
|
||||
# username: ${{ secrets.TAILSCALE_DOCKER_USERNAME }}
|
||||
# password: ${{ secrets.TAILSCALE_DOCKER_PASSWORD }}
|
||||
# registry: registry.internal.huggingface.tech
|
||||
- name: Login to internal Container Registry
|
||||
uses: docker/login-action@v2.1.0
|
||||
with:
|
||||
username: ${{ secrets.TAILSCALE_DOCKER_USERNAME }}
|
||||
password: ${{ secrets.TAILSCALE_DOCKER_PASSWORD }}
|
||||
registry: registry.internal.huggingface.tech
|
||||
- name: Login to Azure Container Registry
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: docker/login-action@v2.1.0
|
||||
@ -141,3 +139,8 @@ jobs:
|
||||
export DOCKER_IMAGE=registry.internal.huggingface.tech/api-inference/community/text-generation-inference:sha-${{ env.GITHUB_SHA_SHORT }}
|
||||
export HUGGING_FACE_HUB_TOKEN=${{ secrets.HUGGING_FACE_HUB_TOKEN }}
|
||||
pytest -s -vv integration-tests
|
||||
- name: Tailscale Wait
|
||||
if: ${{ failure() || runner.debug == '1' }}
|
||||
uses: huggingface/tailscale-action@main
|
||||
with:
|
||||
waitForSSH: true
|
||||
|
Loading…
Reference in New Issue
Block a user