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

fix: update kaniko fork to fix BLOB_UNKNOWN errors #410

Merged
merged 6 commits into from
Nov 20, 2024

Conversation

mafredri
Copy link
Member

@mafredri mafredri commented Nov 7, 2024

Fixes #385
Refs coder/kaniko#35

@mafredri mafredri self-assigned this Nov 7, 2024
@mafredri mafredri changed the title fix: avoid BLOB_UNKNOWN by not enabling ForceBuildMetadata fix: update kaniko fork to fix BLOB_UNKNOWN errors Nov 20, 2024
@mafredri mafredri force-pushed the mafredri/fix-push-unknown-blob branch from 8ae006a to 4b71b24 Compare November 20, 2024 13:11
@mafredri mafredri marked this pull request as ready for review November 20, 2024 13:15
Comment on lines +587 to +595
// To debug registry issues, enable logging:
//
// import (
// stdlog "log"
// reglogs "github.com/google/go-containerregistry/pkg/logs"
// )
// reglogs.Debug = stdlog.New(os.Stderr, "", 0)
// reglogs.Warn = stdlog.New(os.Stderr, "", 0)
// reglogs.Progress = stdlog.New(os.Stderr, "", 0)
Copy link
Member

Choose a reason for hiding this comment

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

non-blocking potential follow-up: we could conditionally enable this?

Copy link
Member Author

Choose a reason for hiding this comment

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

I thought about it, but was too tired to think of how to expose it 😄. I'd also not use os.Stderr but instead wrap the logger we have.

I don't think we want to enable this with ENVBUILDER_VERBOSE=1, we'd probably want to introduce debug/trace.

Copy link
Member

Choose a reason for hiding this comment

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

yup, but we can worry about that later!

@mafredri mafredri merged commit e64f857 into main Nov 20, 2024
4 checks passed
@mafredri mafredri deleted the mafredri/fix-push-unknown-blob branch November 20, 2024 13:44
johnstcn pushed a commit that referenced this pull request Nov 25, 2024
johnstcn added a commit that referenced this pull request Dec 2, 2024
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.

issue pushing image: BLOB_UNKNOWN: Manifest references unknown blob(s)
2 participants