Skip to content

Commit

Permalink
test with released images instead of building ourselves (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sophie Wigmore authored Apr 8, 2024
1 parent e0ff3a8 commit 7673ae2
Showing 1 changed file with 4 additions and 21 deletions.
25 changes: 4 additions & 21 deletions buildpack_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,27 +47,10 @@ func testBuildpackIntegration(t *testing.T, context spec.G, it spec.S) {
name, err = occam.RandomName()
Expect(err).NotTo(HaveOccurred())

buildpackStore := occam.NewBuildpackStore()

mavenBuildpack, err = buildpackStore.Get.
WithVersion("6.5.5").
Execute("github.com/paketo-buildpacks/maven")
Expect(err).NotTo(HaveOccurred())

jvmBuildpack, err = buildpackStore.Get.
WithVersion("9.3.4").
Execute("github.com/paketo-buildpacks/sap-machine")
Expect(err).NotTo(HaveOccurred())

syftBuildpack, err = buildpackStore.Get.
WithVersion("1.12.0").
Execute("github.com/paketo-buildpacks/syft")
Expect(err).NotTo(HaveOccurred())

executableJarBuildpack, err = buildpackStore.Get.
WithVersion("6.2.4").
Execute("github.com/paketo-buildpacks/executable-jar")
Expect(err).NotTo(HaveOccurred())
mavenBuildpack = "gcr.io/paketo-buildpacks/maven"
jvmBuildpack = "gcr.io/paketo-buildpacks/sap-machine"
syftBuildpack = "gcr.io/paketo-buildpacks/syft"
executableJarBuildpack = "gcr.io/paketo-buildpacks/executable-jar"

source, err = occam.Source(filepath.Join("integration", "testdata", "simple_app"))
Expect(err).NotTo(HaveOccurred())
Expand Down

0 comments on commit 7673ae2

Please sign in to comment.