Skip to content

Commit

Permalink
Use Testflinger job queue served by multiple machines (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
farshidtz authored Sep 19, 2024
1 parent e0a4df5 commit a564873
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/nvidia-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,14 @@ jobs:
needs: publish
env:
TESTFLINGER_DIR: .github/workflows/testflinger
strategy:
fail-fast: true
matrix:
job-queue:
- 202007-28059
# - 202008-2816s7
# - 202112-29789
# noprovision node, for CI testing
# - 202302-31212
JOB_QUEUE: docker-nvidia
SNAP_CHANNEL: latest/edge/runid-${{ inputs.run_id }}
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Create Testflinger job queue
run: |
export JOB_QUEUE="${{ matrix.job-queue }}"
export SNAP_CHANNEL="latest/edge/runid-${{ inputs.run_id }}"
envsubst '$JOB_QUEUE' \
< $TESTFLINGER_DIR/nvidia-job.yaml \
> $TESTFLINGER_DIR/nvidia-job.temp
Expand Down

0 comments on commit a564873

Please sign in to comment.