integration-cli: remove deprecated buildImageSuccessfully utility

This was deprecated in 50c4475df6, which
introduced the cli test-utils package.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2025-10-05 17:25:15 +02:00
parent f739c61c69
commit 288b9f033b
22 changed files with 239 additions and 245 deletions

View File

@@ -175,7 +175,7 @@ func (s *DockerRegistrySuite) TestBuildByDigest(t *testing.T) {
// do the build
const name = "buildbydigest"
buildImageSuccessfully(t, name, build.WithDockerfile(fmt.Sprintf(
cli.BuildCmd(t, name, build.WithDockerfile(fmt.Sprintf(
`FROM %s
CMD ["/bin/echo", "Hello World"]`, imageReference)))
assert.NilError(t, err)
@@ -403,7 +403,7 @@ func (s *DockerRegistrySuite) TestPsListContainersFilterAncestorImageByDigest(t
// build an image from it
const imageName1 = "images_ps_filter_test"
buildImageSuccessfully(t, imageName1, build.WithDockerfile(fmt.Sprintf(
cli.BuildCmd(t, imageName1, build.WithDockerfile(fmt.Sprintf(
`FROM %s
LABEL match me 1`, imageReference)))