-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevfile.yaml
More file actions
44 lines (40 loc) · 1.14 KB
/
devfile.yaml
File metadata and controls
44 lines (40 loc) · 1.14 KB
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
schemaVersion: 2.1.0
metadata:
name: pycharm-demo
components:
- name: tools
container:
image: quay.io/devfile/universal-developer-image:ubi8-latest
# image: quay.io/devfile/universal-developer-image:ubi8-0e189d9
# if use -latest -> devworkspace failed to progress past phase 'Starting' for longer than timeout (5m)
# see https://github.com/eclipse/che/issues/21380
# no, that's not the reason (not image, but ide)
memoryLimit: 3Gi
# experimental, non default:
# memoryRequest: 256Mi
# cpuLimit: 500m
# cpuRequest: 30m
endpoints:
- exposure: none
name: debug
protocol: tcp
targetPort: 5005
- exposure: public
name: 8080-tcp
protocol: http
targetPort: 8080
volumeMounts:
- name: m2
path: /home/user/.m2
- name: m2
volume:
size: 1G
commands:
- exec:
commandLine: pip3 freeze
component: tools
group:
kind: debug
label: List installed python packages
workingDir: '${PROJECT_SOURCE}'
id: list-installed-python-packages