We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc4c84b commit 2970b65Copy full SHA for 2970b65
1 file changed
.diploi/helm/app.yaml
@@ -38,7 +38,16 @@ spec:
38
- name: install-dependencies
39
image: {{ .Values.images.app }}
40
imagePullPolicy: Always
41
- command: ["/bin/sh", "-c", "dotnet build && dotnet tool restore && dotnet tool run libman restore"]
+ command:
42
+ - /bin/sh
43
+ - -c
44
+ - >
45
+ set -euo pipefail;
46
+ dotnet build;
47
+ dotnet tool restore;
48
+ if ! dotnet tool run libman restore; then
49
+ echo "libman restore failed but continuing pod startup" >&2;
50
+ fi
51
workingDir: /app{{ .Values.folder }}
52
volumeMounts:
53
{{- if hasKey .Values.storage "code" }}
@@ -101,4 +110,4 @@ spec:
101
110
- ReadWriteOnce
102
111
resources:
103
112
requests:
104
- storage: 1Gi
113
+ storage: 1Gi
0 commit comments