Skip to content

Commit 74c9b45

Browse files
authored
Merge pull request #117 from schultzp2020/fix-python-debug
Fixed python debug and updated descriptions
2 parents 3464b1c + ac00f97 commit 74c9b45

File tree

24 files changed

+146
-154
lines changed

24 files changed

+146
-154
lines changed

stacks/dotnet50/devfile.yaml

Lines changed: 32 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -20,41 +20,39 @@ starterProjects:
2020
origin: https://github.com/redhat-developer/s2i-dotnetcore-ex
2121
subDir: app
2222

23-
2423
components:
25-
- name: dotnet
26-
container:
27-
image: registry.access.redhat.com/ubi8/dotnet-50:5.0
28-
mountSources: true
29-
env:
30-
- name: CONFIGURATION
31-
value: Debug
32-
- name: STARTUP_PROJECT
33-
value: app.csproj
34-
- name: ASPNETCORE_ENVIRONMENT
35-
value: Development
36-
- name: ASPNETCORE_URLS
37-
value: http://*:8080
38-
endpoints:
39-
- name: http-8080
40-
targetPort: 8080
24+
- name: dotnet
25+
container:
26+
image: registry.access.redhat.com/ubi8/dotnet-50:5.0
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: http-dotnet50
39+
targetPort: 8080
4140

4241
commands:
43-
- id: build
44-
exec:
45-
workingDir: ${PROJECT_SOURCE}
46-
commandLine: kill $(pidof dotnet); dotnet build -c $CONFIGURATION $STARTUP_PROJECT /p:UseSharedCompilation=false
47-
component: dotnet
48-
group:
49-
isDefault: true
50-
kind: build
51-
52-
- id: run
53-
exec:
54-
workingDir: ${PROJECT_SOURCE}
55-
commandLine: dotnet run -c $CONFIGURATION --no-build --project $STARTUP_PROJECT --no-launch-profile
56-
component: dotnet
57-
group:
58-
isDefault: true
59-
kind: run
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
6050

51+
- id: run
52+
exec:
53+
workingDir: ${PROJECT_SOURCE}
54+
commandLine: dotnet run -c $CONFIGURATION --no-build --project $STARTUP_PROJECT --no-launch-profile
55+
component: dotnet
56+
group:
57+
isDefault: true
58+
kind: run

stacks/dotnet60/devfile.yaml

Lines changed: 32 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -20,41 +20,39 @@ starterProjects:
2020
origin: https://github.com/redhat-developer/s2i-dotnetcore-ex
2121
subDir: app
2222

23-
2423
components:
25-
- name: dotnet
26-
container:
27-
image: registry.access.redhat.com/ubi8/dotnet-60:6.0
28-
mountSources: true
29-
env:
30-
- name: CONFIGURATION
31-
value: Debug
32-
- name: STARTUP_PROJECT
33-
value: app.csproj
34-
- name: ASPNETCORE_ENVIRONMENT
35-
value: Development
36-
- name: ASPNETCORE_URLS
37-
value: http://*:8080
38-
endpoints:
39-
- name: http-8080
40-
targetPort: 8080
24+
- name: dotnet
25+
container:
26+
image: registry.access.redhat.com/ubi8/dotnet-60:6.0
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: http-dotnet60
39+
targetPort: 8080
4140

4241
commands:
43-
- id: build
44-
exec:
45-
workingDir: ${PROJECT_SOURCE}
46-
commandLine: kill $(pidof dotnet); dotnet build -c $CONFIGURATION $STARTUP_PROJECT /p:UseSharedCompilation=false
47-
component: dotnet
48-
group:
49-
isDefault: true
50-
kind: build
51-
52-
- id: run
53-
exec:
54-
workingDir: ${PROJECT_SOURCE}
55-
commandLine: dotnet run -c $CONFIGURATION --no-build --project $STARTUP_PROJECT --no-launch-profile
56-
component: dotnet
57-
group:
58-
isDefault: true
59-
kind: run
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
6050

51+
- id: run
52+
exec:
53+
workingDir: ${PROJECT_SOURCE}
54+
commandLine: dotnet run -c $CONFIGURATION --no-build --project $STARTUP_PROJECT --no-launch-profile
55+
component: dotnet
56+
group:
57+
isDefault: true
58+
kind: run

stacks/dotnetcore31/devfile.yaml

Lines changed: 32 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -21,39 +21,38 @@ starterProjects:
2121
subDir: app
2222

