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
Copy file name to clipboardExpand all lines: builder/builder-next/worker/worker.go
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,7 @@ import (
49
49
"github.com/pkg/errors"
50
50
"github.com/sirupsen/logrus"
51
51
bolt "go.etcd.io/bbolt"
52
+
"golang.org/x/sync/semaphore"
52
53
)
53
54
54
55
constlabelCreatedAt="buildkit/createdat"
@@ -189,13 +190,15 @@ func (w *Worker) LoadRef(ctx context.Context, id string, hidden bool) (cache.Imm
189
190
// ResolveOp converts a LLB vertex into a LLB operation
190
191
func (w*Worker) ResolveOp(v solver.Vertex, s frontend.FrontendLLBBridge, sm*session.Manager) (solver.Op, error) {
191
192
ifbaseOp, ok:=v.Sys().(*pb.Op); ok {
193
+
// TODO do we need to pass a value here? Where should it come from? https://github.com/moby/buildkit/commit/b3cf7c43cfefdfd7a945002c0e76b54e346ab6cf
assert.Error(t, err, "the --chmod option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/ to learn how to build images with BuildKit enabled")
assert.Error(t, err, "the --chmod option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/ to learn how to build images with BuildKit enabled")
591
610
})
592
611
593
612
t.Run("RUN with unsupported options", func(t*testing.T) {
// must trim "https://" or "http://" prefix
0 commit comments