mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Introduce a cli package for test-integration
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
@@ -15,6 +15,7 @@ import (
|
||||
"github.com/docker/distribution/reference"
|
||||
cliconfig "github.com/docker/docker/cli/config"
|
||||
"github.com/docker/docker/integration-cli/checker"
|
||||
"github.com/docker/docker/integration-cli/cli/build"
|
||||
"github.com/docker/docker/pkg/testutil"
|
||||
icmd "github.com/docker/docker/pkg/testutil/cmd"
|
||||
"github.com/go-check/check"
|
||||
@@ -161,7 +162,7 @@ func testConcurrentPush(c *check.C) {
|
||||
repos := []string{}
|
||||
for _, tag := range []string{"push1", "push2", "push3"} {
|
||||
repo := fmt.Sprintf("%v:%v", repoName, tag)
|
||||
buildImageSuccessfully(c, repo, withDockerfile(fmt.Sprintf(`
|
||||
buildImageSuccessfully(c, repo, build.WithDockerfile(fmt.Sprintf(`
|
||||
FROM busybox
|
||||
ENTRYPOINT ["/bin/echo"]
|
||||
ENV FOO foo
|
||||
|
||||
Reference in New Issue
Block a user