Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not require test dispatch workflow to run on "in-service" runners #12660

Merged
merged 9 commits into from
Sep 27, 2024
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