mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
tests: add unsupported features detection skeleton
Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:
@ -20,6 +20,8 @@ func InitDockerContainerWorker() {
|
||||
type containerWorker struct {
|
||||
id string
|
||||
|
||||
unsupported []string
|
||||
|
||||
docker integration.Backend
|
||||
dockerClose func() error
|
||||
dockerErr error
|
||||
@ -65,8 +67,9 @@ func (w *containerWorker) New(ctx context.Context, cfg *integration.BackendConfi
|
||||
}
|
||||
|
||||
return &backend{
|
||||
context: w.docker.DockerAddress(),
|
||||
builder: name,
|
||||
context: w.docker.DockerAddress(),
|
||||
builder: name,
|
||||
unsupportedFeatures: w.unsupported,
|
||||
}, cl, nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user