diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index 38666d35512..fc1863ac8c7 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -84,6 +84,8 @@ jobs:
endpoint: tcp://localhost:1234
- driver: docker-container
metadata-provenance: max
+ - driver: docker-container
+ metadata-status: max
exclude:
- driver: docker
multi-node: mnode-true
@@ -134,6 +136,9 @@ jobs:
if [ -n "${{ matrix.metadata-provenance }}" ]; then
echo "BUILDX_METADATA_PROVENANCE=${{ matrix.metadata-provenance }}" >> $GITHUB_ENV
fi
+ if [ -n "${{ matrix.metadata-status }}" ]; then
+ echo "BUILDX_METADATA_STATUS=${{ matrix.metadata-status }}" >> $GITHUB_ENV
+ fi
-
name: Install k3s
if: matrix.driver == 'kubernetes'
diff --git a/build/build.go b/build/build.go
index 39174c9028c..7c75ed5dc94 100644
--- a/build/build.go
+++ b/build/build.go
@@ -79,12 +79,12 @@ type Options struct {
Target string
Ulimits *opts.UlimitOpt
- Session []session.Attachable
- Linked bool // Linked marks this target as exclusively linked (not requested by the user).
- PrintFunc *PrintFunc
- WithProvenanceResponse bool
- SourcePolicy *spb.Policy
- GroupRef string
+ Session []session.Attachable
+ Linked bool // Linked marks this target as exclusively linked (not requested by the user).
+ PrintFunc *PrintFunc
+ WithDetailedResponse bool
+ SourcePolicy *spb.Policy
+ GroupRef string
}
type PrintFunc struct {
@@ -473,8 +473,8 @@ func BuildWithResultHandler(ctx context.Context, nodes []builder.Node, opt map[s
rr.ExporterResponse[k] = string(v)
}
rr.ExporterResponse["buildx.build.ref"] = buildRef
- if opt.WithProvenanceResponse && node.Driver.HistoryAPISupported(ctx) {
- if err := setRecordProvenance(ctx, c, rr, so.Ref, pw); err != nil {
+ if opt.WithDetailedResponse && node.Driver.HistoryAPISupported(ctx) {
+ if err := setRecordMetadata(ctx, c, rr, so.Ref, pw); err != nil {
return err
}
}
diff --git a/build/provenance.go b/build/record.go
similarity index 68%
rename from build/provenance.go
rename to build/record.go
index 9f6047e2aa6..4bb635f3fa1 100644
--- a/build/provenance.go
+++ b/build/record.go
@@ -20,6 +20,26 @@ import (
"golang.org/x/sync/errgroup"
)
+func setRecordMetadata(ctx context.Context, c *client.Client, sr *client.SolveResponse, ref string, pw progress.Writer) error {
+ var mu sync.Mutex
+
+ cb := func(key string, value string) {
+ mu.Lock()
+ defer mu.Unlock()
+ sr.ExporterResponse[key] = value
+ }
+
+ eg, ctx := errgroup.WithContext(ctx)
+ eg.Go(func() error {
+ return setRecordProvenance(ctx, c, ref, cb, pw)
+ })
+ eg.Go(func() error {
+ return setRecordStatus(ctx, c, ref, cb, pw)
+ })
+
+ return eg.Wait()
+}
+
type provenancePredicate struct {
Builder *provenanceBuilder `json:"builder,omitempty"`
provenancetypes.ProvenancePredicate
@@ -29,7 +49,7 @@ type provenanceBuilder struct {
ID string `json:"id,omitempty"`
}
-func setRecordProvenance(ctx context.Context, c *client.Client, sr *client.SolveResponse, ref string, pw progress.Writer) error {
+func setRecordProvenance(ctx context.Context, c *client.Client, ref string, updateExporterResponse func(key string, value string), pw progress.Writer) error {
mode := confutil.MetadataProvenance()
if mode == confutil.MetadataProvenanceModeDisabled {
return nil
@@ -41,7 +61,7 @@ func setRecordProvenance(ctx context.Context, c *client.Client, sr *client.Solve
return err
}
for k, v := range res {
- sr.ExporterResponse[k] = v
+ updateExporterResponse(k, v)
}
return nil
})
@@ -155,3 +175,51 @@ func encodeProvenance(dt []byte, mode confutil.MetadataProvenanceMode) (string,
}
return base64.StdEncoding.EncodeToString(dtprv), nil
}
+
+func setRecordStatus(ctx context.Context, c *client.Client, ref string, updateExporterResponse func(key string, value string), pw progress.Writer) error {
+ mode := confutil.MetadataStatus()
+ if mode == confutil.MetadataStatusModeDisabled {
+ return nil
+ }
+ pw = progress.ResetTime(pw)
+ return progress.Wrap("resolving status for metadata file", pw.Write, func(l progress.SubLogger) error {
+ status, err := fetchStatus(ctx, c, ref)
+ if err != nil {
+ return err
+ } else if status == nil {
+ return nil
+ }
+
+ if mode == confutil.MetadataStatusModeWarnings {
+ // we just want warnings
+ status.Vertexes = nil
+ status.Statuses = nil
+ status.Logs = nil
+ }
+
+ dt, err := json.Marshal(status)
+ if err != nil {
+ return errors.Wrapf(err, "failed to marshal status")
+ }
+
+ updateExporterResponse("buildx.build.status", base64.StdEncoding.EncodeToString(dt))
+ return nil
+ })
+}
+
+func fetchStatus(ctx context.Context, c *client.Client, ref string) (*client.SolveStatus, error) {
+ cl, err := c.ControlClient().Status(ctx, &controlapi.StatusRequest{
+ Ref: ref,
+ })
+ if err != nil {
+ return nil, err
+ }
+ resp, err := cl.Recv()
+ if err != nil {
+ if err == io.EOF {
+ return nil, nil
+ }
+ return nil, errors.Wrap(err, "failed to receive status")
+ }
+ return client.NewSolveStatus(resp), nil
+}
diff --git a/commands/bake.go b/commands/bake.go
index cb23066f628..db613253a02 100644
--- a/commands/bake.go
+++ b/commands/bake.go
@@ -207,7 +207,7 @@ func runBake(ctx context.Context, dockerCli command.Cli, targets []string, in ba
for k, b := range bo {
b.Ref = identity.NewID()
b.GroupRef = groupRef
- b.WithProvenanceResponse = len(in.metadataFile) > 0
+ b.WithDetailedResponse = len(in.metadataFile) > 0
refs = append(refs, b.Ref)
bo[k] = b
}
diff --git a/commands/build.go b/commands/build.go
index 9cf344040f9..47d348947f8 100644
--- a/commands/build.go
+++ b/commands/build.go
@@ -206,7 +206,7 @@ func (o *buildOptions) toControllerOptions() (*controllerapi.BuildOptions, error
return nil, err
}
- opts.WithProvenanceResponse = opts.PrintFunc == nil && len(o.metadataFile) > 0
+ opts.WithDetailedResponse = opts.PrintFunc == nil && len(o.metadataFile) > 0
return &opts, nil
}
diff --git a/controller/build/build.go b/controller/build/build.go
index 1cae9b6c70d..de5252640ac 100644
--- a/controller/build/build.go
+++ b/controller/build/build.go
@@ -53,21 +53,21 @@ func RunBuild(ctx context.Context, dockerCli command.Cli, in controllerapi.Build
InStream: inStream,
NamedContexts: contexts,
},
- Ref: in.Ref,
- BuildArgs: in.BuildArgs,
- CgroupParent: in.CgroupParent,
- ExtraHosts: in.ExtraHosts,
- Labels: in.Labels,
- NetworkMode: in.NetworkMode,
- NoCache: in.NoCache,
- NoCacheFilter: in.NoCacheFilter,
- Pull: in.Pull,
- ShmSize: dockeropts.MemBytes(in.ShmSize),
- Tags: in.Tags,
- Target: in.Target,
- Ulimits: controllerUlimitOpt2DockerUlimit(in.Ulimits),
- GroupRef: in.GroupRef,
- WithProvenanceResponse: in.WithProvenanceResponse,
+ Ref: in.Ref,
+ BuildArgs: in.BuildArgs,
+ CgroupParent: in.CgroupParent,
+ ExtraHosts: in.ExtraHosts,
+ Labels: in.Labels,
+ NetworkMode: in.NetworkMode,
+ NoCache: in.NoCache,
+ NoCacheFilter: in.NoCacheFilter,
+ Pull: in.Pull,
+ ShmSize: dockeropts.MemBytes(in.ShmSize),
+ Tags: in.Tags,
+ Target: in.Target,
+ Ulimits: controllerUlimitOpt2DockerUlimit(in.Ulimits),
+ GroupRef: in.GroupRef,
+ WithDetailedResponse: in.WithDetailedResponse,
}
platforms, err := platformutil.Parse(in.Platforms)
diff --git a/controller/pb/controller.pb.go b/controller/pb/controller.pb.go
index a671b03a1b5..7090f4fab2b 100644
--- a/controller/pb/controller.pb.go
+++ b/controller/pb/controller.pb.go
@@ -271,41 +271,41 @@ func (m *BuildRequest) GetOptions() *BuildOptions {
}
type BuildOptions struct {
- ContextPath string `protobuf:"bytes,1,opt,name=ContextPath,proto3" json:"ContextPath,omitempty"`
- DockerfileName string `protobuf:"bytes,2,opt,name=DockerfileName,proto3" json:"DockerfileName,omitempty"`
- PrintFunc *PrintFunc `protobuf:"bytes,3,opt,name=PrintFunc,proto3" json:"PrintFunc,omitempty"`
- NamedContexts map[string]string `protobuf:"bytes,4,rep,name=NamedContexts,proto3" json:"NamedContexts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- Allow []string `protobuf:"bytes,5,rep,name=Allow,proto3" json:"Allow,omitempty"`
- Attests []*Attest `protobuf:"bytes,6,rep,name=Attests,proto3" json:"Attests,omitempty"`
- BuildArgs map[string]string `protobuf:"bytes,7,rep,name=BuildArgs,proto3" json:"BuildArgs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- CacheFrom []*CacheOptionsEntry `protobuf:"bytes,8,rep,name=CacheFrom,proto3" json:"CacheFrom,omitempty"`
- CacheTo []*CacheOptionsEntry `protobuf:"bytes,9,rep,name=CacheTo,proto3" json:"CacheTo,omitempty"`
- CgroupParent string `protobuf:"bytes,10,opt,name=CgroupParent,proto3" json:"CgroupParent,omitempty"`
- Exports []*ExportEntry `protobuf:"bytes,11,rep,name=Exports,proto3" json:"Exports,omitempty"`
- ExtraHosts []string `protobuf:"bytes,12,rep,name=ExtraHosts,proto3" json:"ExtraHosts,omitempty"`
- Labels map[string]string `protobuf:"bytes,13,rep,name=Labels,proto3" json:"Labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- NetworkMode string `protobuf:"bytes,14,opt,name=NetworkMode,proto3" json:"NetworkMode,omitempty"`
- NoCacheFilter []string `protobuf:"bytes,15,rep,name=NoCacheFilter,proto3" json:"NoCacheFilter,omitempty"`
- Platforms []string `protobuf:"bytes,16,rep,name=Platforms,proto3" json:"Platforms,omitempty"`
- Secrets []*Secret `protobuf:"bytes,17,rep,name=Secrets,proto3" json:"Secrets,omitempty"`
- ShmSize int64 `protobuf:"varint,18,opt,name=ShmSize,proto3" json:"ShmSize,omitempty"`
- SSH []*SSH `protobuf:"bytes,19,rep,name=SSH,proto3" json:"SSH,omitempty"`
- Tags []string `protobuf:"bytes,20,rep,name=Tags,proto3" json:"Tags,omitempty"`
- Target string `protobuf:"bytes,21,opt,name=Target,proto3" json:"Target,omitempty"`
- Ulimits *UlimitOpt `protobuf:"bytes,22,opt,name=Ulimits,proto3" json:"Ulimits,omitempty"`
- Builder string `protobuf:"bytes,23,opt,name=Builder,proto3" json:"Builder,omitempty"`
- NoCache bool `protobuf:"varint,24,opt,name=NoCache,proto3" json:"NoCache,omitempty"`
- Pull bool `protobuf:"varint,25,opt,name=Pull,proto3" json:"Pull,omitempty"`
- ExportPush bool `protobuf:"varint,26,opt,name=ExportPush,proto3" json:"ExportPush,omitempty"`
- ExportLoad bool `protobuf:"varint,27,opt,name=ExportLoad,proto3" json:"ExportLoad,omitempty"`
- SourcePolicy *pb.Policy `protobuf:"bytes,28,opt,name=SourcePolicy,proto3" json:"SourcePolicy,omitempty"`
- Ref string `protobuf:"bytes,29,opt,name=Ref,proto3" json:"Ref,omitempty"`
- GroupRef string `protobuf:"bytes,30,opt,name=GroupRef,proto3" json:"GroupRef,omitempty"`
- Annotations []string `protobuf:"bytes,31,rep,name=Annotations,proto3" json:"Annotations,omitempty"`
- WithProvenanceResponse bool `protobuf:"varint,32,opt,name=WithProvenanceResponse,proto3" json:"WithProvenanceResponse,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ ContextPath string `protobuf:"bytes,1,opt,name=ContextPath,proto3" json:"ContextPath,omitempty"`
+ DockerfileName string `protobuf:"bytes,2,opt,name=DockerfileName,proto3" json:"DockerfileName,omitempty"`
+ PrintFunc *PrintFunc `protobuf:"bytes,3,opt,name=PrintFunc,proto3" json:"PrintFunc,omitempty"`
+ NamedContexts map[string]string `protobuf:"bytes,4,rep,name=NamedContexts,proto3" json:"NamedContexts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ Allow []string `protobuf:"bytes,5,rep,name=Allow,proto3" json:"Allow,omitempty"`
+ Attests []*Attest `protobuf:"bytes,6,rep,name=Attests,proto3" json:"Attests,omitempty"`
+ BuildArgs map[string]string `protobuf:"bytes,7,rep,name=BuildArgs,proto3" json:"BuildArgs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ CacheFrom []*CacheOptionsEntry `protobuf:"bytes,8,rep,name=CacheFrom,proto3" json:"CacheFrom,omitempty"`
+ CacheTo []*CacheOptionsEntry `protobuf:"bytes,9,rep,name=CacheTo,proto3" json:"CacheTo,omitempty"`
+ CgroupParent string `protobuf:"bytes,10,opt,name=CgroupParent,proto3" json:"CgroupParent,omitempty"`
+ Exports []*ExportEntry `protobuf:"bytes,11,rep,name=Exports,proto3" json:"Exports,omitempty"`
+ ExtraHosts []string `protobuf:"bytes,12,rep,name=ExtraHosts,proto3" json:"ExtraHosts,omitempty"`
+ Labels map[string]string `protobuf:"bytes,13,rep,name=Labels,proto3" json:"Labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ NetworkMode string `protobuf:"bytes,14,opt,name=NetworkMode,proto3" json:"NetworkMode,omitempty"`
+ NoCacheFilter []string `protobuf:"bytes,15,rep,name=NoCacheFilter,proto3" json:"NoCacheFilter,omitempty"`
+ Platforms []string `protobuf:"bytes,16,rep,name=Platforms,proto3" json:"Platforms,omitempty"`
+ Secrets []*Secret `protobuf:"bytes,17,rep,name=Secrets,proto3" json:"Secrets,omitempty"`
+ ShmSize int64 `protobuf:"varint,18,opt,name=ShmSize,proto3" json:"ShmSize,omitempty"`
+ SSH []*SSH `protobuf:"bytes,19,rep,name=SSH,proto3" json:"SSH,omitempty"`
+ Tags []string `protobuf:"bytes,20,rep,name=Tags,proto3" json:"Tags,omitempty"`
+ Target string `protobuf:"bytes,21,opt,name=Target,proto3" json:"Target,omitempty"`
+ Ulimits *UlimitOpt `protobuf:"bytes,22,opt,name=Ulimits,proto3" json:"Ulimits,omitempty"`
+ Builder string `protobuf:"bytes,23,opt,name=Builder,proto3" json:"Builder,omitempty"`
+ NoCache bool `protobuf:"varint,24,opt,name=NoCache,proto3" json:"NoCache,omitempty"`
+ Pull bool `protobuf:"varint,25,opt,name=Pull,proto3" json:"Pull,omitempty"`
+ ExportPush bool `protobuf:"varint,26,opt,name=ExportPush,proto3" json:"ExportPush,omitempty"`
+ ExportLoad bool `protobuf:"varint,27,opt,name=ExportLoad,proto3" json:"ExportLoad,omitempty"`
+ SourcePolicy *pb.Policy `protobuf:"bytes,28,opt,name=SourcePolicy,proto3" json:"SourcePolicy,omitempty"`
+ Ref string `protobuf:"bytes,29,opt,name=Ref,proto3" json:"Ref,omitempty"`
+ GroupRef string `protobuf:"bytes,30,opt,name=GroupRef,proto3" json:"GroupRef,omitempty"`
+ Annotations []string `protobuf:"bytes,31,rep,name=Annotations,proto3" json:"Annotations,omitempty"`
+ WithDetailedResponse bool `protobuf:"varint,32,opt,name=WithDetailedResponse,proto3" json:"WithDetailedResponse,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
}
func (m *BuildOptions) Reset() { *m = BuildOptions{} }
@@ -549,9 +549,9 @@ func (m *BuildOptions) GetAnnotations() []string {
return nil
}
-func (m *BuildOptions) GetWithProvenanceResponse() bool {
+func (m *BuildOptions) GetWithDetailedResponse() bool {
if m != nil {
- return m.WithProvenanceResponse
+ return m.WithDetailedResponse
}
return false
}
@@ -2094,130 +2094,130 @@ func init() {
func init() { proto.RegisterFile("controller.proto", fileDescriptor_ed7f10298fa1d90f) }
var fileDescriptor_ed7f10298fa1d90f = []byte{
- // 1960 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0x5f, 0x73, 0x1b, 0x49,
- 0x11, 0x67, 0x25, 0x59, 0x7f, 0x5a, 0x96, 0xcf, 0x19, 0x9c, 0x30, 0xd9, 0xe4, 0x12, 0x67, 0x93,
- 0x1c, 0x2a, 0x42, 0xc9, 0x77, 0x3e, 0x72, 0xb9, 0x5c, 0xee, 0xaa, 0xb0, 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x26, 0x04, 0xdb, 0x59, 0x06, 0x31, 0x51, 0xfc, 0x11, 0x60, 0x36, 0x6a, 0xa0, 0x8c, 0x7f, 0x6c,
+ 0xe6, 0x66, 0x16, 0xbb, 0x7e, 0x3d, 0xd0, 0x18, 0x78, 0x2f, 0xfb, 0xec, 0x29, 0x43, 0x99, 0x1d,
+ 0x36, 0xbe, 0x46, 0xb6, 0xb3, 0x0c, 0x62, 0xd4, 0x9d, 0x41, 0x2d, 0xf5, 0x8f, 0x2e, 0xfa, 0x59,
+ 0xb6, 0x93, 0x57, 0xff, 0x20, 0xb6, 0x5f, 0xde, 0x08, 0x6b, 0x2c, 0x89, 0xe4, 0xac, 0x66, 0xb6,
+ 0x51, 0xe3, 0x3a, 0xbf, 0xd3, 0xff, 0xce, 0xda, 0x5b, 0x37, 0xc6, 0x6b, 0xab, 0xbb, 0x85, 0xdf,
+ 0xe6, 0xc6, 0xdd, 0x6e, 0x51, 0xfd, 0xd1, 0xfd, 0xd5, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x90,
+ 0x6b, 0x98, 0x85, 0x86, 0x17, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/controller/pb/controller.proto b/controller/pb/controller.proto
index 93526445576..bc8e6faaa93 100644
--- a/controller/pb/controller.proto
+++ b/controller/pb/controller.proto
@@ -80,7 +80,7 @@ message BuildOptions {
string Ref = 29;
string GroupRef = 30;
repeated string Annotations = 31;
- bool WithProvenanceResponse = 32;
+ bool WithDetailedResponse = 32;
}
message ExportEntry {
diff --git a/docs/reference/buildx_bake.md b/docs/reference/buildx_bake.md
index d50b8f7725a..096be984921 100644
--- a/docs/reference/buildx_bake.md
+++ b/docs/reference/buildx_bake.md
@@ -122,6 +122,7 @@ $ cat metadata.json
"db": {
"buildx.build.provenance": {},
"buildx.build.ref": "mybuilder/mybuilder0/0fjb6ubs52xx3vygf6fgdl611",
+ "buildx.build.status": {},
"containerimage.config.digest": "sha256:2937f66a9722f7f4a2df583de2f8cb97fc9196059a410e7f00072fc918930e66",
"containerimage.descriptor": {
"annotations": {
@@ -137,6 +138,7 @@ $ cat metadata.json
"webapp-dev": {
"buildx.build.provenance": {},
"buildx.build.ref": "mybuilder/mybuilder0/kamngmcgyzebqxwu98b4lfv3n",
+ "buildx.build.status": {},
"containerimage.config.digest": "sha256:9651cc2b3c508f697c9c43b67b64c8359c2865c019e680aac1c11f4b875b67e0",
"containerimage.descriptor": {
"annotations": {
@@ -161,6 +163,15 @@ $ cat metadata.json
> * `max` sets full provenance.
> * `disabled`, `false` or `0` does not set any provenance.
+> **Note**
+>
+> Build record status (`buildx.build.provenance`) includes status warnings by
+> default. Set the `BUILDX_METADATA_STATUS` environment variable to customize
+> this behavior:
+> * `warnings` sets status warnings (default).
+> * `max` sets full status.
+> * `disabled`, `false` or `0` does not set any provenance.
+
### Don't use cache when building the image (--no-cache)
Same as `build --no-cache`. Don't use cache when building the image.
diff --git a/docs/reference/buildx_build.md b/docs/reference/buildx_build.md
index ff597807b07..1675b5debf5 100644
--- a/docs/reference/buildx_build.md
+++ b/docs/reference/buildx_build.md
@@ -330,6 +330,7 @@ $ cat metadata.json
{
"buildx.build.provenance": {},
"buildx.build.ref": "mybuilder/mybuilder0/0fjb6ubs52xx3vygf6fgdl611",
+ "buildx.build.status": {},
"containerimage.config.digest": "sha256:2937f66a9722f7f4a2df583de2f8cb97fc9196059a410e7f00072fc918930e66",
"containerimage.descriptor": {
"annotations": {
@@ -353,6 +354,15 @@ $ cat metadata.json
> * `max` sets full provenance.
> * `disabled`, `false` or `0` does not set any provenance.
+> **Note**
+>
+> Build record status (`buildx.build.provenance`) includes status warnings by
+> default. Set the `BUILDX_METADATA_STATUS` environment variable to customize
+> this behavior:
+> * `warnings` sets status warnings (default).
+> * `max` sets full status.
+> * `disabled`, `false` or `0` does not set any provenance.
+
### Ignore build cache for specific stages (--no-cache-filter)
The `--no-cache-filter` lets you specify one or more stages of a multi-stage
diff --git a/tests/build.go b/tests/build.go
index 3e1ccb0abcf..6a4e0a3db9b 100644
--- a/tests/build.go
+++ b/tests/build.go
@@ -16,6 +16,7 @@ import (
"github.com/containerd/containerd/platforms"
"github.com/containerd/continuity/fs/fstest"
"github.com/creack/pty"
+ "github.com/moby/buildkit/client"
"github.com/moby/buildkit/frontend/subrequests/lint"
"github.com/moby/buildkit/frontend/subrequests/outline"
"github.com/moby/buildkit/frontend/subrequests/targets"
@@ -59,7 +60,8 @@ var buildTests = []func(t *testing.T, sb integration.Sandbox){
testBuildNetworkModeBridge,
testBuildShmSize,
testBuildUlimit,
- testBuildMetadata,
+ testBuildMetadataProvenance,
+ testBuildMetadataStatus,
testBuildMultiExporters,
testBuildLoadPush,
testBuildSecret,
@@ -560,19 +562,19 @@ COPY --from=build /ulimit /
require.Contains(t, string(dt), `1024`)
}
-func testBuildMetadata(t *testing.T, sb integration.Sandbox) {
+func testBuildMetadataProvenance(t *testing.T, sb integration.Sandbox) {
t.Run("max", func(t *testing.T) {
- buildMetadata(t, sb, "max")
+ buildMetadataProvenance(t, sb, "max")
})
t.Run("min", func(t *testing.T) {
- buildMetadata(t, sb, "min")
+ buildMetadataProvenance(t, sb, "min")
})
t.Run("disabled", func(t *testing.T) {
- buildMetadata(t, sb, "disabled")
+ buildMetadataProvenance(t, sb, "disabled")
})
}
-func buildMetadata(t *testing.T, sb integration.Sandbox, metadataMode string) {
+func buildMetadataProvenance(t *testing.T, sb integration.Sandbox, metadataMode string) {
dir := createTestProject(t)
dirDest := t.TempDir()
@@ -616,6 +618,64 @@ func buildMetadata(t *testing.T, sb integration.Sandbox, metadataMode string) {
require.Equal(t, provenancetypes.BuildKitBuildType, prv.BuildType)
}
+func testBuildMetadataStatus(t *testing.T, sb integration.Sandbox) {
+ t.Run("max", func(t *testing.T) {
+ buildMetadataStatus(t, sb, "max")
+ })
+ t.Run("warnings", func(t *testing.T) {
+ buildMetadataStatus(t, sb, "warnings")
+ })
+ t.Run("disabled", func(t *testing.T) {
+ buildMetadataStatus(t, sb, "disabled")
+ })
+}
+
+func buildMetadataStatus(t *testing.T, sb integration.Sandbox, metadataMode string) {
+ dockerfile := []byte(`
+frOM busybox as base
+cOpy Dockerfile .
+from scratch
+COPy --from=base \
+ /Dockerfile \
+ /
+ `)
+ dir := tmpdir(
+ t,
+ fstest.CreateFile("Dockerfile", dockerfile, 0600),
+ )
+
+ cmd := buildxCmd(
+ sb,
+ withArgs("build", "--metadata-file", filepath.Join(dir, "md.json"), dir),
+ withEnv("BUILDX_METADATA_STATUS="+metadataMode),
+ )
+ out, err := cmd.CombinedOutput()
+ require.NoError(t, err, string(out))
+
+ dt, err := os.ReadFile(filepath.Join(dir, "md.json"))
+ require.NoError(t, err)
+
+ type mdT struct {
+ BuildRef string `json:"buildx.build.ref"`
+ BuildStatus client.SolveStatus `json:"buildx.build.status"`
+ }
+ var md mdT
+ err = json.Unmarshal(dt, &md)
+ require.NoError(t, err)
+
+ require.NotEmpty(t, md.BuildRef)
+ if metadataMode == "disabled" {
+ require.Empty(t, md.BuildStatus)
+ return
+ } else if metadataMode == "all" {
+ require.NotEmpty(t, md.BuildStatus.Vertexes)
+ require.NotEmpty(t, md.BuildStatus.Statuses)
+ }
+
+ skipNoCompatBuildKit(t, sb, ">= 0.14.0-0", "lint")
+ require.Len(t, md.BuildStatus.Warnings, 3)
+}
+
func testBuildMultiExporters(t *testing.T, sb integration.Sandbox) {
if !isDockerContainerWorker(sb) {
t.Skip("only testing with docker-container worker")
diff --git a/util/confutil/metadata.go b/util/confutil/metadata.go
index 2aad9f622c5..f707de31c17 100644
--- a/util/confutil/metadata.go
+++ b/util/confutil/metadata.go
@@ -5,7 +5,7 @@ import (
"strconv"
)
-// MetadataProvenanceMode is the type for setting provenance in the metdata file
+// MetadataProvenanceMode is the type for setting provenance in the metadata file
type MetadataProvenanceMode int
const (
@@ -33,3 +33,32 @@ func MetadataProvenance() MetadataProvenanceMode {
}
return MetadataProvenanceModeMin
}
+
+// MetadataStatusMode is the type for setting status in the metadata file
+type MetadataStatusMode int
+
+const (
+ // MetadataStatusModeWarnings sets only status warnings (default)
+ MetadataStatusModeWarnings MetadataStatusMode = iota
+ // MetadataStatusModeMax sets full status
+ MetadataStatusModeMax
+ // MetadataStatusModeDisabled doesn't set status
+ MetadataStatusModeDisabled
+)
+
+// MetadataStatus returns the status mode to set in the metadata file
+func MetadataStatus() MetadataStatusMode {
+ bmp := os.Getenv("BUILDX_METADATA_STATUS")
+ switch bmp {
+ case "warnings":
+ return MetadataStatusModeWarnings
+ case "max":
+ return MetadataStatusModeMax
+ case "disabled":
+ return MetadataStatusModeDisabled
+ }
+ if ok, err := strconv.ParseBool(bmp); err == nil && !ok {
+ return MetadataStatusModeDisabled
+ }
+ return MetadataStatusModeWarnings
+}