-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[buildpacks] Initial support for project.toml #4258
Conversation
Codecov Report
|
buildpacks := artifact.Buildpacks | ||
for _, buildpack := range projectDescriptor.Build.Buildpacks { | ||
// TODO(dgageot): Support version and URI. | ||
buildpacks = append(buildpacks, buildpack.ID) | ||
} |
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.
So I think the buildpacks specified in the skaffold.yaml should override those in the buildpack.toml
. We may have duplicates here too. (And good point about versions too.)
(We should have a test for this resolution process.)
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.
I think the ReadProjectDescriptor suggestion is simpler, but I leave it to you
Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
skaffold init
recognizes a project.toml