-
Notifications
You must be signed in to change notification settings - Fork 13
/
devfile.yaml
56 lines (56 loc) · 1.43 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
apiVersion: 1.0.0
metadata:
name: cpp-viralsim
projects:
- name: Viral-Simulation-2020-2021
source:
location: 'https://github.com/wbrinksma/Viral-Simulation-2020-2021.git'
type: git
branch: main
components:
- id: che-incubator/cpptools/latest
preferences:
clangd.path: /usr/bin/clangd
cdt.clangd.binaries.enable: false
type: chePlugin
alias: cpp-plugin
- mountSources: true
endpoints:
- attributes:
public: 'true'
protocol: http
discoverable: 'false'
name: web
port: 8000
command:
- sleep
- infinity
memoryLimit: 512Mi
type: dockerimage
alias: cpp-dev
image: emscripten/emsdk
commands:
- name: run-production
actions:
- workdir: '${CHE_PROJECTS_ROOT}/Viral-Simulation-2020-2021'
type: exec
command: make run-production
component: cpp-dev
- name: run-debug
actions:
- workdir: '${CHE_PROJECTS_ROOT}/Viral-Simulation-2020-2021'
type: exec
command: make run-debug
component: cpp-dev
- name: build-production
actions:
- workdir: '${CHE_PROJECTS_ROOT}/Viral-Simulation-2020-2021'
type: exec
command: make build-production
component: cpp-dev
- name: build-debug
actions:
- workdir: '${CHE_PROJECTS_ROOT}/Viral-Simulation-2020-2021'
type: exec
command: make build-debug
component: cpp-dev