You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger.Subprocess("WARNING: Requiring dotnet-runtime or dotnet-aspnetcore in your build plan will be deprecated soon in .NET Core Buildpack v%s.", nextMajorVersion.String())
102
-
logger.Subprocess("Please require dotnet-core-aspnet-runtime in your build plan going forward.")
logger.Subprocess("WARNING: Setting the .NET Framework version through buildpack.yml will be deprecated soon in .NET Core ASP.NET Core Runtime Buildpack v%s.", nextMajorVersion.String())
119
-
logger.Subprocess("Please specify the version through the $BP_DOTNET_FRAMEWORK_VERSION environment variable instead. See docs for more information.")
Expect(buffer.String()).To(ContainSubstring("WARNING: Requiring dotnet-runtime or dotnet-aspnetcore in your build plan will be deprecated soon in .NET Core Buildpack v2.0.0."))
438
-
Expect(buffer.String()).To(ContainSubstring("Please require dotnet-core-aspnet-runtime in your build plan going forward."))
439
-
})
440
-
})
441
-
442
-
context("when version-source of the selected entry is buildpack.yml", func() {
it("chooses the specified version and emits a warning", func() {
455
-
_, err:=build(packit.BuildContext{
456
-
WorkingDir: workingDir,
457
-
CNBPath: cnbDir,
458
-
Stack: "some-stack",
459
-
BuildpackInfo: packit.BuildpackInfo{
460
-
Name: "Some Buildpack",
461
-
Version: "1.2.3",
462
-
},
463
-
Plan: packit.BuildpackPlan{
464
-
Entries: []packit.BuildpackPlanEntry{
465
-
{
466
-
Name: "dotnet-core-aspnet-runtime",
467
-
Metadata: map[string]interface{}{
468
-
"version-source": "buildpack.yml",
469
-
"version": "2.5.x",
470
-
},
471
-
},
472
-
},
473
-
},
474
-
Layers: packit.Layers{Path: layersDir},
475
-
})
476
-
Expect(err).NotTo(HaveOccurred())
477
-
478
-
Expect(buffer.String()).To(ContainSubstring("WARNING: Setting the .NET Framework version through buildpack.yml will be deprecated soon in .NET Core ASP.NET Core Runtime Buildpack v2.0.0."))
479
-
Expect(buffer.String()).To(ContainSubstring("Please specify the version through the $BP_DOTNET_FRAMEWORK_VERSION environment variable instead. See docs for more information."))
0 commit comments