Skip to content

Commit 683aaad

Browse files
Added dotnet80 stack (#452)
* 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]>
1 parent 58f5786 commit 683aaad

File tree

2 files changed

+59
-1
lines changed

2 files changed

+59
-1
lines changed

.github/CODEOWNERS

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@
88
# for every PR that updates stacks.
99
# 2. As you may notice some stacks are owned by the devfile/devfile-services-team
1010
# directly.
11-
# 3. All the owner mentions follow the format below:
11+
# 3. All the owner mentions follow the format below:
1212
# <path-to-the-stack-dir> @owner @reviwer-team
1313

1414
# .Net stacks
1515
/stacks/dotnet50/ @kadel @devfile/che-team
1616
/stacks/dotnet60/ @kadel @devfile/che-team
17+
/stacks/dotnet80/ @msivasubramaniaan @devfile/che-team
1718
/stacks/dotnetcore31/ @kadel @devfile/che-team
1819

1920
# Golang stacks

stacks/dotnet80/devfile.yaml

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
schemaVersion: 2.2.2
2+
metadata:
3+
name: dotnet80
4+
displayName: .NET 8.0
5+
description: .NET 8.0 application
6+
icon: https://github.com/dotnet/brand/raw/main/logo/dotnet-logo.png
7+
tags:
8+
- .NET
9+
- .NET 8.0
10+
projectType: dotnet
11+
language: .NET
12+
version: 1.0.0
13+
starterProjects:
14+
- name: dotnet80-example
15+
git:
16+
checkoutFrom:
17+
remote: origin
18+
revision: dotnet-8.0
19+
remotes:
20+
origin: https://github.com/redhat-developer/s2i-dotnetcore-ex
21+
subDir: app
22+
components:
23+
- name: dotnet
24+
container:
25+
image: registry.access.redhat.com/ubi8/dotnet-80:8.0-9
26+
args: ["tail", "-f", "/dev/null"]
27+
mountSources: true
28+
env:
29+
- name: CONFIGURATION
30+
value: Debug
31+
- name: STARTUP_PROJECT
32+
value: app.csproj
33+
- name: ASPNETCORE_ENVIRONMENT
34+
value: Development
35+
- name: ASPNETCORE_URLS
36+
value: http://*:8080
37+
endpoints:
38+
- name: https-dotnet80
39+
protocol: https
40+
targetPort: 8080
41+
commands:
42+
- id: build
43+
exec:
44+
workingDir: ${PROJECT_SOURCE}
45+
commandLine: kill $(pidof dotnet); dotnet build -c $CONFIGURATION $STARTUP_PROJECT /p:UseSharedCompilation=false
46+
component: dotnet
47+
group:
48+
isDefault: true
49+
kind: build
50+
- id: run
51+
exec:
52+
workingDir: ${PROJECT_SOURCE}
53+
commandLine: dotnet run -c $CONFIGURATION --no-build --project $STARTUP_PROJECT --no-launch-profile
54+
component: dotnet
55+
group:
56+
isDefault: true
57+
kind: run

0 commit comments

Comments
 (0)