mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
vendor: update buildkit to v0.19.0-rc2
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
3
vendor/github.com/moby/buildkit/util/testutil/workers/util.go
generated
vendored
3
vendor/github.com/moby/buildkit/util/testutil/workers/util.go
generated
vendored
@ -73,12 +73,13 @@ func runBuildkitd(
|
||||
address := getBuildkitdAddr(tmpdir)
|
||||
debugAddress := getBuildkitdDebugAddr(tmpdir)
|
||||
|
||||
args = append(args, "--root", tmpdir, "--addr", address, "--debugaddr", debugAddress, "--debug")
|
||||
args = append(args, "--root", tmpdir, "--addr", address, "--debug")
|
||||
cmd := exec.Command(args[0], args[1:]...) //nolint:gosec // test utility
|
||||
cmd.Env = append(
|
||||
os.Environ(),
|
||||
"BUILDKIT_DEBUG_EXEC_OUTPUT=1",
|
||||
"BUILDKIT_DEBUG_PANIC_ON_ERROR=1",
|
||||
"BUILDKITD_DEBUGADDR="+debugAddress,
|
||||
"TMPDIR="+filepath.Join(tmpdir, "tmp"))
|
||||
if v := os.Getenv("GO_TEST_COVERPROFILE"); v != "" {
|
||||
coverDir := filepath.Join(filepath.Dir(v), "helpers")
|
||||
|
Reference in New Issue
Block a user