-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdevfile.yaml
56 lines (56 loc) · 1.31 KB
/
devfile.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
schemaVersion: 2.2.0
metadata:
description: Stack with Angular 15
displayName: Angular
icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/angular.svg
language: typescript
name: solace-toolkit
projectType: angular
tags:
- NodeJS
- Angular
projects:
- name: solace-toolkit
git:
checkoutFrom:
revision: master
remotes:
origin: https://github.com/JRBowman/solace-toolkit.git
components:
- container:
command:
- /checode/entrypoint-volume.sh
cpuLimit: '2000m'
cpuRequest: '500m'
image: 'registry.redhat.io/devspaces/udi-rhel8:latest'
memoryLimit: 4G
memoryRequest: 1384Mi
mountSources: true
sourceMapping: /projects
volumeMounts:
- name: npm
path: /home/user/.npm
- name: checode
path: /checode
name: tools
- name: npm
volume:
size: 5Gi
commands:
- exec:
commandLine: npm install
component: tools
group:
isDefault: true
kind: build
workingDir: ${PROJECTS_ROOT}/solace-toolkit
id: install
- exec:
commandLine: npm run start
component: tools
group:
isDefault: true
kind: run
hotReloadCapable: true
workingDir: ${PROJECTS_ROOT}/solace-toolkit
id: run