2323
components:
24-
- name: dotnet
25-
container:
26-
image: registry.access.redhat.com/ubi8/dotnet-31:3.1
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: http-8080
39-
targetPort: 8080
24+
- name: dotnet
25+
container:
26+
image: registry.access.redhat.com/ubi8/dotnet-31:3.1
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: http-dotnetcore
39+
targetPort: 8080
4040

4141
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-
51-
- id: run
52-
exec:
53-
workingDir: ${PROJECT_SOURCE}
54-
commandLine: dotnet run -c $CONFIGURATION --no-build --project $STARTUP_PROJECT --no-launch-profile
55-
component: dotnet
56-
group:
57-
isDefault: true
58-
kind: run
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
5950

51+
- id: run
52+
exec:
53+
workingDir: ${PROJECT_SOURCE}
54+
commandLine: dotnet run -c $CONFIGURATION --no-build --project $STARTUP_PROJECT --no-launch-profile
55+
component: dotnet
56+
group:
57+
isDefault: true
58+
kind: run

stacks/go/devfile.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ starterProjects:
1919
components:
2020
- container:
2121
endpoints:
22-
- name: http
22+
- name: http-go
2323
targetPort: 8080
2424
image: quay.io/devfile/golang:latest
2525
memoryLimit: 1024Mi

stacks/java-maven/devfile.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ components:
2020
memoryLimit: 512Mi
2121
mountSources: true
2222
endpoints:
23-
- name: 'http-8080'
23+
- name: http-maven
2424
targetPort: 8080
2525
volumeMounts:
2626
- name: m2
2727
path: /home/user/.m2
2828
env:
2929
- name: DEBUG_PORT
30-
value: "5858"
30+
value: '5858'
3131
- name: m2
3232
volume: {}
3333
commands:

stacks/java-openliberty-gradle/devfile.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ components:
4545
endpoints:
4646
- exposure: public
4747
path: /
48-
name: ep1
48+
name: http-gradle
4949
targetPort: 9080
5050
protocol: http
5151
env:
5252
- name: DEBUG_PORT
53-
value: "5858"
53+
value: '5858'
5454
commands:
5555
- id: run
5656
exec:
@@ -65,7 +65,7 @@ commands:
6565
exec:
6666
component: dev
6767
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
68-
workingDir: ${PROJECT_SOURCE}
68+
workingDir: ${PROJECT_SOURCE}
6969
hotReloadCapable: true
7070
group:
7171
kind: run

stacks/java-openliberty/devfile.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,17 @@ components:
4747
endpoints:
4848
- exposure: public
4949
path: /
50-
name: ep1
50+
name: http-openlib
5151
targetPort: 9080
5252
protocol: http
5353
env:
5454
- name: DEBUG_PORT
55-
value: "5858"
55+
value: '5858'
5656
commands:
5757
- id: run
5858
exec:
5959
component: dev
60-
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
60+
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
6161
workingDir: ${PROJECT_SOURCE}
6262
hotReloadCapable: true
6363
group:

stacks/java-quarkus/devfile.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ components:
2626
- name: m2
2727
path: /home/user/.m2
2828
endpoints:
29-
- name: '8080-http'
29+
- name: http-quarkus
3030
targetPort: 8080
3131
env:
3232
- name: DEBUG_PORT
33-
value: "5858"
33+
value: '5858'
3434
- name: m2
3535
volume:
3636
size: 3Gi

stacks/java-springboot/devfile.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ components:
2121
memoryLimit: 768Mi
2222
mountSources: true
2323
endpoints:
24-
- name: '8080-tcp'
24+
- name: http-springboot
2525
targetPort: 8080
2626
volumeMounts:
2727
- name: m2
2828
path: /home/user/.m2
2929
env:
3030
- name: DEBUG_PORT
31-
value: "5858"
31+
value: '5858'
3232
- name: m2
3333
volume:
3434
size: 3Gi

stacks/java-vertx/devfile.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ components:
9191
endpoints:
9292
- exposure: public
9393
path: /
94-
name: '8080-tcp'
94+
name: http-vertx
9595
targetPort: 8080
9696
protocol: http
9797
image: quay.io/eclipse/che-java11-maven:next
@@ -102,7 +102,7 @@ components:
102102
path: /home/user/.m2
103103
env:
104104
- name: DEBUG_PORT
105-
value: "5858"
105+
value: '5858'
106106
- name: m2
107107
volume:
108108
size: 3Gi

0 commit comments

Comments
 (0)