Skip to content

Commit

Permalink
chore: Add e2e test for platform push and pull
Browse files Browse the repository at this point in the history
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
  • Loading branch information
TerryHowe committed Oct 31, 2024
1 parent 0f62d45 commit ac4ba49
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/e2e/suite/command/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,11 @@ 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.PlatformConfigStateKey,
foobar.FileBarStateKey,
}, true, 2).Exec()

})

It("should push files with platform with mediaType as artifactType for v1.0", func() {
Expand Down

0 comments on commit ac4ba49

Please sign in to comment.