- DUT: Device Under Test
The first step is to look up the draft release associated with the commit under test. This must be done in order to pin a predetermined device (via UUID) to the draft release that has been pushed to balenaCloud.
graph TD;
A[Authenticate with balena sdk]-->B;
B[Get release id from balenaCloud using commit hash]-->C;
C[Pin device under test to draft release from previous action]-->D;
D[Confirm device has downloaded pinned release]-->E[Confirm device is running pinned release];
Within this balena-test script, we expect there to be two types of workflow: one where the GitHub runner interacts directly with the DUT and the other where the GitHub runner interacts with an AutoKit which controls the DUT.