Files
snapd/tests/nested
Sergio Cazzolato 8d23538efb tests: unify the way the snapd/core and kernel are repacked in nested helper (#12026)
* unify the way the snapd/core and kernel are repacked in nested helper

The idea is to simplify the code used to create images by creating
functions to prepare the snaps used to build the source images for the
nested tests.

This initial change includes snapd and kernel preparation.

* Fix missing then

* fix shellcheck

* Fix wrong variable name in prepare_snapd

* fix issues found in logs

* keep a copy of the snaps in $NESTED_ASSETS_DIR

* Update image_id for some tests

* Use the task name to identify the image when it is not set in the task

* fix shellcheck

* fix task name using basename
2022-08-12 17:43:03 -03:00
..