Skip to content

Commit

Permalink
Add Perf Repo to Infra (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler Titsworth authored Jun 4, 2024
1 parent 72b3db4 commit b332172
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/container-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ jobs:
uses: intel/ai-containers/test-runner@28ee014b2e4e9ffc4126d1b226691e5c72b75df5 # main
with:
cache_registry: ${{ secrets.CACHE_REGISTRY }}
perf_repo: ${{ secrets.PERF_REPO }}
recipe_dir: ${{ inputs.group_dir }}
registry: ${{ secrets.REGISTRY }}
repo: ${{ secrets.REPO }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-runner-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ jobs:
env:
CACHE_REGISTRY: ${{ secrets.CACHE_REGISTRY }}
FORCE_COLOR: 1
GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }}
PERF_REPO: ${{ secrets.PERF_REPO }}
REGISTRY: ${{ secrets.REGISTRY }}
REPO: ${{ secrets.REPO }}
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
Expand Down Expand Up @@ -138,6 +140,7 @@ jobs:
uses: intel/ai-containers/test-runner@28ee014b2e4e9ffc4126d1b226691e5c72b75df5 # main
with:
cache_registry: ${{ secrets.CACHE_REGISTRY }}
perf_repo: ${{ secrets.PERF_REPO }}
recipe_dir: test-runner
registry: ${{ secrets.REGISTRY }}
repo: ${{ secrets.REPO }}
Expand Down
6 changes: 6 additions & 0 deletions test-runner/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ inputs:
description: 'Container Cache Registry URL'
required: true
type: string
perf_repo:
description: 'Performance Test Repo'
required: false
type: string
recipe_dir:
description: 'Path to Recipe Directory'
required: false
Expand Down Expand Up @@ -59,6 +63,8 @@ runs:
run: venv/bin/python mlops/test-runner/test_runner.py -f ${{ inputs.test_dir }}/tests.yaml -l ${{ inputs.test_dir }}/logs -a ${{ inputs.recipe_dir }}/.actions.json -v
env:
CACHE_REGISTRY: ${{ inputs.cache_registry }}
GITHUB_TOKEN: ${{ inputs.token }}
PERF_REPO: ${{ inputs.perf_repo }}
PYTHONPATH: mlops/test-runner
REGISTRY: ${{ inputs.registry }}
REPO: ${{ inputs.repo }}
Expand Down

0 comments on commit b332172

Please sign in to comment.