Skip to content

Commit

Permalink
chore: use https protocol and update devfile scheme to 2.2.2 for dotn…
Browse files Browse the repository at this point in the history
…etcore31 and angular (#398)

* update dotnetcore31/devfile.yaml

Signed-off-by: vitaliy-guliy <[email protected]>

* update angurar devfiles

Signed-off-by: vitaliy-guliy <[email protected]>

* chore: reorder commands

Signed-off-by: vitaliy-guliy <[email protected]>

* update devfiles

Signed-off-by: vitaliy-guliy <[email protected]>

* update devfiles

Signed-off-by: vitaliy-guliy <[email protected]>

* update devfiles

Signed-off-by: vitaliy-guliy <[email protected]>

* update devfiles

Signed-off-by: vitaliy-guliy <[email protected]>

---------

Signed-off-by: vitaliy-guliy <[email protected]>
  • Loading branch information
vitaliy-guliy authored May 27, 2024
1 parent 4697963 commit 3b82016
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 3 deletions.
5 changes: 3 additions & 2 deletions stacks/dotnetcore31/devfile.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
schemaVersion: 2.1.0
schemaVersion: 2.2.2
metadata:
name: dotnetcore31
displayName: .NET Core 3.1
Expand Down Expand Up @@ -35,7 +35,8 @@ components:
- name: ASPNETCORE_URLS
value: http://*:8080
endpoints:
- name: http-dotnetcore
- name: https-dotnet
protocol: https
targetPort: 8080
commands:
- id: build
Expand Down
51 changes: 51 additions & 0 deletions stacks/nodejs-angular/2.2.1/devfile.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
schemaVersion: 2.2.2
metadata:
name: nodejs-angular
displayName: Angular
description: "Angular is a development platform, built on TypeScript. As a platform, Angular includes:
A component-based framework for building scalable web applications
A collection of well-integrated libraries that cover a wide variety of features, including routing, forms management, client-server communication, and more
A suite of developer tools to help you develop, build, test, and update your code"
icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/angular.svg
tags:
- Node.js
- Angular
projectType: Angular
language: TypeScript
provider: Red Hat
version: 2.2.1
starterProjects:
- name: nodejs-angular-starter
git:
checkoutFrom:
revision: main
remotes:
origin: https://github.com/devfile-samples/devfile-stack-nodejs-angular.git
components:
- container:
endpoints:
- name: https-angular
protocol: https
targetPort: 4200
image: registry.access.redhat.com/ubi8/nodejs-18:1-102
args: ["tail", "-f", "/dev/null"]
memoryLimit: 1024Mi
name: runtime
commands:
- id: install
exec:
commandLine: npm install
component: runtime
group:
isDefault: true
kind: build
workingDir: ${PROJECT_SOURCE}
- id: run
exec:
commandLine: npm run start
component: runtime
group:
isDefault: true
kind: run
hotReloadCapable: true
workingDir: ${PROJECT_SOURCE}
3 changes: 2 additions & 1 deletion stacks/nodejs-angular/stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main
versions:
- version: 2.0.2
- version: 2.1.0
default: true # should have one and only one default version
- version: 2.2.0
- version: 2.2.1
default: true # should have one and only one default version

0 comments on commit 3b82016

Please sign in to comment.