canonical / checkbox

Checkbox is a testing framework used to validate device compatibility with Ubuntu Linux. It’s the testing tool developed for the purposes of the Ubuntu Certification program.
https://checkbox.readthedocs.io
GNU General Public License v3.0
33 stars 50 forks source link

Make workflow dispatch checkbox from source into action (infra) #1517

Closed Hook25 closed 1 month ago

Hook25 commented 1 month ago

Description

This refactors the Checkbox from source workflow into an action (that is now used by the workflow).

This also implements the following changes:

Resolved issues

I think this is satisfactory conclusing to this spike.

Fixes: https://warthogs.atlassian.net/browse/CHECKBOX-1583

Documentation

New parameter documented as the others in the action header

Tests

Run that executes the zapper-canary testplan dispatched with the following command:

gh workflow run dispatch_lab_job.yaml --ref action_checkbox -f 'matrix_to_create=[{"queue":"202203-30003","match":".*","test_plan":"com.canonical.certification::canary-zapper"}]'

https://github.com/canonical/checkbox/actions/runs/11106549363/job/30855120456

Final, post all commits/refactorings/landing version: https://github.com/canonical/checkbox/actions/runs/11144034945/job/30970401973