mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-29 14:48:03 +08:00
tests: share single docker between docker-container backends
This means that we can run our docker-container tests in parallel again,
which can help speed up our test runs by a *significant* amount.
Signed-off-by: Justin Chadwell <me@jedevc.com>
(cherry picked from commit 601056f3a7
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:

committed by
Sebastiaan van Stijn

parent
0424ae14c0
commit
5657006c1f
@@ -42,7 +42,7 @@ func (c dockerWorker) New(ctx context.Context, cfg *integration.BackendConfig) (
|
||||
"--docker", "host="+bk.DockerAddress(),
|
||||
)
|
||||
if err := cmd.Run(); err != nil {
|
||||
return nil, cl, errors.Wrapf(err, "failed to create buildx instance %s", name)
|
||||
return bk, cl, errors.Wrapf(err, "failed to create buildx instance %s", name)
|
||||
}
|
||||
|
||||
cl = func() error {
|
||||
|
Reference in New Issue
Block a user