Skip to content

Commit

Permalink
integration: Rm offline build-plan cnb (#88)
Browse files Browse the repository at this point in the history
The build-plan cnb does not make remote calls or
has cached dependencies

Signed-off-by: Arjun Sreedharan <[email protected]>
  • Loading branch information
arjun024 authored Aug 13, 2020
1 parent 208f683 commit 96f2582
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
14 changes: 4 additions & 10 deletions integration/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ import (
)

var (
phpDistBuildpack string
offlinePhpDistBuildpack string
buildPlanBuildpack string
offlineBuildPlanBuildpack string
version string
phpDistBuildpack string
offlinePhpDistBuildpack string
buildPlanBuildpack string
version string

buildpackInfo struct {
Buildpack struct {
Expand Down Expand Up @@ -76,11 +75,6 @@ func TestIntegration(t *testing.T) {
Execute(config.BuildPlan)
Expect(err).ToNot(HaveOccurred())

offlineBuildPlanBuildpack, err = buildpackStore.Get.
WithOfflineDependencies().
Execute(config.BuildPlan)
Expect(err).ToNot(HaveOccurred())

SetDefaultEventuallyTimeout(5 * time.Second)

suite := spec.New("Integration", spec.Report(report.Terminal{}), spec.Parallel())
Expand Down
2 changes: 1 addition & 1 deletion integration/offline_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func testOffline(t *testing.T, context spec.G, it spec.S) {
WithNoPull().
WithBuildpacks(
offlinePhpDistBuildpack,
offlineBuildPlanBuildpack,
buildPlanBuildpack,
).
WithNetwork("none").
Execute(name, source)
Expand Down

0 comments on commit 96f2582

Please sign in to comment.