Skip to content

Fixed python debug and updated descriptions #117

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

Merged
merged 3 commits into from
Jul 13, 2022
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
66 changes: 32 additions & 34 deletions stacks/dotnet50/devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,41 +20,39 @@ starterProjects:
origin: https://github.com/redhat-developer/s2i-dotnetcore-ex
subDir: app


components:
- name: dotnet
container:
image: registry.access.redhat.com/ubi8/dotnet-50:5.0
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: http-8080
targetPort: 8080
- name: dotnet
container:
image: registry.access.redhat.com/ubi8/dotnet-50:5.0
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: http-dotnet50
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
- 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
66 changes: 32 additions & 34 deletions stacks/dotnet60/devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,41 +20,39 @@ starterProjects:
origin: https://github.com/redhat-developer/s2i-dotnetcore-ex
subDir: app


components:
- name: dotnet
container:
image: registry.access.redhat.com/ubi8/dotnet-60:6.0
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: http-8080
targetPort: 8080
- name: dotnet
container:
image: registry.access.redhat.com/ubi8/dotnet-60:6.0
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: http-dotnet60
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
- 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
65 changes: 32 additions & 33 deletions stacks/dotnetcore31/devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,39 +21,38 @@ starterProjects:
subDir: app

components:
- name: dotnet
container:
image: registry.access.redhat.com/ubi8/dotnet-31:3.1
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: http-8080
targetPort: 8080
- name: dotnet
container:
image: registry.access.redhat.com/ubi8/dotnet-31:3.1
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: http-dotnetcore
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
- 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
2 changes: 1 addition & 1 deletion stacks/go/devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ starterProjects:
components:
- container:
endpoints:
- name: http
- name: http-go
targetPort: 8080
image: quay.io/devfile/golang:latest
memoryLimit: 1024Mi
Expand Down
4 changes: 2 additions & 2 deletions stacks/java-maven/devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ components:
memoryLimit: 512Mi
mountSources: true
endpoints:
- name: 'http-8080'
- name: http-maven
targetPort: 8080
volumeMounts:
- name: m2
path: /home/user/.m2
env:
- name: DEBUG_PORT
value: "5858"
value: '5858'
- name: m2
volume: {}
commands:
Expand Down
6 changes: 3 additions & 3 deletions stacks/java-openliberty-gradle/devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ components:
endpoints:
- exposure: public
path: /
name: ep1
name: http-gradle
targetPort: 9080
protocol: http
env:
- name: DEBUG_PORT
value: "5858"
value: '5858'
commands:
- id: run
exec:
Expand All @@ -65,7 +65,7 @@ commands:
exec:
component: dev
commandLine: echo "gradle run-tests-off command "; {{gradle-cmd}} -Dgradle.user.home=/.gradle libertyDev -Pliberty.runtime.version={{liberty-version}} -Pliberty.runtime.name=openliberty-runtime -Pliberty.runtime.group=io.openliberty --libertyDebug=false
workingDir: ${PROJECT_SOURCE}
workingDir: ${PROJECT_SOURCE}
hotReloadCapable: true
group:
kind: run
Expand Down
6 changes: 3 additions & 3 deletions stacks/java-openliberty/devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,17 @@ components:
endpoints:
- exposure: public
path: /
name: ep1
name: http-openlib
targetPort: 9080
protocol: http
env:
- name: DEBUG_PORT
value: "5858"
value: '5858'
commands:
- id: run
exec:
component: dev
commandLine: echo "run command "; {{mvn-cmd}} -DinstallDirectory=/opt/ol/wlp -Ddebug=false -DhotTests=true -DcompileWait=3 io.openliberty.tools:liberty-maven-plugin:{{liberty-plugin-version}}:dev
commandLine: echo "run command "; {{mvn-cmd}} -DinstallDirectory=/opt/ol/wlp -Ddebug=false -DhotTests=true -DcompileWait=3 io.openliberty.tools:liberty-maven-plugin:{{liberty-plugin-version}}:dev
workingDir: ${PROJECT_SOURCE}
hotReloadCapable: true
group:
Expand Down
4 changes: 2 additions & 2 deletions stacks/java-quarkus/devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ components:
- name: m2
path: /home/user/.m2
endpoints:
- name: '8080-http'
- name: http-quarkus
targetPort: 8080
env:
- name: DEBUG_PORT
value: "5858"
value: '5858'
- name: m2
volume:
size: 3Gi
Expand Down
4 changes: 2 additions & 2 deletions stacks/java-springboot/devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ components:
memoryLimit: 768Mi
mountSources: true
endpoints:
- name: '8080-tcp'
- name: http-springboot
targetPort: 8080
volumeMounts:
- name: m2
path: /home/user/.m2
env:
- name: DEBUG_PORT
value: "5858"
value: '5858'
- name: m2
volume:
size: 3Gi
Expand Down
4 changes: 2 additions & 2 deletions stacks/java-vertx/devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ components:
endpoints:
- exposure: public
path: /
name: '8080-tcp'
name: http-vertx
targetPort: 8080
protocol: http
image: quay.io/eclipse/che-java11-maven:next
Expand All @@ -102,7 +102,7 @@ components:
path: /home/user/.m2
env:
- name: DEBUG_PORT
value: "5858"
value: '5858'
- name: m2
volume:
size: 3Gi
Expand Down
4 changes: 2 additions & 2 deletions stacks/java-websphereliberty-gradle/devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ components:
endpoints:
- exposure: public
path: /
name: ep1
name: http-webgradle
targetPort: 9080
protocol: http
env:
- name: DEBUG_PORT
value: "5858"
value: '5858'
commands:
- id: run
exec:
Expand Down
6 changes: 3 additions & 3 deletions stacks/java-websphereliberty/devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,17 @@ components:
endpoints:
- exposure: public
path: /
name: ep1
name: http-websphere
targetPort: 9080
protocol: http
env:
- name: DEBUG_PORT
value: "5858"
value: '5858'
commands:
- id: run
exec:
component: dev
commandLine: echo "run command "; {{mvn-cmd}} -DinstallDirectory=/opt/ibm/wlp -Ddebug=false -DhotTests=true -DcompileWait=3 io.openliberty.tools:liberty-maven-plugin:{{liberty-plugin-version}}:dev
commandLine: echo "run command "; {{mvn-cmd}} -DinstallDirectory=/opt/ibm/wlp -Ddebug=false -DhotTests=true -DcompileWait=3 io.openliberty.tools:liberty-maven-plugin:{{liberty-plugin-version}}:dev
workingDir: ${PROJECT_SOURCE}
hotReloadCapable: true
group:
Expand Down
6 changes: 3 additions & 3 deletions stacks/java-wildfly-bootable-jar/devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ components:
image: quay.io/jaegertracing/all-in-one:1.27
memoryLimit: 128Mi
endpoints:
- name: 'tracing-ui'
- name: tracing-ui-jar
targetPort: 16686
- name: wildfly
container:
Expand Down Expand Up @@ -121,9 +121,9 @@ components:
- name: MVN_ARGS_APPEND
value: '-Pbootable-jar-openshift -Djkube.skip=true -s /home/jboss/.m2/settings.xml -Dmaven.repo.local=/home/jboss/.m2/repository -Dcom.redhat.xpaas.repo.jbossorg'
- name: DEBUG_PORT
value: "5858"
value: '5858'
endpoints:
- name: 'http'
- name: http-wildjar
targetPort: 8080
- name: m2-repository
volume:
Expand Down
Loading