-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix updating run image reference (#1067)
* Fix updating run image reference We should use the reference that the extension wrote, as that is expected to be in the daemon (when building locally) `ref.Context().RepositoryStr()` strips the reference of the registry which may not be desired; we should trust the extension to write the correct reference instead. Signed-off-by: Natalie Arellano <[email protected]> * Fix acceptance test by updating fixture Signed-off-by: Natalie Arellano <[email protected]> * Update README Signed-off-by: Natalie Arellano <[email protected]> * Use run image function instead of accessing the field directly Safer in the case the run image is nil Signed-off-by: Natalie Arellano <[email protected]> * Change fixture to point to pullable image Signed-off-by: Natalie Arellano <[email protected]> * When running pack acceptance, don't consider release candidates or pre-releases Signed-off-by: Natalie Arellano <[email protected]> * Pin pack version for acceptance to v0.28.0 pack v0.29.0 accidentally declares support for platform API 0.12 and the acceptance tests aren't passing because `pack build` hasn't actually been updated with support for platform API 0.12 Signed-off-by: Natalie Arellano <[email protected]> --------- Signed-off-by: Natalie Arellano <[email protected]>
- Loading branch information
1 parent
507ab49
commit 461466f
Showing
9 changed files
with
38 additions
and
23 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
1 change: 1 addition & 0 deletions
1
acceptance/testdata/restorer/container/layers/some-extend-false-analyzed.toml.placeholder
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
[run-image] | ||
reference = "REPLACE" | ||
image = "REPLACE" |
3 changes: 2 additions & 1 deletion
3
acceptance/testdata/restorer/container/layers/some-extend-true-analyzed.toml.placeholder
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
[run-image] | ||
reference = "REPLACE" | ||
extend = true | ||
extend = true | ||
image = "REPLACE" |
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