Skip to content

Commit

Permalink
test(e2e): Specify architecture for test images in e2e (#727)
Browse files Browse the repository at this point in the history
This allows running the e2e tests on arm64 dev machines.
  • Loading branch information
jimmidyson authored May 21, 2024
1 parent 74d730a commit 46fbde8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/e2e/imagebundle/push_bundle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ var _ = Describe("Push Bundle", func() {
GinkgoT(),
bundleFile,
filepath.Join("testdata", "create-success.yaml"),
"linux/"+runtime.GOARCH,
)

runTest(registryHost, registryScheme, registryPath, registryInsecure)
Expand Down Expand Up @@ -203,6 +204,7 @@ var _ = Describe("Push Bundle", func() {
GinkgoT(),
bundleFile,
filepath.Join("testdata", "create-success.yaml"),
"linux/"+runtime.GOARCH,
)
})

Expand Down Expand Up @@ -285,6 +287,7 @@ var _ = Describe("Push Bundle", func() {
GinkgoT(),
bundleFile,
filepath.Join("testdata", "create-success.yaml"),
"linux/"+runtime.GOARCH,
)

DeferCleanup(GinkgoWriter.ClearTeeWriters)
Expand Down
2 changes: 2 additions & 0 deletions test/e2e/imagebundle/serve_bundle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ var _ = Describe("Serve Bundle", func() {
GinkgoT(),
bundleFile,
filepath.Join("testdata", "create-success.yaml"),
"linux/"+runtime.GOARCH,
)

port, err := freeport.GetFreePort()
Expand Down Expand Up @@ -102,6 +103,7 @@ var _ = Describe("Serve Bundle", func() {
GinkgoT(),
bundleFile,
filepath.Join("testdata", "create-success.yaml"),
"linux/"+runtime.GOARCH,
)

port, err := freeport.GetFreePort()
Expand Down

0 comments on commit 46fbde8

Please sign in to comment.