@toa.io/operations 1.0.0-alpha.330 → 1.0.0-alpha.332
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,21 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.0.0-alpha.332](https://github.com/toa-io/toa/compare/v1.0.0-alpha.331...v1.0.0-alpha.332) (2026-10-23)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @toa.io/operations
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [1.0.0-alpha.331](https://github.com/toa-io/toa/compare/v1.0.0-alpha.330...v1.0.0-alpha.331) (2026-10-16)
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* **operations:** a deploy waited for is rolled back where it fails ([41ce1c5](https://github.com/toa-io/toa/commit/41ce1c5f462c5dcd78e138dba7c7cc4300e8e9fb))
|
|
19
|
+
|
|
20
|
+
|
|
6
21
|
# [1.0.0-alpha.330](https://github.com/toa-io/toa/compare/v1.0.0-alpha.329...v1.0.0-alpha.330) (2026-10-15)
|
|
7
22
|
|
|
8
23
|
**Note:** Version bump only for package @toa.io/operations
|
package/image/runtime.Dockerfile
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toa.io/operations",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.332",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Toa Deployment",
|
|
6
6
|
"homepage": "https://toa.io",
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@toa.io/generic": "1.0.0-alpha.
|
|
31
|
+
"@toa.io/generic": "1.0.0-alpha.332",
|
|
32
32
|
"@toa.io/kubernetes": "1.0.0-alpha.301",
|
|
33
|
-
"@toa.io/norm": "1.0.0-alpha.
|
|
34
|
-
"oxc-parser": "0.
|
|
33
|
+
"@toa.io/norm": "1.0.0-alpha.332",
|
|
34
|
+
"oxc-parser": "0.154.0",
|
|
35
35
|
"paseto": "4.0.1"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "37dbdefd96c01df050ea0d46a647da7f2f9f93f2"
|
|
38
38
|
}
|
package/readme.md
CHANGED
|
@@ -94,7 +94,7 @@ That image must provide the `toa` CLI, or install it via `registry.build.run`. T
|
|
|
94
94
|
|
|
95
95
|
registry:
|
|
96
96
|
build:
|
|
97
|
-
image: node:24.
|
|
97
|
+
image: node:24.22.1-alpine3.24
|
|
98
98
|
run: |
|
|
99
99
|
npm i --prefix /toa @toa.io/runtime --omit=dev
|
|
100
100
|
ln -s /toa/node_modules/.bin/toa /usr/local/bin/toa
|
|
@@ -68,7 +68,9 @@ export class Deployment {
|
|
|
68
68
|
const args = []
|
|
69
69
|
|
|
70
70
|
if (options.namespace !== undefined) args.push('-n', options.namespace)
|
|
71
|
-
|
|
71
|
+
// an upgrade waited for and failed — or timed out — is rolled back, rather than left pending:
|
|
72
|
+
// a pending release refuses every upgrade after it
|
|
73
|
+
if (options.wait === true) args.push('--wait', '--atomic')
|
|
72
74
|
if (options.timeout !== undefined) args.push('--timeout', options.timeout)
|
|
73
75
|
|
|
74
76
|
await this.#update()
|
|
@@ -69,13 +69,13 @@ describe('runtime base image', () => {
|
|
|
69
69
|
|
|
70
70
|
it('should allow registry.build.image override', async () => {
|
|
71
71
|
const runtime = { version: '1.0.0-alpha.232' }
|
|
72
|
-
const registry = { build: { image: 'node:24.
|
|
72
|
+
const registry = { build: { image: 'node:24.22.1-alpine3.24' } }
|
|
73
73
|
const image = new TestImage(runtime, registry, dependenciesDockerfile)
|
|
74
74
|
|
|
75
75
|
const path = await image.prepare(root)
|
|
76
76
|
const dockerfile = await readFile(join(path, 'Dockerfile'), 'utf8')
|
|
77
77
|
|
|
78
|
-
assert.ok(dockerfile.includes('FROM node:24.
|
|
78
|
+
assert.ok(dockerfile.includes('FROM node:24.22.1-alpine3.24'))
|
|
79
79
|
assert.ok(!dockerfile.includes(RUNTIME_IMAGE))
|
|
80
80
|
})
|
|
81
81
|
|