-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathche.yaml
30 lines (30 loc) · 827 Bytes
/
che.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
apiVersion: 1.0.0
metadata:
name: python
projects:
- name: google-hash-code-practice-2021
source:
type: git
location: 'https://github.com/avikjis27/GoogleHashCodePractice-2021.git'
components:
- type: chePlugin
id: ms-python/python/latest
memoryLimit: 512Mi
- type: dockerimage
alias: python
image: 'quay.io/eclipse/che-python-3.7:nightly'
memoryLimit: 512Mi
mountSources: true
commands:
- name: run
actions:
- type: exec
component: python
command: '. ${CHE_PROJECTS_ROOT}/.venv/bin/activate && python run.py'
workdir: '${CHE_PROJECTS_ROOT}/google-hash-code-practice-2021'
- name: set up venv
actions:
- type: exec
workdir: '${CHE_PROJECTS_ROOT}/'
command: python -m venv /projects/.venv
component: python