Skip to content
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

Added dotnet80 stack #452

Merged
merged 4 commits into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@
# for every PR that updates stacks.
# 2. As you may notice some stacks are owned by the devfile/devfile-services-team
# directly.
# 3. All the owner mentions follow the format below:
# 3. All the owner mentions follow the format below:
# <path-to-the-stack-dir> @owner @reviwer-team

# .Net stacks
/stacks/dotnet50/ @kadel @devfile/che-team
/stacks/dotnet60/ @kadel @devfile/che-team
/stacks/dotnet80/ @msivasubramaniaan @devfile/che-team
/stacks/dotnetcore31/ @kadel @devfile/che-team

# Golang stacks
Expand Down
57 changes: 57 additions & 0 deletions stacks/dotnet80/devfile.yaml
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
Loading