-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathspotty.yaml.tmpl
47 lines (43 loc) · 1.26 KB
/
spotty.yaml.tmpl
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
# You must delete disks manually on GCP :\
# https://console.cloud.google.com/compute/disks?project=hear2021-evaluation
project:
name: hearpreprocess
syncFilters:
- exclude:
- '*/__pycache__/*'
- .git/*
- .idea/*
- .mypy_cache/*
- _workdir/*
- hear-2021*.tar.gz
- hear-2021*/*
- hearpreprocess.egg-info/*
- tasks/*
containers:
- projectDir: /workspace/project
image: turian/hearpreprocess
volumeMounts:
- name: workspace
mountPath: /workspace
runtimeParameters: ['--shm-size', '20G']
instances:
- name: hearpreprocess-i1-USERNAME
provider: gcp
parameters:
zone: europe-west4-a
machineType: c2-standard-16
preemptibleInstance: False
# gcloud compute images list
# https://console.cloud.google.com/compute/images?project=hear2021-evaluation
imageUri: projects/ubuntu-os-cloud/global/images/ubuntu-2004-focal-v20210825
volumes:
- name: workspace
parameters:
# Be careful to delete this if you're not using it!
size: 2000
# Not implemented for GCP, all volumes will be retained
# deletionPolicy: retain
# mountDir: /workspace
scripts:
clean: |
bash clean.sh