Skip to content

Commit

Permalink
use libpakBuildpackStore
Browse files Browse the repository at this point in the history
  • Loading branch information
Sophie Wigmore committed Jun 10, 2024
1 parent cbb4dab commit ed6f986
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ toolchain go1.21.0
require (
github.com/BurntSushi/toml v1.3.2
github.com/onsi/gomega v1.33.1
github.com/paketo-buildpacks/occam v0.18.6
github.com/paketo-buildpacks/occam v0.18.7
github.com/paketo-buildpacks/packit/v2 v2.14.0
github.com/sclevine/spec v1.4.0
)
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2553,8 +2553,8 @@ github.com/otiai10/curr v1.0.0/go.mod h1:LskTG5wDwr8Rs+nNQ+1LlxRjAtTZZjtJW4rMXl6
github.com/otiai10/mint v1.3.0/go.mod h1:F5AjcsTsWUqX+Na9fpHb52P8pcRX2CI6A3ctIT91xUo=
github.com/otiai10/mint v1.3.1/go.mod h1:/yxELlJQ0ufhjUwhshSj+wFjZ78CnZ48/1wtmBH1OTc=
github.com/pact-foundation/pact-go v1.0.4/go.mod h1:uExwJY4kCzNPcHRj+hCR/HBbOOIwwtUjcrb0b5/5kLM=
github.com/paketo-buildpacks/occam v0.18.6 h1:hNQ8x3ayb+xqU2+WtJoWCy2ds8M3da+zJKOiwgsmEls=
github.com/paketo-buildpacks/occam v0.18.6/go.mod h1:hrRRCUiRxaDUpgfnT4haCheYSilUYoClXegeoM7qpxA=
github.com/paketo-buildpacks/occam v0.18.7 h1:L5tl/JnzhSKecJ78ggR4SBz9AHqoVKCBJ0EoT8t6y84=
github.com/paketo-buildpacks/occam v0.18.7/go.mod h1:6V8muvg0TfB/7VKKio65DRC4PZXVDmBCtUjaPoDUCV8=
github.com/paketo-buildpacks/packit/v2 v2.6.1/go.mod h1:iBArWOfC5xZQF01o+zwnVKS+/hUBuFG+O1jCvzqBujs=
github.com/paketo-buildpacks/packit/v2 v2.14.0 h1:QqdZlK3kZlmVTJlMZ0YBmG3H02686M0GiQquDTvrySE=
github.com/paketo-buildpacks/packit/v2 v2.14.0/go.mod h1:OYBmLxWPUVrDB0ayrQAMF0cEQxmRZkU/mvFD13lm/GE=
Expand Down
4 changes: 3 additions & 1 deletion integration/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"github.com/BurntSushi/toml"
"github.com/onsi/gomega/format"
"github.com/paketo-buildpacks/occam"
"github.com/paketo-buildpacks/occam/packagers"
"github.com/sclevine/spec"
"github.com/sclevine/spec/report"

Expand Down Expand Up @@ -66,6 +67,7 @@ func TestIntegration(t *testing.T) {
Expect(err).ToNot(HaveOccurred())

buildpackStore := occam.NewBuildpackStore()
libpakBuildpackStore := occam.NewBuildpackStore().WithPackager(packagers.NewLibpak())

buildpack, err = buildpackStore.Get.
WithVersion("1.2.3").
Expand Down Expand Up @@ -109,7 +111,7 @@ func TestIntegration(t *testing.T) {
Execute(config.PhpFpm)
Expect(err).NotTo(HaveOccurred())

procfileBuildpack, err = buildpackStore.Get.
procfileBuildpack, err = libpakBuildpackStore.Get.
Execute(config.Procfile)
Expect(err).NotTo(HaveOccurred())

Expand Down

0 comments on commit ed6f986

Please sign in to comment.