Skip to content

Commit

Permalink
chore: Add e2e test for platform push and pull (#1520)
Browse files Browse the repository at this point in the history
Signed-off-by: Terry Howe <[email protected]>
  • Loading branch information
TerryHowe authored Nov 6, 2024
1 parent 8f0f0cd commit e0e6ece
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/e2e/suite/command/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,10 @@ var _ = Describe("OCI image layout users:", func() {
Size: int64(foobar.PlatformConfigSize),
Digest: foobar.PlatformConfigDigest,
}))
ORAS("pull", "--platform", "darwin/arm64", Flags.Layout, ref).MatchStatus([]match.StateKey{
foobar.FileBarStateKey,
}, true, 1).Exec()

})

It("should fail to customize config mediaType when baking config blob with platform for v1.0", func() {
Expand Down

0 comments on commit e0e6ece

Please sign in to comment.