GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — buildkit: add types by crazy-max · Pull Request #359 · docker/actions-toolkit

Conversation

@crazy-max

@crazy-max crazy-max commented Jun 12, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Adds BuildKit types that will be used in #302 (related to docker/buildx#2511) and #347.

Atm these types are manually crafted based on generated proto from BuildKit repository:

  • https://github.com/moby/buildkit/blob/v0.14.0/api/services/control/control.pb.go
  • https://github.com/moby/buildkit/blob/v0.14.0/solver/pb/ops.pb.go
  • https://github.com/moby/buildkit/blob/v0.14.0/vendor/github.com/gogo/googleapis/google/rpc/status.pb.go
  • https://github.com/moby/buildkit/blob/v0.14.0/vendor/github.com/gogo/protobuf/types/any.pb.go

In follow-up we should generate these types with a tool like https://github.com/stephenh/ts-proto.

@nico1510 @austin5456 let me know if this is something that could be used on DD side by either using the actions-toolkit module: https://www.npmjs.com/package/@docker/actions-toolkit or having a dedicated one like @types/buildkit in https://github.com/DefinitelyTyped/DefinitelyTyped.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@crazy-max
buildkit: add types
dde9860
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
crazy-max requested a review from tonistiigi June 12, 2024 08:24
@crazy-max
crazy-max merged commit c14688a into docker:main Jun 12, 2024
@crazy-max
crazy-max deleted the buildkit-types branch June 12, 2024 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@tonistiigi tonistiigi Awaiting requested review from tonistiigi

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@crazy-max
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.