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 — buildx: convert vertex warnings to github annotations based on localstate by crazy-max · Pull Request #401 · docker/actions-toolkit

Conversation

@crazy-max

@crazy-max crazy-max commented Jul 5, 2024 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

follow-up

  • build: fix localstate for remote context and stdin buildx#2560
  • github: annotate build warnings #365

Implementation introduced in #365 would generate annotations for a specified dockerfile. We forgot cases when a dockerfile can be inline and therefore not part of the repository or also when using a git context that could build another repository. With these changes we make sure warnings are associated with a dockerfile in the working tree before being annotated.

Sorry, something went wrong.

Uh oh!

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

All reactions
@crazy-max
crazy-max force-pushed the build-warnings-localstate branch 5 times, most recently from a956173 to 415ec12 Compare July 5, 2024 09:45
@crazy-max crazy-max changed the title github: convert vertex warnings to annotations based on localstate buildx: convert vertex warnings to github annotations based on localstate Jul 5, 2024
@crazy-max
crazy-max force-pushed the build-warnings-localstate branch from 415ec12 to 6b82c1b Compare July 5, 2024 09:55
@crazy-max
crazy-max requested a review from tonistiigi July 5, 2024 11:26
@crazy-max
crazy-max marked this pull request as ready for review July 5, 2024 11:26
crazy-max
crazy-max commented Jul 5, 2024
View reviewed changes
Comment thread src/buildx/buildx.ts Outdated
continue;
}

if (ls.DockerfilePath == '-' || ls.DockerfilePath.endsWith('/-')) {

@crazy-max crazy-max Jul 5, 2024

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ls.DockerfilePath.endsWith('/-') is necessary for Buildx < 0.16.0 related to docker/buildx#2560

Sorry, something went wrong.

Uh oh!

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

All reactions

@crazy-max crazy-max Jul 5, 2024

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

made a proper fix in #403

Sorry, something went wrong.

Uh oh!

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

All reactions
@crazy-max
crazy-max force-pushed the build-warnings-localstate branch from 6b82c1b to 02ec2ec Compare July 5, 2024 11:30
@crazy-max crazy-max mentioned this pull request Jul 5, 2024
buildx: fix broken local state #403
Merged
@crazy-max
crazy-max force-pushed the build-warnings-localstate branch 3 times, most recently from 65b7e9a to 8efe5ce Compare July 5, 2024 14:34
@crazy-max
crazy-max force-pushed the build-warnings-localstate branch from 8efe5ce to 93f0066 Compare July 15, 2024 11:22
crazy-max added 3 commits July 30, 2024 15:52
@crazy-max
util: isPathRelativeTo func
491039b
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
buildx: convert vertex warnings to github annotations based on locals…
11c483e
…tate

Signed-off-by: CrazyMax <[email protected]>
@crazy-max
buildx(history): update docker daemon requirement message
05e3bb5
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
crazy-max force-pushed the build-warnings-localstate branch from 93f0066 to 05e3bb5 Compare July 30, 2024 13:55
@crazy-max
crazy-max merged commit 477e96d into docker:main Jul 30, 2024
@crazy-max
crazy-max deleted the build-warnings-localstate branch July 30, 2024 14:03
This was referenced Jul 30, 2024
generate GitHub annotations for build checks docker/build-push-action#1197
Merged
bake: handle build checks from metadata #389
Merged
generate GitHub annotations for build checks docker/bake-action#238
Merged
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.