Skip to content

Commit

Permalink
Update Paketo buildpack references (#5446)
Browse files Browse the repository at this point in the history
The `paketo-buildpacks/go-compiler` buildpack was renamed to `paketo-buildpacks/go-dist`. This `go-dist` buildpack will be sufficient to identify a Go application as it would be involved in any build of a Go application.

Additionally, it makes more sense to identify the project as Paketo. Its affiliation is with the Cloud Foundry foundation, not the project.
  • Loading branch information
ryanmoran authored Mar 4, 2021
1 parent cc2216a commit 14d4128
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/skaffold/debug/transform_go.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ func (t dlvTransformer) IsApplicable(config imageConfiguration) bool {
// nor to cause certain environment variables to be defined in the resulting image, look at the image's
// CNB metadata to see if any well-known Go-related buildpacks had been involved.
knownGoBuildpackIds := []string{
"google.go.build", // GCP Buildpacks
"paketo-buildpacks/go-compiler", "paketo-buildpacks/go-mod", // Cloud Foundry
"heroku/go", // Heroku
"google.go.build", // GCP Buildpacks
"paketo-buildpacks/go-dist", // Paketo
"heroku/go", // Heroku
}
cnbBuildMetadata := config.labels["io.buildpacks.build.metadata"]
for _, id := range knownGoBuildpackIds {
Expand Down

0 comments on commit 14d4128

Please sign in to comment.