Skip to content

Commit 3b82016

Browse files
chore: use https protocol and update devfile scheme to 2.2.2 for dotnetcore31 and angular (#398)
* update dotnetcore31/devfile.yaml Signed-off-by: vitaliy-guliy <vgulyy@redhat.com> * update angurar devfiles Signed-off-by: vitaliy-guliy <vgulyy@redhat.com> * chore: reorder commands Signed-off-by: vitaliy-guliy <vgulyy@redhat.com> * update devfiles Signed-off-by: vitaliy-guliy <vgulyy@redhat.com> * update devfiles Signed-off-by: vitaliy-guliy <vgulyy@redhat.com> * update devfiles Signed-off-by: vitaliy-guliy <vgulyy@redhat.com> * update devfiles Signed-off-by: vitaliy-guliy <vgulyy@redhat.com> --------- Signed-off-by: vitaliy-guliy <vgulyy@redhat.com>
1 parent 4697963 commit 3b82016

File tree

3 files changed

+56
-3
lines changed

3 files changed

+56
-3
lines changed

stacks/dotnetcore31/devfile.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
schemaVersion: 2.1.0
1+
schemaVersion: 2.2.2
22
metadata:
33
name: dotnetcore31
44
displayName: .NET Core 3.1
@@ -35,7 +35,8 @@ components:
3535
- name: ASPNETCORE_URLS
3636
value: http://*:8080
3737
endpoints:
38-
- name: http-dotnetcore
38+
- name: https-dotnet
39+
protocol: https
3940
targetPort: 8080
4041
commands:
4142
- id: build
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
schemaVersion: 2.2.2
2+
metadata:
3+
name: nodejs-angular
4+
displayName: Angular
5+
description: "Angular is a development platform, built on TypeScript. As a platform, Angular includes:
6+
A component-based framework for building scalable web applications
7+
A collection of well-integrated libraries that cover a wide variety of features, including routing, forms management, client-server communication, and more
8+
A suite of developer tools to help you develop, build, test, and update your code"
9+
icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/angular.svg
10+
tags:
11+
- Node.js
12+
- Angular
13+
projectType: Angular
14+
language: TypeScript
15+
provider: Red Hat
16+
version: 2.2.1
17+
starterProjects:
18+
- name: nodejs-angular-starter
19+
git:
20+
checkoutFrom:
21+
revision: main
22+
remotes:
23+
origin: https://github.com/devfile-samples/devfile-stack-nodejs-angular.git
24+
components:
25+
- container:
26+
endpoints:
27+
- name: https-angular
28+
protocol: https
29+
targetPort: 4200
30+
image: registry.access.redhat.com/ubi8/nodejs-18:1-102
31+
args: ["tail", "-f", "/dev/null"]
32+
memoryLimit: 1024Mi
33+
name: runtime
34+
commands:
35+
- id: install
36+
exec:
37+
commandLine: npm install
38+
component: runtime
39+
group:
40+
isDefault: true
41+
kind: build
42+
workingDir: ${PROJECT_SOURCE}
43+
- id: run
44+
exec:
45+
commandLine: npm run start
46+
component: runtime
47+
group:
48+
isDefault: true
49+
kind: run
50+
hotReloadCapable: true
51+
workingDir: ${PROJECT_SOURCE}

stacks/nodejs-angular/stack.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main
99
versions:
1010
- version: 2.0.2
1111
- version: 2.1.0
12-
default: true # should have one and only one default version
1312
- version: 2.2.0
13+
- version: 2.2.1
14+
default: true # should have one and only one default version

0 commit comments

Comments
 (0)