Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send client warning when signing is disabled #322

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

cpuguy83
Copy link
Member

@cpuguy83 cpuguy83 commented Jul 12, 2024

When signing is explicitly disabled this surfaces a warning message on the client.
Example:

image

@cpuguy83 cpuguy83 force-pushed the warning branch 3 times, most recently from a7e9dcb to 64451ca Compare July 12, 2024 23:25
@@ -261,13 +304,14 @@ func (b *BuildxEnv) RunTest(ctx context.Context, t *testing.T, f TestFunc) {
f(ctx, gwc)
return gwclient.NewResult(), nil
}, ch)
if err != nil {
t.Fatal(err)
Copy link
Member Author

Choose a reason for hiding this comment

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

This fatal call here could sometimes make the test runner yell because a buildkit status message could hit the test log after the fatal is called.
Hence why I moved the <-done after.

@cpuguy83 cpuguy83 force-pushed the warning branch 2 times, most recently from eb7caa3 to 3ffd398 Compare July 12, 2024 23:35
@cpuguy83 cpuguy83 marked this pull request as ready for review July 12, 2024 23:42
@cpuguy83 cpuguy83 requested a review from a team as a code owner July 12, 2024 23:42
frontend/gateway.go Outdated Show resolved Hide resolved
frontend/request.go Outdated Show resolved Hide resolved
frontend/request.go Outdated Show resolved Hide resolved
@cpuguy83 cpuguy83 force-pushed the warning branch 2 times, most recently from 1f0e5bb to 45d8523 Compare July 15, 2024 23:53
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Copy link
Contributor

@pmengelbert pmengelbert left a comment

Choose a reason for hiding this comment

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

LGTM

@pmengelbert pmengelbert merged commit 20db3e7 into Azure:main Jul 17, 2024
9 checks passed
@cpuguy83 cpuguy83 deleted the warning branch July 17, 2024 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants