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 <[email protected]>
  • Loading branch information
TerryHowe committed Oct 31, 2024
1 parent 0f62d45 commit aae1389
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, 2).Exec()

})

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

0 comments on commit aae1389

Please sign in to comment.