You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
skip.If(t, DaemonIsWindows, "Buildkit is not supported on Windows")
6206
-
6207
-
before:=time.Now()
6208
-
6209
-
b:=cli.Docker(cli.Args("build"),
6210
-
build.WithoutCache,
6211
-
build.WithDockerfile("FROM busybox\nRUN echo hi >/hello"),
6212
-
build.WithBuildkit(tc.buildkit),
6213
-
)
6214
-
b.Assert(t, icmd.Success)
6215
-
t.Log(b.Stdout())
6216
-
t.Log(b.Stderr())
6217
-
6218
-
cmd:=cli.Docker(
6219
-
cli.Args("events",
6220
-
"--filter", "action=create,type=image",
6221
-
"--since", before.Format(time.RFC3339),
6222
-
),
6223
-
cli.WithTimeout(time.Millisecond*300),
6224
-
cli.WithEnvironmentVariables("DOCKER_API_VERSION=v1.46"), // FIXME(thaJeztah): integration-cli runs docker CLI 17.06; we're "upgrading" the API version to a version it doesn't support here ;)
skip.If(t, DaemonIsWindows, "Buildkit is not supported on Windows")
6230
+
6231
+
time.Sleep(time.Second)
6232
+
before:=time.Now()
6233
+
6234
+
args:= []string{"build"}
6235
+
args=append(args, tc.args...)
6236
+
6237
+
b:=cli.Docker(cli.Args(args...),
6238
+
build.WithoutCache,
6239
+
build.WithDockerfile("FROM busybox\nRUN echo hi >/hello"),
6240
+
build.WithBuildkit(builder.buildkit),
6241
+
)
6242
+
b.Assert(t, icmd.Success)
6243
+
t.Log(b.Stdout())
6244
+
t.Log(b.Stderr())
6245
+
6246
+
cmd:=cli.Docker(
6247
+
cli.Args("events",
6248
+
"--filter", "type=image",
6249
+
"--since", before.Format(time.RFC3339),
6250
+
),
6251
+
cli.WithTimeout(time.Millisecond*300),
6252
+
cli.WithEnvironmentVariables("DOCKER_API_VERSION=v1.46"), // FIXME(thaJeztah): integration-cli runs docker CLI 17.06; we're "upgrading" the API version to a version it doesn't support here ;)
0 commit comments