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
|
- name: Inject slug/short variables
|
||||||
uses: rlespinasse/github-slug-action@v4.4.1
|
uses: rlespinasse/github-slug-action@v4.4.1
|
||||||
- name: Tailscale
|
- name: Tailscale
|
||||||
uses: huggingface/tailscale-action@ci-test
|
uses: huggingface/tailscale-action@main
|
||||||
with:
|
with:
|
||||||
oauth-client-id: kV3YYMqHyM11CNTRL
|
authkey: ${{ secrets.TAILSCALE_AUTHKEY }}
|
||||||
oauth-secret: tskey-client-kV3YYMqHyM11CNTRL-payJPrYdsGaVhRahyevcFaXj7kq8BEF6
|
|
||||||
tags: tag:ci
|
|
||||||
- name: Login to GitHub Container Registry
|
- name: Login to GitHub Container Registry
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
@ -70,12 +68,12 @@ jobs:
|
|||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
#- name: Login to internal Container Registry
|
- name: Login to internal Container Registry
|
||||||
# uses: docker/login-action@v2.1.0
|
uses: docker/login-action@v2.1.0
|
||||||
# with:
|
with:
|
||||||
# username: ${{ secrets.TAILSCALE_DOCKER_USERNAME }}
|
username: ${{ secrets.TAILSCALE_DOCKER_USERNAME }}
|
||||||
# password: ${{ secrets.TAILSCALE_DOCKER_PASSWORD }}
|
password: ${{ secrets.TAILSCALE_DOCKER_PASSWORD }}
|
||||||
# registry: registry.internal.huggingface.tech
|
registry: registry.internal.huggingface.tech
|
||||||
- name: Login to Azure Container Registry
|
- name: Login to Azure Container Registry
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
uses: docker/login-action@v2.1.0
|
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 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 }}
|
export HUGGING_FACE_HUB_TOKEN=${{ secrets.HUGGING_FACE_HUB_TOKEN }}
|
||||||
pytest -s -vv integration-tests
|
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