forked from c3s-applications/helm-chart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
devspace.yaml
48 lines (43 loc) · 1.3 KB
/
devspace.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
version: v2beta1
name: c3s-ecde-app-helm-deployment
vars:
DEVSPACE_ENV_FILE: '.env'
PROJECT_PATH: '..'
pipelines:
deploy:
run: |-
create_deployments ecde-helm-chart
start_dev --all
deployments:
ecde-helm-chart:
helm:
releaseName: ecde
chart:
name: ./ecde-application
valuesFiles:
- ./ecde-application/values-remote.yaml
values:
sharedPvc:
pvName: ${USER}-pv-wms
storage: 10Gi
storageclass: nfs-csi
apiServer:
port: ${APISERVER_PORT}
wms:
port: ${SKINNYWMS_PORT}
dev:
api-server:
imageSelector: eccr.ecmwf.int/c3s-applications/ecde-server
command: ['bash', '-c', 'python3 ./european_climate_data_explorer/preload_wms.py && cp -r ./european_climate_data_explorer/skinnywms/* /skinnywms/ && make start-server API_HOST=0.0.0.0 ROOT_PATH=$ROOT_PATH']
sync:
- path: '${PROJECT_PATH}/european-climate-data-explorer/:/src/european-climate-data-explorer'
startContainer: true
onUpload:
restartContainer: true
#webapp:
# imageSelector: eccr.ecmwf.int/c3s-applications/ecde-webapp
# sync:
# - path: '${PROJECT_PATH}/european-climate-data-explorer/:/src/ecde-webapp'
# startContainer: true
# onUpload:
# restartContainer: true