diff --git a/integration/build_failure_test.go b/integration/build_failure_test.go index 4e38c4a..84a53f9 100644 --- a/integration/build_failure_test.go +++ b/integration/build_failure_test.go @@ -58,7 +58,7 @@ func testBuildFailure(t *testing.T, context spec.G, it spec.S) { Expect(file.Close()).To(Succeed()) _, logs, err := pack.Build. - WithPullPolicy("if-not-present"). + WithPullPolicy("never"). WithBuildpacks( settings.Buildpacks.GoDist.Online, settings.Buildpacks.GoBuild.Online, @@ -105,7 +105,7 @@ func testBuildFailure(t *testing.T, context spec.G, it spec.S) { Expect(os.WriteFile(filepath.Join(source, "buildpack.yml"), nil, os.ModePerm)).To(Succeed()) _, logs, err := pack.Build. - WithPullPolicy("if-not-present"). + WithPullPolicy("never"). WithBuildpacks( settings.Buildpacks.GoDist.Online, settings.Buildpacks.GoBuild.Online, @@ -120,4 +120,4 @@ func testBuildFailure(t *testing.T, context spec.G, it spec.S) { )) }) }) -} +} \ No newline at end of file diff --git a/integration/rebuild_test.go b/integration/rebuild_test.go index b910860..c8dce70 100644 --- a/integration/rebuild_test.go +++ b/integration/rebuild_test.go @@ -61,7 +61,7 @@ func testRebuild(t *testing.T, context spec.G, it spec.S) { Expect(err).NotTo(HaveOccurred()) build := pack.Build. - WithPullPolicy("if-not-present"). + WithPullPolicy("never"). WithBuildpacks( settings.Buildpacks.GoDist.Online, settings.Buildpacks.GoBuild.Online, @@ -100,7 +100,7 @@ func testRebuild(t *testing.T, context spec.G, it spec.S) { Eventually(container).Should(BeAvailable()) - //Expect(secondImage.Buildpacks[1].Layers["targets"].SHA).To(Equal(firstImage.Buildpacks[1].Layers["targets"].SHA)) + Expect(secondImage.Buildpacks[1].Layers["targets"].SHA).To(Equal(firstImage.Buildpacks[1].Layers["targets"].SHA)) }) }) -} +} \ No newline at end of file diff --git a/integration/targets_test.go b/integration/targets_test.go index 17720e0..6854e38 100644 --- a/integration/targets_test.go +++ b/integration/targets_test.go @@ -68,7 +68,7 @@ func testTargets(t *testing.T, context spec.G, it spec.S) { var err error var logs fmt.Stringer image, logs, err = pack.Build. - WithPullPolicy("if-not-present"). + WithPullPolicy("never"). WithEnv(map[string]string{"BP_GO_TARGETS": "first:./second"}). WithBuildpacks( settings.Buildpacks.GoDist.Online, @@ -120,4 +120,4 @@ func testTargets(t *testing.T, context spec.G, it spec.S) { Expect(string(contents)).NotTo(ContainSubstring(`"name": "github.com/Masterminds/semver"`)) }) }) -} +} \ No newline at end of file diff --git a/integration/work_use_test.go b/integration/work_use_test.go index 71f0632..431ddb4 100644 --- a/integration/work_use_test.go +++ b/integration/work_use_test.go @@ -62,7 +62,7 @@ func testWorkUse(t *testing.T, context spec.G, it spec.S) { var logs fmt.Stringer image, logs, err = pack.Build. - WithPullPolicy("if-not-present"). + WithPullPolicy("never"). WithBuildpacks( settings.Buildpacks.GoDist.Online, settings.Buildpacks.GoBuild.Online, @@ -106,4 +106,4 @@ func testWorkUse(t *testing.T, context spec.G, it spec.S) { Expect(string(contents)).To(ContainSubstring(`"name": "github.com/sahilm/fuzzy"`)) }) }) -} +} \ No newline at end of file