Our runner.

This commit is contained in:
Nicolas Patry 2024-02-13 17:15:45 +01:00
parent 246ad39d04
commit 31d965bf17

View File

@ -186,11 +186,11 @@ jobs:
concurrency: concurrency:
group: ${{ github.workflow }}-build-and-push-image-rocm-${{ github.head_ref || github.run_id }} group: ${{ github.workflow }}-build-and-push-image-rocm-${{ github.head_ref || github.run_id }}
cancel-in-progress: true cancel-in-progress: true
needs: # needs:
- start-runner # - start-runner
- build-and-push-image # Wait for the main docker image to be built # - build-and-push-image # Wait for the main docker image to be built
- integration-tests # Wait for the main integration-tests # - integration-tests # Wait for the main integration-tests
runs-on: ${{ needs.start-runner.outputs.label }} # run the job on the newly created runner runs-on: [self-hosted, docker-gpu, amd-gpu, multi-gpu, mi250]
permissions: permissions:
contents: write contents: write
packages: write packages: write
@ -207,10 +207,10 @@ jobs:
install: true install: true
- 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: tailscale/github-action@7bd8039bf25c23c4ab1b8d6e2cc2da2280601966 # uses: tailscale/github-action@7bd8039bf25c23c4ab1b8d6e2cc2da2280601966
with: # with:
authkey: ${{ secrets.TAILSCALE_AUTHKEY }} # authkey: ${{ secrets.TAILSCALE_AUTHKEY }}
- 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
@ -279,7 +279,7 @@ jobs:
needs: needs:
- start-runner - start-runner
- build-and-push-image - build-and-push-image
- build-and-push-image-rocm # - build-and-push-image-rocm
- integration-tests - integration-tests
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env: