-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added dotnet80 stack Signed-off-by: msivasubramaniaan <[email protected]> * changed version to 1.0.0 and added owner of stack Signed-off-by: msivasubramaniaan <[email protected]> * updated code owner name Signed-off-by: msivasubramaniaan <[email protected]> * updated schema version Signed-off-by: msivasubramaniaan <[email protected]> --------- Signed-off-by: msivasubramaniaan <[email protected]>
- Loading branch information
1 parent
58f5786
commit 683aaad
Showing
2 changed files
with
59 additions
and
1 deletion.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
schemaVersion: 2.2.2 | ||
metadata: | ||
name: dotnet80 | ||
displayName: .NET 8.0 | ||
description: .NET 8.0 application | ||
icon: https://github.com/dotnet/brand/raw/main/logo/dotnet-logo.png | ||
tags: | ||
- .NET | ||
- .NET 8.0 | ||
projectType: dotnet | ||
language: .NET | ||
version: 1.0.0 | ||
starterProjects: | ||
- name: dotnet80-example | ||
git: | ||
checkoutFrom: | ||
remote: origin | ||
revision: dotnet-8.0 | ||
remotes: | ||
origin: https://github.com/redhat-developer/s2i-dotnetcore-ex | ||
subDir: app | ||
components: | ||
- name: dotnet | ||
container: | ||
image: registry.access.redhat.com/ubi8/dotnet-80:8.0-9 | ||
args: ["tail", "-f", "/dev/null"] | ||
mountSources: true | ||
env: | ||
- name: CONFIGURATION | ||
value: Debug | ||
- name: STARTUP_PROJECT | ||
value: app.csproj | ||
- name: ASPNETCORE_ENVIRONMENT | ||
value: Development | ||
- name: ASPNETCORE_URLS | ||
value: http://*:8080 | ||
endpoints: | ||
- name: https-dotnet80 | ||
protocol: https | ||
targetPort: 8080 | ||
commands: | ||
- id: build | ||
exec: | ||
workingDir: ${PROJECT_SOURCE} | ||
commandLine: kill $(pidof dotnet); dotnet build -c $CONFIGURATION $STARTUP_PROJECT /p:UseSharedCompilation=false | ||
component: dotnet | ||
group: | ||
isDefault: true | ||
kind: build | ||
- id: run | ||
exec: | ||
workingDir: ${PROJECT_SOURCE} | ||
commandLine: dotnet run -c $CONFIGURATION --no-build --project $STARTUP_PROJECT --no-launch-profile | ||
component: dotnet | ||
group: | ||
isDefault: true | ||
kind: run |