-
Notifications
You must be signed in to change notification settings - Fork 601
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/snap,seed: validate full seeds (UC 16/18)
This switches ValidateFromYaml to actually use seed.Open/seed.Seed so that the validation is closer to how first boot code works now, and assertions are validated too. Bunch of TODOs to extend this to UC20 in follow ups. This also moves current validate-seed tests from cmd/snap to seed because now they need much more extensive setup. It replaces them with a minimal unhappy case test.
- Loading branch information
Showing
4 changed files
with
264 additions
and
100 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
Oops, something went wrong.