Merged
Conversation
thaJeztah
reviewed
Feb 4, 2023
edba81d to
70da3c8
Compare
This comment was marked as outdated.
This comment was marked as outdated.
70da3c8 to
850d894
Compare
850d894 to
ea86d1f
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
9f26b07 to
363767c
Compare
AkihiroSuda
reviewed
Mar 7, 2023
| case keyOCITypes: | ||
| err = parseBoolWithDefault(&c.OCITypes, k, v, true) | ||
| case keyBuildInfo: | ||
| err = parseBoolWithDefault(&c.BuildInfo, k, v, true) |
Member
There was a problem hiding this comment.
buildinfo=false should be still valid for compatibility reason
Member
Author
There was a problem hiding this comment.
By "valid" you mean should not fail when exporting?
Member
Author
There was a problem hiding this comment.
It does not afaik:
$ docker buildx build --output type=docker,buildinfo=false .
...
#34 [binaries-linux 4/4] COPY --link --from=buildkitd /usr/bin/buildkitd /
#34 merging 0.1s done
#34 DONE 0.2s
#35 [buildkit-linux 1/1] COPY --link --from=binaries / /usr/bin/
#35 DONE 0.2s
#36 exporting to docker image format
#36 exporting layers
#36 exporting layers 3.7s done
#36 exporting manifest sha256:26bff5cd69b2f771dad27d23b2c62c56377d6e8b91e4528b4af0f6bc9e4504e8 0.0s done
#36 exporting config sha256:e790b681a392ef3add1e375eda8fe35885ffb6ecd1f351dba3152169f7f22fdb 0.0s done
#36 sending tarball
#36 sending tarball 1.0s done
#36 DONE 4.7s
#37 importing to docker
#37 DONE 0.7s
See
buildkit/exporter/containerimage/opts.go
Lines 72 to 74 in faaa836
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
363767c to
6d9c24d
Compare
AkihiroSuda
approved these changes
Mar 10, 2023
thaJeztah
approved these changes
Mar 12, 2023
Member
thaJeztah
left a comment
There was a problem hiding this comment.
SGTM, but not too familiar with this.
Do current versions print a warning if someone is using this?
jedevc
approved these changes
Mar 13, 2023
Member
|
r.e. warnings - there is no warning as of now. We could add a warning to the v0.11 release branch, but I'm not convinced it's worth it. One of the main reasons for the removal of the feature is that not really anyone uses it AFAIK. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
follow-up #3614
v0.11is released so we can remove build information implementation on master branch.