Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

overlays: Implement overlays option #349

Merged
merged 1 commit into from
Jun 12, 2024
Merged

Conversation

stylesen
Copy link
Contributor

Usage:

lava-test-plans --device-type x86 --variables ~/work/linaro/notes/lava-bridge/x86-variables-valid.yaml --testplan-device-path devices --dry-run --test-case boot.yaml --overlay https://storage.tuxboot.com/overlays/debian/trixie/amd64/ltp/20240524/ltp.tar.xz /tmp --overlay https://storage.tuxboot.com/overlays/debian/trixie/amd64/ltp/20240524/ltp-1.tar.xz /data --overlay https://storage.tuxboot.com/overlays/debian/trixie/amd64/ltp/20240524/ltp-2.tar.xz /var --overlay https://storage.tuxboot.com/overlays/debian/trixie/amd64/ltp/20240524/ltp-3.tar.xz

The above should put overlays in the lava job definition at the right place.

@stylesen stylesen force-pushed the overlays branch 2 times, most recently from 508cd9b to d5a04e5 Compare June 12, 2024 10:41
The overlay option allows to supply any number of overlays with the
destination path, where the overlay has to be applied. If the
destination path is not given the default will be "/".

This avoids hard coding overlay parameters as part of the jinja
templates. We are not removing the existing overlay parameters from
the jinja templates in order to not break the backwards compatibility
for users who are already relying on this.

Signed-off-by: Senthil Kumaran S <[email protected]>
@roxell roxell merged commit 951843a into Linaro:master Jun 12, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants