-
Notifications
You must be signed in to change notification settings - Fork 587
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
many: read component and related assertions when reading seeds (#14378)
* seed/seedwriter: write the right component file name in options.yaml The Unasserted field in options.yaml had the file name from the passed option, not the one in the created seed. * seed: read components from the seed * overlord: adapt to seedtest changes * image: check for components when reading seeds * seed/internal: allow asserted components in options.yaml Allow having asserted components for asserted snaps in options.yaml * seed: download asserted extra components * overlord,seed: pass nil instead of empty map in calls to MakeSeedWithModel * seed: fix tests that depend on file size It needs to be read as we have different default sizes on different distros. * seed: deal with extra asserted snaps in the seed * seed,image: change seed.Component.CompSideInfo to a pointer * seed: unexport ResourceKey * seed: read component as late as possible in lookupVerifiedComponent * seed: create separate method to avoid tricky error handling inside timings.Run * seed: add tests for component provenance * seed: no wrapper struct for internal error
- Loading branch information
1 parent
3a68adb
commit 7e49f81
Showing
12 changed files
with
1,353 additions
and
85 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
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.