tests: enable secure boot provisioning of cm4 #3444
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Enables the secure boot provisioning of cm4
It was difficult to come up with something more generalised due to not having many examples to work with. Requires the following PRs to work:
FLASHER_SECUREBOOT
env var for non-qemu test runs: allow for secureboot flasher env var for non-qemu runs leviathan#1183 (merged, can use latest leviathan withmake test FLASHER_SECUREBOOT=1
to use this workflow)It also requires copying the
secure-boot-msd
folder into the suites directory before running the tests - either in the jenkins config scripts or manually if running locallyAlso required, as shown in the changes to the leviathan
config.js
in this PR , you must addartifacts: <name of the artifact folder
in yourconfig.js
. So for example, if you have copiedsecure-boot-msd
into yoursuites
folder, then you must addartifacts: 'secure-boot-msd'
. This will send the entire contents of that folder to the worker, placing them in the worker/data
volume for use by the autokit (or whatever else is desired)notes on flashing:
Contributor checklist
Change-type
present on at least one commitSigned-off-by
is presentReviewer Guidelines