anbaric 1.77.0 → 1.79.0
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/docs/features/deploying.md +10 -6
- package/package.json +5 -5
|
@@ -66,12 +66,16 @@ anbaric jobs watch <job-id> # follow a job as it progresses
|
|
|
66
66
|
started, which is before the app inside it is listening, so there is a gap
|
|
67
67
|
of the app's boot time in which it does not answer. **Zero-downtime
|
|
68
68
|
deploys**, switched on per app on the Manage apps page for $10/£10 a month,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
69
|
+
are different all the way through: the old version is not drained for the
|
|
70
|
+
build, it keeps serving and keeps taking steps while the new one builds and
|
|
71
|
+
starts; it is retired only once the new one is answering, and keeps
|
|
72
|
+
answering for a few seconds more while the app's name stops pointing at
|
|
73
|
+
it, finishing the steps it has in hand before it goes. A request in the
|
|
74
|
+
switch-over may reach either version; one that reaches an address on its
|
|
75
|
+
way out is retried on the other.
|
|
76
|
+
Without the setting, jobs pause from the drain until the new version is up.
|
|
77
|
+
The setting takes effect from the next deploy and is off by default. Anbaric
|
|
78
|
+
Cloud only.
|
|
75
79
|
|
|
76
80
|
## Updating and tearing down
|
|
77
81
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "anbaric",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.79.0",
|
|
4
4
|
"description": "Everything needed to write an Anbaric app: state machines, jobs, document and secret stores, local in-memory implementations and the Anbaric Cloud clients",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"prepublishOnly": "npm run build"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"anbaric-impl-cloud": "^1.
|
|
28
|
-
"anbaric-data-store": "^1.
|
|
29
|
-
"anbaric-state-machine": "^1.
|
|
30
|
-
"anbaric-tsapi": "^1.
|
|
27
|
+
"anbaric-impl-cloud": "^1.79.0",
|
|
28
|
+
"anbaric-data-store": "^1.79.0",
|
|
29
|
+
"anbaric-state-machine": "^1.79.0",
|
|
30
|
+
"anbaric-tsapi": "^1.79.0"
|
|
31
31
|
}
|
|
32
32
|
}
|