@toa.io/operations 0.7.6-dev.1 → 0.7.6-dev.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toa.io/operations",
|
|
3
|
-
"version": "0.7.6-dev.
|
|
3
|
+
"version": "0.7.6-dev.10",
|
|
4
4
|
"description": "Toa Deployment",
|
|
5
5
|
"homepage": "https://toa.io",
|
|
6
6
|
"author": {
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@toa.io/filesystem": "1.0.2-dev.
|
|
30
|
-
"@toa.io/generic": "0.11.0-dev.
|
|
31
|
-
"@toa.io/yaml": "0.7.6-dev.
|
|
29
|
+
"@toa.io/filesystem": "1.0.2-dev.10",
|
|
30
|
+
"@toa.io/generic": "0.11.0-dev.10",
|
|
31
|
+
"@toa.io/yaml": "0.7.6-dev.10",
|
|
32
32
|
"execa": "5.1.1"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "df6df35ff3e9f2d9416118a979d3885a8a1cd897"
|
|
35
35
|
}
|
|
@@ -47,7 +47,9 @@ metadata:
|
|
|
47
47
|
{{ toYaml .ingress.annotations | indent 4 }}
|
|
48
48
|
{{- end }}
|
|
49
49
|
spec:
|
|
50
|
-
|
|
50
|
+
{{- if .ingress.class }}
|
|
51
|
+
ingressClassName: {{ .ingress.class }}
|
|
52
|
+
{{- end }}
|
|
51
53
|
rules:
|
|
52
54
|
- host: {{ required "ingress.host is required" .ingress.host }}
|
|
53
55
|
http:
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
FROM node:18.2.0-alpine3.15
|
|
2
2
|
|
|
3
3
|
ENV NODE_ENV=production
|
|
4
|
-
RUN npm set registry {{registry}}
|
|
5
|
-
RUN npm set proxy {{proxy}}
|
|
4
|
+
RUN if [ {{registry}} != undefined ]; then npm set registry {{registry}}; fi
|
|
5
|
+
RUN if [ {{proxy}} != undefined ]; then npm set proxy {{proxy}}; fi
|
|
6
6
|
RUN npm i -g @toa.io/runtime@{{version}}
|
|
7
7
|
|
|
8
8
|
WORKDIR /composition
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
FROM node:18.2.0-alpine3.15
|
|
2
2
|
|
|
3
3
|
ENV NODE_ENV=production
|
|
4
|
-
RUN npm set registry {{registry}}
|
|
5
|
-
RUN npm set proxy {{proxy}}
|
|
4
|
+
RUN if [ {{registry}} != undefined ]; then npm set registry {{registry}}; fi
|
|
5
|
+
RUN if [ {{proxy}} != undefined ]; then npm set proxy {{proxy}}; fi
|
|
6
6
|
RUN npm i -g @toa.io/runtime@{{version}}
|
|
7
7
|
|
|
8
8
|
WORKDIR /service
|
package/src/process.js
CHANGED