Skip to content

Commit

Permalink
Swapped docker image as whalesay is defunct
Browse files Browse the repository at this point in the history
Signed-off-by: David Gannon <[email protected]>
  • Loading branch information
dgannon991 committed Jan 13, 2025
1 parent c184344 commit 80e123f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,13 @@ func TestPushAndPullCNAB(t *testing.T) {

// Fetch service images
runCmd(t, icmd.Command("docker", "pull", "hashicorp/http-echo"))
// We are using whalesay because it has duplicate layers in the image
runCmd(t, icmd.Command("docker", "pull", "docker/whalesay"))
runCmd(t, icmd.Command("docker", "pull", "docker/compose"))
runCmd(t, icmd.Command("docker", "tag", "hashicorp/http-echo", serviceImageName))
runCmd(t, icmd.Command("docker", "tag", "docker/whalesay", whalesayImageName))
runCmd(t, icmd.Command("docker", "tag", "docker/compose", whalesayImageName))

// Tidy up my room
defer func() {
runCmd(t, icmd.Command("docker", "image", "rm", "-f", invocationImageName, "hashicorp/http-echo", serviceImageName, "docker/whalesay", whalesayImageName))
runCmd(t, icmd.Command("docker", "image", "rm", "-f", invocationImageName, "hashicorp/http-echo", serviceImageName, "docker/compose", whalesayImageName))
}()

// Push the images to the registry
Expand Down

0 comments on commit 80e123f

Please sign in to comment.