Skip to content

Commit

Permalink
Remove unused integration config and steps.
Browse files Browse the repository at this point in the history
- This was superseded by the introduction of testing against multiple
  builders, but was never removed.
  • Loading branch information
robdimsdale committed Oct 10, 2023
1 parent c8db4ff commit 8aa6c48
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 18 deletions.
2 changes: 0 additions & 2 deletions integration.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"go-dist": "github.com/paketo-buildpacks/go-dist",
"watchexec": "github.com/paketo-buildpacks/watchexec",
"tiny-builder": "paketobuildpacks/builder-jammy-buildpackless-tiny",
"tiny-run-image": "index.docker.io/paketobuildpacks/run-jammy-tiny",
"builders": [
"paketobuildpacks/builder-jammy-buildpackless-static",
"paketobuildpacks/builder-jammy-buildpackless-tiny",
Expand Down
3 changes: 1 addition & 2 deletions integration/default_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ func testDefault(t *testing.T, context spec.G, it spec.S) {
Expect(os.RemoveAll(source)).To(Succeed())
})

it("builds successfully and makes reloadable and non-reloadable process types available with the tiny builder", func() {
it("builds successfully and makes reloadable and non-reloadable process types available", func() {
var (
err error
logs fmt.Stringer
Expand All @@ -270,7 +270,6 @@ func testDefault(t *testing.T, context spec.G, it spec.S) {
settings.Buildpacks.GoDist.Online,
settings.Buildpacks.GoBuild.Online,
).
WithBuilder("paketobuildpacks/builder-jammy-buildpackless-tiny").
WithEnv(map[string]string{
"BP_LIVE_RELOAD_ENABLED": "true",
}).
Expand Down
16 changes: 2 additions & 14 deletions integration/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,8 @@ var settings struct {
Name string
}
Config struct {
GoDist string `json:"go-dist"`
Watchexec string `json:"watchexec"`
TinyBuilder string `json:"tiny-builder"`
TinyRunImage string `json:"tiny-run-image"`
GoDist string `json:"go-dist"`
Watchexec string `json:"watchexec"`
}
}

Expand Down Expand Up @@ -101,16 +99,6 @@ func TestIntegration(t *testing.T) {
Execute(settings.Config.Watchexec)
Expect(err).ToNot(HaveOccurred())

docker := occam.NewDocker()

t.Logf("Pulling image %s", settings.Config.TinyBuilder)
err = docker.Pull.Execute(settings.Config.TinyBuilder)
Expect(err).ToNot(HaveOccurred())

t.Logf("Pulling image %s", settings.Config.TinyRunImage)
err = docker.Pull.Execute(settings.Config.TinyRunImage)
Expect(err).ToNot(HaveOccurred())

builder, err = pack.Builder.Inspect.Execute()
Expect(err).NotTo(HaveOccurred())

Expand Down

0 comments on commit 8aa6c48

Please sign in to comment.