forked from canonical/snapd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: new organization for nested tests (canonical#9098)
* New work ir organization for nested execution * Fixes after merge * Remove image dir call * Fixes for tests * Each image has an id to be distint for other images created manually * Fix shell check error * Save and restore compressed images * Fixes for tests which failed * Just keep 1 image * Small fixes for default run * Add checks for channels * Fix issues found during execution * Add new check for hotplug * As core could be installed from any source, the version could be anything It is tested on listing test so here just verify the channel is correct * Fix core version check for core built from current branch * test fix * Fix shellcheck issue in spread.yaml * New documentation for nested tests * Update default value for SPREAD_BUILD_SNAPD_FROM_CURRENT var * Fix documentation * Using LOGS_DIR to read serial.log in spread.yaml * Using local vars on functions and prefix NESTED_ for global vars * Fix global variable without NESTED_ prefix * Fix another var without NESTED_ prefix * break case in case the system is rebooted after refresh or revert * Update var names in github actions configuration * Update vars without NESTED_ * Add another NESTED_ prefix * Fix for cloud-init test * Updating documentation with new names for variables * Updating the name of the nested functions with prefix nested_ * Making simpler the management of the images and the compression * Update variable names, moving SPREAD_NESTED_ to NESTED_ * Gracefull shutdown for the vm * Fix shellcheck * fix missing import * Support parameters on generic function nested_get_image_url_for_vm * Shell check fix * Fix shellcheck of function * Sync after the users are created to avoid issue after restart the vm * Minor fix to locate correctly the assets * Updating function names * Fix for {} on function nested_configure_cloud_init_on_core20_vm * Updating nested_execute function name * Small fixes addressing review comments * Adding 3 small fixes
- Loading branch information
1 parent
68bf72c
commit fbb137e
Showing
25 changed files
with
837 additions
and
655 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.