bake: use controller to build
With this change we are now passing a list of controller options to run a build and returns a map of responses and result context as bake can handle a list of targets. Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
11
bake/bake.go
11
bake/bake.go
@@ -15,7 +15,6 @@ import (
|
|||||||
composecli "github.com/compose-spec/compose-go/cli"
|
composecli "github.com/compose-spec/compose-go/cli"
|
||||||
"github.com/docker/buildx/bake/hclparser"
|
"github.com/docker/buildx/bake/hclparser"
|
||||||
"github.com/docker/buildx/build"
|
"github.com/docker/buildx/build"
|
||||||
cbuild "github.com/docker/buildx/controller/build"
|
|
||||||
controllerapi "github.com/docker/buildx/controller/pb"
|
controllerapi "github.com/docker/buildx/controller/pb"
|
||||||
"github.com/docker/buildx/util/buildflags"
|
"github.com/docker/buildx/util/buildflags"
|
||||||
hcl "github.com/hashicorp/hcl/v2"
|
hcl "github.com/hashicorp/hcl/v2"
|
||||||
@@ -908,18 +907,14 @@ func (t *Target) GetName(ectx *hcl.EvalContext, block *hcl.Block, loadDeps func(
|
|||||||
return value.AsString(), nil
|
return value.AsString(), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func TargetsToBuildOpt(m map[string]*Target, inp *Input) (map[string]build.Options, error) {
|
func TargetsToControllerOptions(m map[string]*Target, inp *Input) (map[string]controllerapi.BuildOptions, error) {
|
||||||
m2 := make(map[string]build.Options, len(m))
|
m2 := make(map[string]controllerapi.BuildOptions, len(m))
|
||||||
for k, v := range m {
|
for k, v := range m {
|
||||||
opts, err := toControllerOpt(v, inp)
|
opts, err := toControllerOpt(v, inp)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
bo, err := cbuild.ToBuildOpts(*opts, nil)
|
m2[k] = *opts
|
||||||
if err != nil {
|
|
||||||
return nil, err
|
|
||||||
}
|
|
||||||
m2[k] = *bo
|
|
||||||
}
|
}
|
||||||
return m2, nil
|
return m2, nil
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"github.com/docker/buildx/controller/pb"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -390,7 +391,7 @@ func TestHCLCwdPrefix(t *testing.T) {
|
|||||||
_, ok := m["app"]
|
_, ok := m["app"]
|
||||||
require.True(t, ok)
|
require.True(t, ok)
|
||||||
|
|
||||||
_, err = TargetsToBuildOpt(m, &Input{})
|
_, err = TargetsToControllerOptions(m, &Input{})
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
require.Equal(t, "test", *m["app"].Dockerfile)
|
require.Equal(t, "test", *m["app"].Dockerfile)
|
||||||
@@ -421,7 +422,7 @@ func TestOverrideMerge(t *testing.T) {
|
|||||||
_, ok := m["app"]
|
_, ok := m["app"]
|
||||||
require.True(t, ok)
|
require.True(t, ok)
|
||||||
|
|
||||||
_, err = TargetsToBuildOpt(m, &Input{})
|
_, err = TargetsToControllerOptions(m, &Input{})
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
require.Equal(t, []string{"linux/arm", "linux/ppc64le"}, m["app"].Platforms)
|
require.Equal(t, []string{"linux/arm", "linux/ppc64le"}, m["app"].Platforms)
|
||||||
@@ -456,7 +457,7 @@ func TestReadContexts(t *testing.T) {
|
|||||||
_, ok := m["app"]
|
_, ok := m["app"]
|
||||||
require.True(t, ok)
|
require.True(t, ok)
|
||||||
|
|
||||||
bo, err := TargetsToBuildOpt(m, &Input{})
|
bo, err := TargetsToControllerOptions(m, &Input{})
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
ctxs := bo["app"].Inputs.NamedContexts
|
ctxs := bo["app"].Inputs.NamedContexts
|
||||||
@@ -472,7 +473,7 @@ func TestReadContexts(t *testing.T) {
|
|||||||
_, ok = m["app"]
|
_, ok = m["app"]
|
||||||
require.True(t, ok)
|
require.True(t, ok)
|
||||||
|
|
||||||
bo, err = TargetsToBuildOpt(m, &Input{})
|
bo, err = TargetsToControllerOptions(m, &Input{})
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
ctxs = bo["app"].Inputs.NamedContexts
|
ctxs = bo["app"].Inputs.NamedContexts
|
||||||
@@ -490,7 +491,7 @@ func TestReadContexts(t *testing.T) {
|
|||||||
_, ok = m["app"]
|
_, ok = m["app"]
|
||||||
require.True(t, ok)
|
require.True(t, ok)
|
||||||
|
|
||||||
bo, err = TargetsToBuildOpt(m, &Input{})
|
bo, err = TargetsToControllerOptions(m, &Input{})
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
ctxs = bo["app"].Inputs.NamedContexts
|
ctxs = bo["app"].Inputs.NamedContexts
|
||||||
@@ -1325,7 +1326,7 @@ func TestHCLNullVars(t *testing.T) {
|
|||||||
_, ok := m["default"]
|
_, ok := m["default"]
|
||||||
require.True(t, ok)
|
require.True(t, ok)
|
||||||
|
|
||||||
_, err = TargetsToBuildOpt(m, &Input{})
|
_, err = TargetsToControllerOptions(m, &Input{})
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
require.Equal(t, map[string]*string{"bar": ptrstr("baz")}, m["default"].Args)
|
require.Equal(t, map[string]*string{"bar": ptrstr("baz")}, m["default"].Args)
|
||||||
require.Equal(t, map[string]*string{"com.docker.app.baz": ptrstr("foo")}, m["default"].Labels)
|
require.Equal(t, map[string]*string{"com.docker.app.baz": ptrstr("foo")}, m["default"].Labels)
|
||||||
@@ -1360,7 +1361,7 @@ func TestJSONNullVars(t *testing.T) {
|
|||||||
_, ok := m["default"]
|
_, ok := m["default"]
|
||||||
require.True(t, ok)
|
require.True(t, ok)
|
||||||
|
|
||||||
_, err = TargetsToBuildOpt(m, &Input{})
|
_, err = TargetsToControllerOptions(m, &Input{})
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
require.Equal(t, map[string]*string{"bar": ptrstr("baz")}, m["default"].Args)
|
require.Equal(t, map[string]*string{"bar": ptrstr("baz")}, m["default"].Args)
|
||||||
}
|
}
|
||||||
@@ -1432,21 +1433,34 @@ func TestAttestDuplicates(t *testing.T) {
|
|||||||
require.Equal(t, []string{"type=sbom,foo=bar", "type=provenance,mode=max"}, m["default"].Attest)
|
require.Equal(t, []string{"type=sbom,foo=bar", "type=provenance,mode=max"}, m["default"].Attest)
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
opts, err := TargetsToBuildOpt(m, &Input{})
|
opts, err := TargetsToControllerOptions(m, &Input{})
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
require.Equal(t, map[string]*string{
|
require.Equal(t, []*pb.Attest{
|
||||||
"sbom": ptrstr("type=sbom,foo=bar"),
|
{
|
||||||
"provenance": ptrstr("type=provenance,mode=max"),
|
Type: "sbom",
|
||||||
|
Attrs: "type=sbom,foo=bar",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
Type: "provenance",
|
||||||
|
Attrs: "type=provenance,mode=max",
|
||||||
|
},
|
||||||
}, opts["default"].Attests)
|
}, opts["default"].Attests)
|
||||||
|
|
||||||
m, _, err = ReadTargets(ctx, []File{fp}, []string{"default"}, []string{"*.attest=type=sbom,disabled=true"}, nil)
|
m, _, err = ReadTargets(ctx, []File{fp}, []string{"default"}, []string{"*.attest=type=sbom,disabled=true"}, nil)
|
||||||
require.Equal(t, []string{"type=sbom,disabled=true", "type=provenance,mode=max"}, m["default"].Attest)
|
require.Equal(t, []string{"type=sbom,disabled=true", "type=provenance,mode=max"}, m["default"].Attest)
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
opts, err = TargetsToBuildOpt(m, &Input{})
|
opts, err = TargetsToControllerOptions(m, &Input{})
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
require.Equal(t, map[string]*string{
|
require.Equal(t, []*pb.Attest{
|
||||||
"sbom": nil,
|
{
|
||||||
"provenance": ptrstr("type=provenance,mode=max"),
|
Type: "sbom",
|
||||||
|
Disabled: true,
|
||||||
|
Attrs: "type=sbom,disabled=true",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
Type: "provenance",
|
||||||
|
Attrs: "type=provenance,mode=max",
|
||||||
|
},
|
||||||
}, opts["default"].Attests)
|
}, opts["default"].Attests)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -668,7 +668,7 @@ func Build(ctx context.Context, nodes []builder.Node, opt map[string]Options, do
|
|||||||
return BuildWithResultHandler(ctx, nodes, opt, docker, configDir, w, nil)
|
return BuildWithResultHandler(ctx, nodes, opt, docker, configDir, w, nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
func BuildWithResultHandler(ctx context.Context, nodes []builder.Node, opt map[string]Options, docker *dockerutil.Client, configDir string, w progress.Writer, resultHandleFunc func(driverIndex int, rCtx *ResultHandle)) (resp map[string]*client.SolveResponse, err error) {
|
func BuildWithResultHandler(ctx context.Context, nodes []builder.Node, opt map[string]Options, docker *dockerutil.Client, configDir string, w progress.Writer, resultHandleFunc func(target string, rCtx *ResultHandle)) (resp map[string]*client.SolveResponse, err error) {
|
||||||
if len(nodes) == 0 {
|
if len(nodes) == 0 {
|
||||||
return nil, errors.Errorf("driver required for build")
|
return nil, errors.Errorf("driver required for build")
|
||||||
}
|
}
|
||||||
@@ -938,7 +938,7 @@ func BuildWithResultHandler(ctx context.Context, nodes []builder.Node, opt map[s
|
|||||||
if resultHandleFunc != nil {
|
if resultHandleFunc != nil {
|
||||||
var resultHandle *ResultHandle
|
var resultHandle *ResultHandle
|
||||||
resultHandle, rr, err = NewResultHandle(ctx, cc, so, "buildx", buildFunc, ch)
|
resultHandle, rr, err = NewResultHandle(ctx, cc, so, "buildx", buildFunc, ch)
|
||||||
resultHandleFunc(dp.driverIndex, resultHandle)
|
resultHandleFunc(k, resultHandle)
|
||||||
} else {
|
} else {
|
||||||
rr, err = c.Build(ctx, so, "buildx", buildFunc, ch)
|
rr, err = c.Build(ctx, so, "buildx", buildFunc, ch)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,11 +11,11 @@ import (
|
|||||||
"github.com/docker/buildx/bake"
|
"github.com/docker/buildx/bake"
|
||||||
"github.com/docker/buildx/build"
|
"github.com/docker/buildx/build"
|
||||||
"github.com/docker/buildx/builder"
|
"github.com/docker/buildx/builder"
|
||||||
|
cbuild "github.com/docker/buildx/controller/build"
|
||||||
|
controllerapi "github.com/docker/buildx/controller/pb"
|
||||||
"github.com/docker/buildx/util/buildflags"
|
"github.com/docker/buildx/util/buildflags"
|
||||||
"github.com/docker/buildx/util/cobrautil/completion"
|
"github.com/docker/buildx/util/cobrautil/completion"
|
||||||
"github.com/docker/buildx/util/confutil"
|
|
||||||
"github.com/docker/buildx/util/desktop"
|
"github.com/docker/buildx/util/desktop"
|
||||||
"github.com/docker/buildx/util/dockerutil"
|
|
||||||
"github.com/docker/buildx/util/progress"
|
"github.com/docker/buildx/util/progress"
|
||||||
"github.com/docker/buildx/util/tracing"
|
"github.com/docker/buildx/util/tracing"
|
||||||
"github.com/docker/cli/cli/command"
|
"github.com/docker/cli/cli/command"
|
||||||
@@ -31,10 +31,8 @@ type bakeOptions struct {
|
|||||||
sbom string
|
sbom string
|
||||||
provenance string
|
provenance string
|
||||||
|
|
||||||
builder string
|
controllerapi.CommonOptions
|
||||||
metadataFile string
|
//control.ControlOptions
|
||||||
exportPush bool
|
|
||||||
exportLoad bool
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func runBake(dockerCli command.Cli, targets []string, in bakeOptions, cFlags commonFlags) (err error) {
|
func runBake(dockerCli command.Cli, targets []string, in bakeOptions, cFlags commonFlags) (err error) {
|
||||||
@@ -69,12 +67,12 @@ func runBake(dockerCli command.Cli, targets []string, in bakeOptions, cFlags com
|
|||||||
}
|
}
|
||||||
|
|
||||||
overrides := in.overrides
|
overrides := in.overrides
|
||||||
if in.exportPush {
|
if in.ExportPush {
|
||||||
if in.exportLoad {
|
if in.ExportLoad {
|
||||||
return errors.Errorf("push and load may not be set together at the moment")
|
return errors.Errorf("push and load may not be set together at the moment")
|
||||||
}
|
}
|
||||||
overrides = append(overrides, "*.push=true")
|
overrides = append(overrides, "*.push=true")
|
||||||
} else if in.exportLoad {
|
} else if in.ExportLoad {
|
||||||
overrides = append(overrides, "*.output=type=docker")
|
overrides = append(overrides, "*.output=type=docker")
|
||||||
}
|
}
|
||||||
if cFlags.noCache != nil {
|
if cFlags.noCache != nil {
|
||||||
@@ -102,7 +100,7 @@ func runBake(dockerCli command.Cli, targets []string, in bakeOptions, cFlags com
|
|||||||
// instance only needed for reading remote bake files or building
|
// instance only needed for reading remote bake files or building
|
||||||
if url != "" || !in.printOnly {
|
if url != "" || !in.printOnly {
|
||||||
b, err := builder.New(dockerCli,
|
b, err := builder.New(dockerCli,
|
||||||
builder.WithName(in.builder),
|
builder.WithName(in.Builder),
|
||||||
builder.WithContextPathHash(contextPathHash),
|
builder.WithContextPathHash(contextPathHash),
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -176,11 +174,19 @@ func runBake(dockerCli command.Cli, targets []string, in bakeOptions, cFlags com
|
|||||||
}
|
}
|
||||||
|
|
||||||
// this function can update target context string from the input so call before printOnly check
|
// this function can update target context string from the input so call before printOnly check
|
||||||
bo, err := bake.TargetsToBuildOpt(tgts, inp)
|
opts, err := bake.TargetsToControllerOptions(tgts, inp)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// set builder name and context hash for all targets
|
||||||
|
updatedOpts := make(map[string]controllerapi.BuildOptions, len(opts))
|
||||||
|
for i, opt := range opts {
|
||||||
|
opt.Opts.Builder = in.Builder
|
||||||
|
opt.Inputs.ContextPathHash = contextPathHash
|
||||||
|
updatedOpts[i] = opt
|
||||||
|
}
|
||||||
|
|
||||||
if in.printOnly {
|
if in.printOnly {
|
||||||
dt, err := json.MarshalIndent(struct {
|
dt, err := json.MarshalIndent(struct {
|
||||||
Group map[string]*bake.Group `json:"group,omitempty"`
|
Group map[string]*bake.Group `json:"group,omitempty"`
|
||||||
@@ -201,17 +207,17 @@ func runBake(dockerCli command.Cli, targets []string, in bakeOptions, cFlags com
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
resp, err := build.Build(ctx, nodes, bo, dockerutil.NewClient(dockerCli), confutil.ConfigDir(dockerCli), printer)
|
resp, _, err := cbuild.RunBuilds(ctx, dockerCli, updatedOpts, os.Stdin, printer, false)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return wrapBuildError(err, true)
|
return wrapBuildError(err, true)
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(in.metadataFile) > 0 {
|
if len(in.MetadataFile) > 0 {
|
||||||
dt := make(map[string]interface{})
|
dt := make(map[string]interface{})
|
||||||
for t, r := range resp {
|
for t, r := range resp {
|
||||||
dt[t] = decodeExporterResponse(r.ExporterResponse)
|
dt[t] = decodeExporterResponse(r.ExporterResponse)
|
||||||
}
|
}
|
||||||
if err := writeMetadataFile(in.metadataFile, dt); err != nil {
|
if err := writeMetadataFile(in.MetadataFile, dt); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -235,8 +241,8 @@ func bakeCmd(dockerCli command.Cli, rootOpts *rootOptions) *cobra.Command {
|
|||||||
if !cmd.Flags().Lookup("pull").Changed {
|
if !cmd.Flags().Lookup("pull").Changed {
|
||||||
cFlags.pull = nil
|
cFlags.pull = nil
|
||||||
}
|
}
|
||||||
options.builder = rootOpts.builder
|
options.Builder = rootOpts.builder
|
||||||
options.metadataFile = cFlags.metadataFile
|
options.MetadataFile = cFlags.metadataFile
|
||||||
// Other common flags (noCache, pull and progress) are processed in runBake function.
|
// Other common flags (noCache, pull and progress) are processed in runBake function.
|
||||||
return runBake(dockerCli, args, options, cFlags)
|
return runBake(dockerCli, args, options, cFlags)
|
||||||
},
|
},
|
||||||
@@ -246,9 +252,9 @@ func bakeCmd(dockerCli command.Cli, rootOpts *rootOptions) *cobra.Command {
|
|||||||
flags := cmd.Flags()
|
flags := cmd.Flags()
|
||||||
|
|
||||||
flags.StringArrayVarP(&options.files, "file", "f", []string{}, "Build definition file")
|
flags.StringArrayVarP(&options.files, "file", "f", []string{}, "Build definition file")
|
||||||
flags.BoolVar(&options.exportLoad, "load", false, `Shorthand for "--set=*.output=type=docker"`)
|
flags.BoolVar(&options.ExportLoad, "load", false, `Shorthand for "--set=*.output=type=docker"`)
|
||||||
flags.BoolVar(&options.printOnly, "print", false, "Print the options without building")
|
flags.BoolVar(&options.printOnly, "print", false, "Print the options without building")
|
||||||
flags.BoolVar(&options.exportPush, "push", false, `Shorthand for "--set=*.output=type=registry"`)
|
flags.BoolVar(&options.ExportPush, "push", false, `Shorthand for "--set=*.output=type=registry"`)
|
||||||
flags.StringVar(&options.sbom, "sbom", "", `Shorthand for "--set=*.attest=type=sbom"`)
|
flags.StringVar(&options.sbom, "sbom", "", `Shorthand for "--set=*.attest=type=sbom"`)
|
||||||
flags.StringVar(&options.provenance, "provenance", "", `Shorthand for "--set=*.attest=type=provenance"`)
|
flags.StringVar(&options.provenance, "provenance", "", `Shorthand for "--set=*.attest=type=provenance"`)
|
||||||
flags.StringArrayVar(&options.overrides, "set", nil, `Override target value (e.g., "targetpattern.key=value")`)
|
flags.StringArrayVar(&options.overrides, "set", nil, `Override target value (e.g., "targetpattern.key=value")`)
|
||||||
|
|||||||
@@ -94,8 +94,12 @@ func (o *buildOptions) toControllerOptions() (*controllerapi.BuildOptions, error
|
|||||||
var err error
|
var err error
|
||||||
|
|
||||||
inputs := controllerapi.Inputs{
|
inputs := controllerapi.Inputs{
|
||||||
ContextPath: o.contextPath,
|
ContextPath: o.contextPath,
|
||||||
DockerfileName: o.dockerfileName,
|
ContextPathHash: o.contextPath,
|
||||||
|
DockerfileName: o.dockerfileName,
|
||||||
|
}
|
||||||
|
if absContextPath, err := filepath.Abs(inputs.ContextPathHash); err == nil {
|
||||||
|
inputs.ContextPathHash = absContextPath
|
||||||
}
|
}
|
||||||
inputs.NamedContexts, err = buildflags.ParseContextNames(o.contexts)
|
inputs.NamedContexts, err = buildflags.ParseContextNames(o.contexts)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -218,13 +222,9 @@ func runBuild(dockerCli command.Cli, options buildOptions) (err error) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
contextPathHash := options.contextPath
|
|
||||||
if absContextPath, err := filepath.Abs(contextPathHash); err == nil {
|
|
||||||
contextPathHash = absContextPath
|
|
||||||
}
|
|
||||||
b, err := builder.New(dockerCli,
|
b, err := builder.New(dockerCli,
|
||||||
builder.WithName(options.Builder),
|
builder.WithName(options.Builder),
|
||||||
builder.WithContextPathHash(contextPathHash),
|
builder.WithContextPathHash(opts.Inputs.ContextPathHash),
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"io"
|
"io"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
@@ -27,6 +26,7 @@ import (
|
|||||||
"github.com/moby/buildkit/session/auth/authprovider"
|
"github.com/moby/buildkit/session/auth/authprovider"
|
||||||
"github.com/moby/buildkit/util/grpcerrors"
|
"github.com/moby/buildkit/util/grpcerrors"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"golang.org/x/sync/errgroup"
|
||||||
"google.golang.org/grpc/codes"
|
"google.golang.org/grpc/codes"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -38,19 +38,56 @@ const defaultTargetName = "default"
|
|||||||
// this function returns it in addition to the error (i.e. it does "return nil, res, err"). The caller can
|
// this function returns it in addition to the error (i.e. it does "return nil, res, err"). The caller can
|
||||||
// inspect the result and debug the cause of that error.
|
// inspect the result and debug the cause of that error.
|
||||||
func RunBuild(ctx context.Context, dockerCli command.Cli, in controllerapi.BuildOptions, inStream io.Reader, progress progress.Writer, generateResult bool) (*client.SolveResponse, *build.ResultHandle, error) {
|
func RunBuild(ctx context.Context, dockerCli command.Cli, in controllerapi.BuildOptions, inStream io.Reader, progress progress.Writer, generateResult bool) (*client.SolveResponse, *build.ResultHandle, error) {
|
||||||
opts, err := ToBuildOpts(in, inStream)
|
cResp, cRes, err := RunBuilds(ctx, dockerCli, map[string]controllerapi.BuildOptions{defaultTargetName: in}, inStream, progress, generateResult)
|
||||||
if err != nil {
|
var resp *client.SolveResponse
|
||||||
|
if v, ok := cResp[defaultTargetName]; ok {
|
||||||
|
resp = v
|
||||||
|
}
|
||||||
|
var res *build.ResultHandle
|
||||||
|
if v, ok := cRes[defaultTargetName]; ok {
|
||||||
|
res = v
|
||||||
|
}
|
||||||
|
return resp, res, err
|
||||||
|
}
|
||||||
|
|
||||||
|
// RunBuilds same as RunBuild but runs multiple builds.
|
||||||
|
func RunBuilds(ctx context.Context, dockerCli command.Cli, in map[string]controllerapi.BuildOptions, inStream io.Reader, progress progress.Writer, generateResult bool) (map[string]*client.SolveResponse, map[string]*build.ResultHandle, error) {
|
||||||
|
var err error
|
||||||
|
var builderName string
|
||||||
|
var contextPathHash string
|
||||||
|
|
||||||
|
opts := make(map[string]build.Options, len(in))
|
||||||
|
mu := sync.Mutex{}
|
||||||
|
eg, _ := errgroup.WithContext(ctx)
|
||||||
|
for t, o := range in {
|
||||||
|
func(t string, o controllerapi.BuildOptions) {
|
||||||
|
eg.Go(func() error {
|
||||||
|
opt, err := ToBuildOpts(o, inStream)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
mu.Lock()
|
||||||
|
opts[t] = *opt
|
||||||
|
// we assume that all the targets are using the same builder and
|
||||||
|
// context path hash. This assumption is currently valid but, we
|
||||||
|
// may need to revisit this in the future.
|
||||||
|
if builderName == "" {
|
||||||
|
builderName = o.Opts.Builder
|
||||||
|
}
|
||||||
|
if contextPathHash == "" {
|
||||||
|
contextPathHash = o.Inputs.ContextPathHash
|
||||||
|
}
|
||||||
|
mu.Unlock()
|
||||||
|
return nil
|
||||||
|
})
|
||||||
|
}(t, o)
|
||||||
|
}
|
||||||
|
if err := eg.Wait(); err != nil {
|
||||||
return nil, nil, err
|
return nil, nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
// key string used for kubernetes "sticky" mode
|
|
||||||
contextPathHash, err := filepath.Abs(in.Inputs.ContextPath)
|
|
||||||
if err != nil {
|
|
||||||
contextPathHash = in.Inputs.ContextPath
|
|
||||||
}
|
|
||||||
|
|
||||||
b, err := builder.New(dockerCli,
|
b, err := builder.New(dockerCli,
|
||||||
builder.WithName(in.Opts.Builder),
|
builder.WithName(builderName),
|
||||||
builder.WithContextPathHash(contextPathHash),
|
builder.WithContextPathHash(contextPathHash),
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -64,7 +101,7 @@ func RunBuild(ctx context.Context, dockerCli command.Cli, in controllerapi.Build
|
|||||||
return nil, nil, err
|
return nil, nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
resp, res, err := buildTargets(ctx, dockerCli, b.NodeGroup, nodes, map[string]build.Options{defaultTargetName: *opts}, progress, generateResult)
|
resp, res, err := buildTargets(ctx, dockerCli, b.NodeGroup, nodes, opts, progress, generateResult)
|
||||||
err = wrapBuildError(err, false)
|
err = wrapBuildError(err, false)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, nil, err
|
return nil, nil, err
|
||||||
@@ -216,19 +253,19 @@ func ToBuildOpts(in controllerapi.BuildOptions, inStream io.Reader) (*build.Opti
|
|||||||
// NOTE: When an error happens during the build and this function acquires the debuggable *build.ResultHandle,
|
// NOTE: When an error happens during the build and this function acquires the debuggable *build.ResultHandle,
|
||||||
// this function returns it in addition to the error (i.e. it does "return nil, res, err"). The caller can
|
// this function returns it in addition to the error (i.e. it does "return nil, res, err"). The caller can
|
||||||
// inspect the result and debug the cause of that error.
|
// inspect the result and debug the cause of that error.
|
||||||
func buildTargets(ctx context.Context, dockerCli command.Cli, ng *store.NodeGroup, nodes []builder.Node, opts map[string]build.Options, progress progress.Writer, generateResult bool) (*client.SolveResponse, *build.ResultHandle, error) {
|
func buildTargets(ctx context.Context, dockerCli command.Cli, ng *store.NodeGroup, nodes []builder.Node, opts map[string]build.Options, progress progress.Writer, generateResult bool) (map[string]*client.SolveResponse, map[string]*build.ResultHandle, error) {
|
||||||
var res *build.ResultHandle
|
var res map[string]*build.ResultHandle
|
||||||
var resp map[string]*client.SolveResponse
|
var resp map[string]*client.SolveResponse
|
||||||
var err error
|
var err error
|
||||||
if generateResult {
|
if generateResult {
|
||||||
var mu sync.Mutex
|
var mu sync.Mutex
|
||||||
var idx int
|
resp, err = build.BuildWithResultHandler(ctx, nodes, opts, dockerutil.NewClient(dockerCli), confutil.ConfigDir(dockerCli), progress, func(target string, gotRes *build.ResultHandle) {
|
||||||
resp, err = build.BuildWithResultHandler(ctx, nodes, opts, dockerutil.NewClient(dockerCli), confutil.ConfigDir(dockerCli), progress, func(driverIndex int, gotRes *build.ResultHandle) {
|
|
||||||
mu.Lock()
|
mu.Lock()
|
||||||
defer mu.Unlock()
|
defer mu.Unlock()
|
||||||
if res == nil || driverIndex < idx {
|
if res == nil {
|
||||||
idx, res = driverIndex, gotRes
|
res = make(map[string]*build.ResultHandle)
|
||||||
}
|
}
|
||||||
|
res[target] = gotRes
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
resp, err = build.Build(ctx, nodes, opts, dockerutil.NewClient(dockerCli), confutil.ConfigDir(dockerCli), progress)
|
resp, err = build.Build(ctx, nodes, opts, dockerutil.NewClient(dockerCli), confutil.ConfigDir(dockerCli), progress)
|
||||||
@@ -236,7 +273,7 @@ func buildTargets(ctx context.Context, dockerCli command.Cli, ng *store.NodeGrou
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, res, err
|
return nil, res, err
|
||||||
}
|
}
|
||||||
return resp[defaultTargetName], res, err
|
return resp, res, err
|
||||||
}
|
}
|
||||||
|
|
||||||
func wrapBuildError(err error, bake bool) error {
|
func wrapBuildError(err error, bake bool) error {
|
||||||
|
|||||||
@@ -273,10 +273,11 @@ func (m *BuildRequest) GetOptions() *BuildOptions {
|
|||||||
|
|
||||||
type Inputs struct {
|
type Inputs struct {
|
||||||
ContextPath string `protobuf:"bytes,1,opt,name=ContextPath,proto3" json:"ContextPath,omitempty"`
|
ContextPath string `protobuf:"bytes,1,opt,name=ContextPath,proto3" json:"ContextPath,omitempty"`
|
||||||
DockerfileName string `protobuf:"bytes,2,opt,name=DockerfileName,proto3" json:"DockerfileName,omitempty"`
|
ContextPathHash string `protobuf:"bytes,2,opt,name=ContextPathHash,proto3" json:"ContextPathHash,omitempty"`
|
||||||
DockerfileInline string `protobuf:"bytes,3,opt,name=DockerfileInline,proto3" json:"DockerfileInline,omitempty"`
|
DockerfileName string `protobuf:"bytes,3,opt,name=DockerfileName,proto3" json:"DockerfileName,omitempty"`
|
||||||
ContextDefinition *pb.Definition `protobuf:"bytes,4,opt,name=ContextDefinition,proto3" json:"ContextDefinition,omitempty"`
|
DockerfileInline string `protobuf:"bytes,4,opt,name=DockerfileInline,proto3" json:"DockerfileInline,omitempty"`
|
||||||
NamedContexts map[string]*NamedContext `protobuf:"bytes,5,rep,name=NamedContexts,proto3" json:"NamedContexts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
ContextDefinition *pb.Definition `protobuf:"bytes,5,opt,name=ContextDefinition,proto3" json:"ContextDefinition,omitempty"`
|
||||||
|
NamedContexts map[string]*NamedContext `protobuf:"bytes,6,rep,name=NamedContexts,proto3" json:"NamedContexts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
XXX_unrecognized []byte `json:"-"`
|
XXX_unrecognized []byte `json:"-"`
|
||||||
XXX_sizecache int32 `json:"-"`
|
XXX_sizecache int32 `json:"-"`
|
||||||
@@ -313,6 +314,13 @@ func (m *Inputs) GetContextPath() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (m *Inputs) GetContextPathHash() string {
|
||||||
|
if m != nil {
|
||||||
|
return m.ContextPathHash
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
func (m *Inputs) GetDockerfileName() string {
|
func (m *Inputs) GetDockerfileName() string {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.DockerfileName
|
return m.DockerfileName
|
||||||
@@ -2209,134 +2217,135 @@ func init() {
|
|||||||
func init() { proto.RegisterFile("controller.proto", fileDescriptor_ed7f10298fa1d90f) }
|
func init() { proto.RegisterFile("controller.proto", fileDescriptor_ed7f10298fa1d90f) }
|
||||||
|
|
||||||
var fileDescriptor_ed7f10298fa1d90f = []byte{
|
var fileDescriptor_ed7f10298fa1d90f = []byte{
|
||||||
// 2030 bytes of a gzipped FileDescriptorProto
|
// 2044 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0xdd, 0x72, 0xdb, 0xc6,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0xdd, 0x72, 0xdb, 0xc6,
|
||||||
0x15, 0x2e, 0x48, 0x8a, 0x3f, 0x87, 0xa2, 0x2c, 0x6f, 0x65, 0x0f, 0x82, 0xb8, 0x89, 0x0c, 0xdb,
|
0x15, 0x2e, 0x48, 0x8a, 0x3f, 0x87, 0xa2, 0x2c, 0x6f, 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0x37, 0x1b, 0x32, 0x80, 0x32, 0x32,
|
0x66, 0xa2, 0x6d, 0xa8, 0xc8, 0xc9, 0x19, 0x35, 0xab, 0xf7, 0x53, 0x12, 0xf1, 0x90, 0x05, 0xab,
|
||||||
0xf4, 0x16, 0x6a, 0xbb, 0x57, 0x21, 0x8d, 0x38, 0x33, 0xa1, 0x28, 0x01, 0x2a, 0x90, 0x5e, 0x40,
|
0x9d, 0x51, 0x48, 0xa7, 0xc1, 0xa9, 0x13, 0x12, 0x9f, 0x9b, 0x35, 0x19, 0x40, 0x29, 0x19, 0x7a,
|
||||||
0x33, 0xd0, 0x27, 0x00, 0xbb, 0x57, 0x3c, 0x72, 0xf7, 0xa8, 0x70, 0x7b, 0x53, 0x1e, 0x47, 0x4a,
|
0x0b, 0x95, 0xbd, 0xeb, 0x80, 0x86, 0x9c, 0x99, 0x90, 0x97, 0x2a, 0x15, 0x48, 0x2f, 0xa0, 0x19,
|
||||||
0x82, 0xba, 0x50, 0x3d, 0x70, 0xfb, 0xc4, 0x67, 0xe6, 0xb2, 0xd4, 0xed, 0xdc, 0xc1, 0xb1, 0x8a,
|
0xe8, 0x13, 0x80, 0xbd, 0x6b, 0x1e, 0x3a, 0xfb, 0x54, 0xb8, 0xbd, 0x2e, 0x8f, 0x23, 0x21, 0x41,
|
||||||
0xa0, 0x16, 0xd2, 0x6c, 0x91, 0x21, 0x8e, 0x08, 0xbf, 0xa4, 0xd1, 0xf8, 0x90, 0x0e, 0x89, 0xd9,
|
0x5d, 0x28, 0x1f, 0x3a, 0x7d, 0xe2, 0x31, 0x73, 0x55, 0xea, 0xb6, 0xef, 0xe0, 0x58, 0x45, 0x50,
|
||||||
0x52, 0x19, 0x22, 0x25, 0x42, 0xcf, 0xa1, 0x75, 0x44, 0x95, 0xf3, 0x3c, 0x9f, 0x93, 0xc8, 0x5c,
|
0x0b, 0x69, 0xb6, 0xc8, 0x25, 0xc7, 0x84, 0x5f, 0xd1, 0x70, 0x7c, 0x44, 0x87,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, 0x33,
|
0x86, 0xaa, 0x38, 0x21, 0x99, 0x7f, 0x3f, 0xa4, 0xce, 0xd0, 0x2c, 0x27, 0xbf, 0x0b, 0x89, 0x08,
|
||||||
0x75, 0x75, 0x65, 0x90, 0x5d, 0x87, 0x24, 0xf6, 0x94, 0x18, 0xa3, 0x6d, 0x58, 0xda, 0xe2, 0x3c,
|
0x94, 0x43, 0xd7, 0x1f, 0x93, 0xa1, 0x59, 0x91, 0xdf, 0xf4, 0xcc, 0xfa, 0xa7, 0x01, 0xf5, 0xc4,
|
||||||
0x12, 0x65, 0x5c, 0xc4, 0xe9, 0x17, 0xb7, 0x26, 0x00, 0x47, 0xc2, 0xd5, 0x15, 0x55, 0x54, 0x71,
|
0xd5, 0x95, 0x41, 0x36, 0x0b, 0x48, 0xe4, 0x29, 0x31, 0x46, 0x3b, 0xb0, 0xb2, 0xcd, 0x79, 0x28,
|
||||||
0x43, 0x77, 0x08, 0xe3, 0x5e, 0xe0, 0x4a, 0x77, 0xab, 0xa2, 0x9b, 0x16, 0x59, 0xaf, 0x01, 0x66,
|
0x0a, 0xbe, 0x88, 0xd3, 0x2f, 0x6e, 0x4d, 0x00, 0xb6, 0x84, 0xab, 0x2b, 0xaa, 0xa8, 0xe2, 0x86,
|
||||||
0xb4, 0x7b, 0x9d, 0xf6, 0x5f, 0x0d, 0x78, 0x38, 0x97, 0xe5, 0x16, 0x5a, 0xb2, 0x97, 0xb5, 0x64,
|
0xee, 0x12, 0xc6, 0x5d, 0xdf, 0x91, 0xee, 0x56, 0xe5, 0x39, 0x29, 0x6a, 0xbe, 0x06, 0x98, 0xd3,
|
||||||
0xf3, 0x8e, 0x19, 0x73, 0xde, 0x9e, 0xff, 0x63, 0xb7, 0x47, 0x50, 0x55, 0xa5, 0x65, 0xe1, 0x0e,
|
0xee, 0x75, 0xda, 0x7f, 0x33, 0xe0, 0xe1, 0x42, 0x96, 0x5b, 0x6a, 0xc9, 0x7e, 0xda, 0x92, 0xad,
|
||||||
0x2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ff, 0x36, 0xd2, 0x8a, 0x64, 0x9d, 0x17, 0xf7, 0x29, 0xa0, 0xae, 0xcf, 0x75,
|
||||||
0x75, 0xf2, 0x16, 0x41, 0xf0, 0x9e, 0x91, 0x48, 0xba, 0xa8, 0x81, 0xe5, 0x58, 0xe4, 0xeb, 0x23,
|
0xc8, 0x26, 0x24, 0x62, 0xa3, 0x9d, 0xc9, 0x50, 0x27, 0x7d, 0x31, 0x9c, 0x27, 0xef, 0xa2, 0x4e,
|
||||||
0x2a, 0xa5, 0xaa, 0xb7, 0xd0, 0x33, 0xa9, 0xef, 0x52, 0x35, 0x14, 0x42, 0xdf, 0xa5, 0xac, 0x42,
|
0xde, 0x22, 0x08, 0xde, 0x33, 0x12, 0xea, 0x97, 0xaf, 0x1c, 0x8b, 0x7c, 0x7d, 0x4c, 0xa5, 0x54,
|
||||||
0x47, 0x54, 0xc8, 0x54, 0x23, 0xa1, 0x26, 0x02, 0x77, 0xca, 0xaf, 0xcd, 0xba, 0x0a, 0xb5, 0x53,
|
0xf5, 0x16, 0x7a, 0x26, 0xf5, 0x5d, 0xa9, 0x86, 0x42, 0xe8, 0xbb, 0x92, 0x55, 0xe8, 0x98, 0x0a,
|
||||||
0x7e, 0x2d, 0x0a, 0x0a, 0xa6, 0xbe, 0xdf, 0x77, 0x07, 0x63, 0xf9, 0xb0, 0xa8, 0xe3, 0x64, 0x2e,
|
0x99, 0x6a, 0x24, 0xd4, 0x44, 0xe0, 0xce, 0xf8, 0xcc, 0xac, 0xaa, 0x50, 0x3b, 0xe3, 0x33, 0x51,
|
||||||
0x7a, 0x1f, 0xe1, 0x5d, 0xcf, 0xf5, 0x4d, 0x50, 0xbd, 0x8f, 0x9e, 0xda, 0x5b, 0xd0, 0x48, 0x82,
|
0x50, 0x30, 0xf5, 0xbc, 0xbe, 0x33, 0x18, 0xcb, 0x87, 0x45, 0x15, 0xc7, 0x73, 0xd1, 0xfb, 0x08,
|
||||||
0x42, 0xd4, 0xa8, 0xee, 0x50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0x71, 0x0b, 0x4a, 0xeb, 0x7d, 0x0f, 0x65, 0x15, 0x05, 0x28, 0x2b, 0xeb,
|
||||||
0xc8, 0x2e, 0x28, 0x7a, 0xfa, 0xc6, 0xe4, 0x39, 0x20, 0x53, 0x5f, 0x36, 0x0c, 0xf4, 0x03, 0x54,
|
0x25, 0xe3, 0xb6, 0xf9, 0x3c, 0x1f, 0xa4, 0x94, 0x7e, 0x69, 0x20, 0xac, 0x73, 0x22, 0xb2, 0x72,
|
||||||
0x55, 0x56, 0x43, 0xbf, 0x58, 0x4c, 0x88, 0xf5, 0x15, 0x7f, 0xde, 0x30, 0xbe, 0x34, 0xd0, 0x21,
|
0x8a, 0x9e, 0xbe, 0x31, 0x59, 0x0e, 0x48, 0xd5, 0x97, 0x96, 0x81, 0x7e, 0x80, 0xb2, 0xca, 0x6a,
|
||||||
0x54, 0x44, 0x39, 0x47, 0x39, 0xb5, 0x29, 0xd5, 0x0b, 0x58, 0x76, 0x11, 0x44, 0x7b, 0xf1, 0x27,
|
0xe8, 0x17, 0xcb, 0x09, 0x91, 0xbe, 0xfc, 0xcf, 0x2d, 0xe3, 0x4b, 0x03, 0x1d, 0x41, 0x49, 0x94,
|
||||||
0x80, 0x59, 0x53, 0x81, 0x72, 0xfe, 0x53, 0x99, 0xeb, 0x4e, 0xac, 0x8d, 0xdb, 0x81, 0x7a, 0x81,
|
0x73, 0x94, 0x51, 0x9b, 0x12, 0xbd, 0x40, 0xd3, 0xca, 0x83, 0x68, 0x2f, 0xfe, 0x04, 0x30, 0x6f,
|
||||||
0x43, 0x51, 0x51, 0xcf, 0x28, 0xca, 0xad, 0xa5, 0xc9, 0x35, 0xb2, 0xec, 0x22, 0x88, 0x56, 0x77,
|
0x2a, 0x50, 0xc6, 0x7f, 0x2a, 0x0b, 0xdd, 0x49, 0xb3, 0x75, 0x3b, 0x50, 0x2f, 0x70, 0x24, 0x2a,
|
||||||
0x0e, 0xad, 0xcc, 0xff, 0xd6, 0xe8, 0xf3, 0x7c, 0x23, 0x6f, 0xfe, 0x0d, 0x6e, 0xbd, 0xbc, 0x13,
|
0xea, 0x39, 0x45, 0x99, 0xb5, 0x34, 0xbe, 0x46, 0x4d, 0x2b, 0x0f, 0xa2, 0xd5, 0x5d, 0x40, 0x23,
|
||||||
0x56, 0xaf, 0xc4, 0xd3, 0x5d, 0x99, 0xfe, 0x8c, 0x9c, 0xdb, 0xec, 0xce, 0xfe, 0x07, 0x6d, 0xb5,
|
0xf5, 0x0f, 0x37, 0xfa, 0x3c, 0xdb, 0xc8, 0x9b, 0x7f, 0x98, 0x37, 0x5f, 0xde, 0x09, 0xab, 0x57,
|
||||||
0xef, 0x8c, 0x57, 0xab, 0x6e, 0x57, 0x7e, 0x53, 0x0a, 0xfb, 0xfd, 0xaa, 0xfc, 0x3b, 0xff, 0xeb,
|
0xe2, 0xc9, 0xae, 0x4c, 0x7f, 0x46, 0xf6, 0x6d, 0x76, 0xa7, 0xff, 0xad, 0x6e, 0xb6, 0xef, 0x8c,
|
||||||
0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x09, 0xb4, 0x4e, 0xa7, 0x9a, 0x18, 0x00, 0x00,
|
0x57, 0xab, 0xee, 0x94, 0x7e, 0x53, 0x08, 0xfa, 0xfd, 0xb2, 0xfc, 0xe3, 0xff, 0xeb, 0xff, 0x06,
|
||||||
|
0x00, 0x00, 0xff, 0xff, 0x6e, 0xde, 0x0e, 0xdf, 0xc4, 0x18, 0x00, 0x00,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
|
|||||||
@@ -49,10 +49,11 @@ message BuildRequest {
|
|||||||
|
|
||||||
message Inputs {
|
message Inputs {
|
||||||
string ContextPath = 1;
|
string ContextPath = 1;
|
||||||
string DockerfileName = 2;
|
string ContextPathHash = 2;
|
||||||
string DockerfileInline = 3;
|
string DockerfileName = 3;
|
||||||
pb.Definition ContextDefinition = 4;
|
string DockerfileInline = 4;
|
||||||
map<string, NamedContext> NamedContexts = 5;
|
pb.Definition ContextDefinition = 5;
|
||||||
|
map<string, NamedContext> NamedContexts = 6;
|
||||||
// io.Reader InStream = ???;
|
// io.Reader InStream = ???;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user