Skip to content

Commit

Permalink
Do not require test dispatch workflow to run on "in-service" runners (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
TT-billteng authored Sep 27, 2024
1 parent 3c1c04c commit 5f4e767
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/test-dispatch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
runner-label:
required: true
type: string
default: '["in-service"]'
build-type:
required: false
type: choice
Expand All @@ -36,6 +37,18 @@ on:

run-name: ${{ inputs.description }}
jobs:
# setup:
# name: Setup runner labels for deploy
# runs-on: ubuntu-latest
# environment: ${{ inputs.environment }}
# outputs:
# deployrunner: ${{ steps.step1.outputs.deployrunner }}
# steps:
# - name: Set runs-on for deploy
# id: step1
# run: |
# # local_var="\'[\"${{ inputs.hw-config }}\", \"${{ inputs.runner-label }}\"]\'"
# echo "deployrunner=${{ inputs.runner-label }}" >> $GITHUB_OUTPUT
build-artifact:
uses: ./.github/workflows/build-artifact.yaml
with:
Expand All @@ -44,16 +57,15 @@ jobs:
tracy: ${{ inputs.tracy }}
secrets: inherit
test-dispatch:
# needs: setup
needs: build-artifact
timeout-minutes: 1440
env:
TT_METAL_ENV: ${{ vars.TT_METAL_ENV }}
ARCH_NAME: ${{ inputs.arch }}
LD_LIBRARY_PATH: ${{ github.workspace }}/build/lib
environment: dev
runs-on:
- ${{ inputs.runner-label }}
- "in-service"
runs-on: ${{ fromJSON(inputs.runner-label) }}
steps:
- uses: tenstorrent-metal/metal-workflows/.github/actions/[email protected]
- name: Ensure weka mount is active
Expand Down

0 comments on commit 5f4e767

Please sign in to comment.