Skip to content

Commit

Permalink
[skip ci] #0: Allow Users to provide extra tag for T3K choose your ow…
Browse files Browse the repository at this point in the history
…n pipeline (#14873)
  • Loading branch information
blozano-tt authored Nov 8, 2024
1 parent a5c3006 commit 1ede74c
Show file tree
Hide file tree
Showing 7 changed files with 72 additions and 6 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/pipeline-select-t3k.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
- RelWithDebInfo
- CI
default: "Release"
extra-tag:
required: true
type: string
default: "in-service"
build-with-tracy:
required: false
type: boolean
Expand Down Expand Up @@ -54,29 +58,41 @@ jobs:
needs: build-artifact
secrets: inherit
uses: ./.github/workflows/t3000-unit-tests-impl.yaml
with:
extra-tag: ${{ inputs.extra-tag }}
if: ${{ inputs.t3000-unit }}
t3000-demo-tests:
needs: build-artifact
secrets: inherit
uses: ./.github/workflows/t3000-demo-tests-impl.yaml
with:
extra-tag: ${{ inputs.extra-tag }}
if: ${{ inputs.t3000-demo }}
t3000-frequent-tests:
needs: build-artifact
secrets: inherit
uses: ./.github/workflows/t3000-frequent-tests-impl.yaml
with:
extra-tag: ${{ inputs.extra-tag }}
if: ${{ inputs.t3000-frequent }}
t3000-nightly-tests:
needs: build-artifact
secrets: inherit
uses: ./.github/workflows/t3000-nightly-tests-impl.yaml
with:
extra-tag: ${{ inputs.extra-tag }}
if: ${{ inputs.t3000-nightly }}
t3000-model-perf-tests:
needs: build-artifact
secrets: inherit
uses: ./.github/workflows/t3000-model-perf-tests-impl.yaml
with:
extra-tag: ${{ inputs.extra-tag }}
if: ${{ inputs.t3000-model-perf }}
t3000-profiler-tests:
needs: build-artifact
secrets: inherit
uses: ./.github/workflows/t3000-profiler-tests-impl.yaml
with:
extra-tag: ${{ inputs.extra-tag }}
if: ${{ inputs.t3000-profiler }}
11 changes: 10 additions & 1 deletion .github/workflows/t3000-demo-tests-impl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: "[internal] T3000 demo tests impl"

on:
workflow_call:
inputs:
extra-tag:
required: true
type: string
default: "in-service"

jobs:
t3000-demo-tests:
Expand All @@ -23,7 +28,11 @@ jobs:
ARCH_NAME: ${{ matrix.test-group.arch }}
LOGURU_LEVEL: INFO
LD_LIBRARY_PATH: ${{ github.workspace }}/build/lib
runs-on: ["arch-wormhole_b0", "config-t3000", "in-service", "pipeline-perf"]
runs-on:
- arch-wormhole_b0
- config-t3000
- pipeline-perf
- ${{ inputs.extra-tag }}
steps:
- uses: tenstorrent-metal/metal-workflows/.github/actions/[email protected]
- name: Enable performance mode
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/t3000-frequent-tests-impl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: "[internal] T3000 frequent tests impl"

on:
workflow_call:
inputs:
extra-tag:
required: true
type: string
default: "in-service"

jobs:
t3000-frequent-tests:
Expand All @@ -27,7 +32,11 @@ jobs:
ARCH_NAME: ${{ matrix.test-group.arch }}
LOGURU_LEVEL: INFO
LD_LIBRARY_PATH: ${{ github.workspace }}/build/lib
runs-on: ["arch-wormhole_b0", "config-t3000", "in-service", "pipeline-functional"]
runs-on:
- arch-wormhole_b0
- config-t3000
- pipeline-functional
- ${{ inputs.extra-tag }}
steps:
- uses: tenstorrent-metal/metal-workflows/.github/actions/[email protected]
- uses: ./.github/actions/ensure-active-weka-mount
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/t3000-model-perf-tests-impl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: "[internal] T3000 model perf tests impl"

on:
workflow_call:
inputs:
extra-tag:
required: true
type: string
default: "in-service"

jobs:

Expand All @@ -25,7 +30,11 @@ jobs:
ARCH_NAME: ${{ matrix.test-group.arch }}
LOGURU_LEVEL: INFO
LD_LIBRARY_PATH: ${{ github.workspace }}/build/lib
runs-on: ["arch-wormhole_b0", "config-t3000", "in-service", "pipeline-perf"]
runs-on:
- arch-wormhole_b0
- config-t3000
- pipeline-perf
- ${{ inputs.extra-tag }}
steps:
- uses: tenstorrent-metal/metal-workflows/.github/actions/[email protected]
- name: Enable performance mode
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/t3000-nightly-tests-impl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: "[internal] T3000 nightly tests impl"

on:
workflow_call:
inputs:
extra-tag:
required: true
type: string
default: "in-service"

jobs:
t3000-nightly-tests:
Expand All @@ -18,7 +23,11 @@ jobs:
ARCH_NAME: ${{ matrix.test-group.arch }}
LOGURU_LEVEL: INFO
LD_LIBRARY_PATH: ${{ github.workspace }}/build/lib
runs-on: ["arch-wormhole_b0", "config-t3000", "in-service", "pipeline-functional"]
runs-on:
- arch-wormhole_b0
- config-t3000
- pipeline-functional
- ${{ inputs.extra-tag }}
steps:
- uses: tenstorrent-metal/metal-workflows/.github/actions/[email protected]
- name: Set up dynamic env vars for build
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/t3000-profiler-tests-impl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: "[internal] T3000 profiler tests impl"

on:
workflow_call:
inputs:
extra-tag:
required: true
type: string
default: "in-service"

jobs:
t3000-profiler-tests:
Expand All @@ -12,7 +17,7 @@ jobs:
{
name: "T3000 profiler tests",
arch: wormhole_b0,
runs-on: ["arch-wormhole_b0", "config-t3000", "in-service", "pipeline-perf"],
runs-on: ["arch-wormhole_b0", "config-t3000", "pipeline-perf", "${{ inputs.extra-tag }}"],
cmd: './tests/scripts/run_profiler_regressions.sh'
},
]
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/t3000-unit-tests-impl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: "[internal] T3000 unit tests impl"

on:
workflow_call:
inputs:
extra-tag:
required: true
type: string
default: "in-service"

jobs:
t3000-unit-tests:
Expand All @@ -28,7 +33,11 @@ jobs:
ARCH_NAME: ${{ matrix.test-group.arch }}
LOGURU_LEVEL: INFO
LD_LIBRARY_PATH: ${{ github.workspace }}/build/lib
runs-on: ["arch-wormhole_b0", "config-t3000", "in-service", "pipeline-functional"]
runs-on:
- arch-wormhole_b0
- config-t3000
- pipeline-functional
- ${{ inputs.extra-tag }}
steps:
- uses: tenstorrent-metal/metal-workflows/.github/actions/[email protected]
- name: Set up dynamic env vars for build
Expand Down

0 comments on commit 1ede74c

Please sign in to comment.