-
Notifications
You must be signed in to change notification settings - Fork 561
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
aa40a4b
commit 8d23538
Showing
5 changed files
with
90 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters