-
Notifications
You must be signed in to change notification settings - Fork 174
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
Tests: Added tests for .NET Core 1.0 and 2.0 apps #167
Conversation
var appOutputDir = $"{appDir}/myoutputdir"; | ||
var buildImageScript = new ShellScriptBuilder() | ||
// NOTE: we are using 1.1 'sdk' version to build 1.0 netcoreapp | ||
.AddCommand($"oryx build {appDir} -l dotnet --language-version 1.1 -o {appOutputDir}") |
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.
Here we have a 1.0 runtime app built with 1.1 SDK
"-c", | ||
buildImageScript | ||
}, | ||
"oryxdevms/dotnetcore-1.0", |
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.
The runtime image is still 1.0
var appOutputDir = $"{appDir}/myoutputdir"; | ||
var buildImageScript = new ShellScriptBuilder() | ||
// NOTE: we are using 2.1 'sdk' version to build 2.0 netcoreapp | ||
.AddCommand($"oryx build {appDir} -l dotnet --language-version 2.1 -o {appOutputDir}") |
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.
Similarly this is a 2.0 runtime app built with 2.1 SDK
"-c", | ||
buildImageScript | ||
}, | ||
"oryxdevms/dotnetcore-2.0", |
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.
The runtime image is still 2.0
using System.Threading.Tasks; | ||
using Microsoft.AspNetCore.Mvc; | ||
|
||
namespace app.Controllers |
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.
This apps were taken from the share that @JennyLawrance shared with us
Should we have a |
Good question. These apps were from Jenny, so we do not know their source. From their structure it looks like they are dotnet core cli template-based projects, so we are good. |
No description provided.