Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 728 Bytes

File metadata and controls

28 lines (20 loc) · 728 Bytes

Testflinger scripts

This directory contains the scripts used for Nvidia testing via Github actions and Testflinger. The tests run on devices within Canonical's test farm.

Run locally

Running the tests locally is only possible if your machine has access to the Testflinger server.

Export the following variables:

export JOB_QUEUE=<queue> SNAP_CHANNEL=<channel>

Then, modify the files:

envsubst '$JOB_QUEUE' < nvidia-job.yaml > temp-job.yaml

envsubst '$SNAP_CHANNEL' < scripts/setup.sh > scripts/temp-setup.sh

sed -i "s|setup.sh|temp-setup.sh|" temp-job.yaml

sed -i "s|.github/workflows/testflinger/||" temp-job.yaml

Finally, submit the job:

testflinger submit --poll temp-job.yaml