Skip to content

Commit

Permalink
#11762: update all workflows to include building docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
ttmchiou committed Aug 27, 2024
1 parent bd9fd3a commit 1847e99
Show file tree
Hide file tree
Showing 35 changed files with 167 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/bisect-dispatch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ on:

run-name: ${{ inputs.description }}
jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit
build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
with:
arch: '[ "${{ inputs.arch }}" ]'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/blackhole-post-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ jobs:
static-checks:
uses: ./.github/workflows/all-static-checks.yaml
secrets: inherit
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit
build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
secrets: inherit
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-and-unit-tests-wrapper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ on:
workflow_dispatch:

jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit
build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
secrets: inherit

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/cpp-post-commit-wrapper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ jobs:
static-checks:
uses: ./.github/workflows/all-static-checks.yaml
secrets: inherit
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit
build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
secrets: inherit
cpp-unit-tests:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/docs-latest-public-wrapper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@ on:
workflow_dispatch:

jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit
build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
secrets: inherit
build-docs:
needs: build-artifact
uses: ./.github/workflows/docs-latest-public.yaml
secrets: inherit
secrets: inherit
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ on:
workflow_dispatch:

jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit
build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
secrets: inherit
# FD Unit Tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ on:
- cron: "0 */2 * * *"

jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit
build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
secrets: inherit
fd-nightly:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/full-regressions-and-models.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ on:
- cron: "0 1,6 * * *"

jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit
build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
secrets: inherit
frequent-slow-dispatch:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/models-post-commit-wrapper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ jobs:
static-checks:
uses: ./.github/workflows/all-static-checks.yaml
secrets: inherit
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit
build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
secrets: inherit
models-unit-tests:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/package-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,15 @@ permissions:
packages: write

jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit
build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
secrets: inherit
build-artifact-profiler:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
with:
tracy: true
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/perf-device-models.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ on:
workflow_call:

jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit

build-artifact-profiler:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
with:
tracy: true
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/perf-models.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ on:
workflow_call:

jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit

build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
secrets: inherit
models-perf:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/run-profiler-regression-wrapper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ on:
workflow_call:

jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit

build-artifact-profiler:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
with:
tracy: true
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/single-card-demo-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ on:
- cron: "0 */4 * * 0,6"

jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit

build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
with:
arch: '["wormhole_b0"]'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ on:
- cron: "0 4 * * *"

jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit

build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
secrets: inherit

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ on:
- cron: "0 4 * * *"

jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit

build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
secrets: inherit

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/t3000-demo-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ on:
workflow_call:

jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit

build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
with:
arch: '["wormhole_b0"]'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/t3000-frequent-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ on:
- cron: "0 */8 * * *" # This cron schedule runs the workflow every 8 hours

jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit

build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
with:
arch: '["wormhole_b0"]'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/t3000-model-perf-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ on:
- cron: "0 */12 * * *" # This cron schedule runs the workflow every 12 hours

jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit

build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
with:
arch: '["wormhole_b0"]'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/t3000-nightly-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ on:
- cron: "0 21 * * *"

jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit

build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
with:
arch: '["wormhole_b0"]'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/t3000-perplexity-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ on:
- cron: "0 12 * * 6" # This cron schedule runs the workflow every saturday at 12pm

jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit

build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
with:
arch: '["wormhole_b0"]'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/t3000-profiler-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ on:
- cron: "0 */8 * * *" # This cron schedule runs the workflow every 8 hours

jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit

build-artifact-profiler:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
with:
arch: '["wormhole_b0"]'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/t3000-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ on:
- cron: "0 */3 * * *" # This cron schedule runs the workflow every 3 hours

jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit

build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
with:
arch: '["wormhole_b0"]'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test-dispatch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,12 @@ on:

run-name: ${{ inputs.description }}
jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit

build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
with:
arch: '[ "${{ inputs.arch }}" ]'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/tg-demo-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ on:
- cron: '0 0 * * 1,3,5' # This cron schedule runs the workflow every Monday/Wednesday/Friday at 12am UTC

jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit

build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
with:
arch: '["wormhole_b0"]'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/tg-frequent-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ on:
- cron: "0 */8 * * *" # This cron schedule runs the workflow every 8 hours

jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit

build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
with:
arch: '["wormhole_b0"]'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/tg-model-perf-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ on:
- cron: "0 */12 * * *" # This cron schedule runs the workflow every 12 hours

jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit

build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
with:
arch: '["wormhole_b0"]'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/tg-nightly-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ on:
- cron: "0 21 * * *"

jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit

build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
with:
arch: '["wormhole_b0"]'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/tg-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ on:
- cron: "0 */3 * * *" # This cron schedule runs the workflow every 3 hours

jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit

build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
with:
arch: '["wormhole_b0"]'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/tgg-demo-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ on:
- cron: '0 0 * * 6' # This cron schedule runs the workflow every Saturday at 12am UTC

jobs:
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit

build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
with:
arch: '["wormhole_b0"]'
Expand Down
Loading

0 comments on commit 1847e99

Please sign in to comment.