Skip to content

Commit

Permalink
[Test] Native multi-arch ClusterBuildStrategy
Browse files Browse the repository at this point in the history
  • Loading branch information
aleskandro committed Jul 8, 2024
1 parent 8d16348 commit e674b83
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions test/e2e/v1alpha1/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,29 @@ var _ = Describe("For a Kubernetes cluster with Tekton and build installed", fun
})
})

Context("when a Multiarch Native Buildah build is defined", func() {

BeforeEach(func() {
testID = generateTestID("buildah-multi-arch-native")

// create the build definition
build = createBuild(
testBuild,
testID,
"test/data/v1beta1/build_multiarch_native_buildah_cr.yaml",
)
})

It("successfully runs a build", func() {
buildRun, err = buildRunTestData(testBuild.Namespace, testID, "test/data/v1beta1/build_multiarch_native_buildah_cr.yaml")
Expect(err).ToNot(HaveOccurred(), "Error retrieving buildrun test data")
appendRegistryInsecureParamValue(build, buildRun)

buildRun = validateBuildRunToSucceed(testBuild, buildRun)
testBuild.ValidateImageDigest(buildRun)
})
})

Context("when a heroku Buildpacks build is defined using a cluster strategy", func() {

BeforeEach(func() {
Expand Down

0 comments on commit e674b83

Please sign in to comment.