@runveric/cli 0.3.0 → 0.4.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/README.md +9 -9
- package/dist/runveric.mjs +2 -2
- package/dist/runveric.mjs.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
production runner image — without pushing anything or signing in.**
|
|
5
5
|
|
|
6
6
|
```sh
|
|
7
|
-
npx @runveric/cli@0.
|
|
7
|
+
npx @runveric/cli@0.4.0 init --id yourteam/restart-web-tier
|
|
8
8
|
```
|
|
9
9
|
|
|
10
10
|
---
|
|
@@ -32,14 +32,14 @@ script outside the platform. Nothing in the product offered that. This does.
|
|
|
32
32
|
|
|
33
33
|
## Requirements
|
|
34
34
|
|
|
35
|
-
- **Node.js
|
|
35
|
+
- **Node.js 22 or newer** — for `init`, `check` and `publish`.
|
|
36
36
|
- **Docker** — for `test` only.
|
|
37
37
|
- An **Runveric account** — for `publish` only.
|
|
38
38
|
|
|
39
39
|
## Install
|
|
40
40
|
|
|
41
41
|
```sh
|
|
42
|
-
npx @runveric/cli@0.
|
|
42
|
+
npx @runveric/cli@0.4.0 <command> # no install
|
|
43
43
|
npm install -g @runveric/cli # or install the `runveric` bin
|
|
44
44
|
```
|
|
45
45
|
|
|
@@ -62,7 +62,7 @@ Pin the version your Runveric deployment shows you on its Author page rather tha
|
|
|
62
62
|
Scaffold a PowerShell action, look at what you got, validate it, and run it locally:
|
|
63
63
|
|
|
64
64
|
```sh
|
|
65
|
-
$ npx @runveric/cli@0.
|
|
65
|
+
$ npx @runveric/cli@0.4.0 init restart-web-tier \
|
|
66
66
|
--id acme/restart-web-tier \
|
|
67
67
|
--interpreter powershell \
|
|
68
68
|
--yes
|
|
@@ -172,21 +172,21 @@ publish and verify with these commands:
|
|
|
172
172
|
|
|
173
173
|
```sh
|
|
174
174
|
# one action's manifest, verbatim — stdout: <key>=<repository>@<digest>
|
|
175
|
-
npx @runveric/cli@0.
|
|
175
|
+
npx @runveric/cli@0.4.0 catalog publish-action --manifest catalog.yaml \
|
|
176
176
|
--to ghcr.io/<org>/action-azure-vm-stop
|
|
177
177
|
|
|
178
178
|
# an ENGINE action: its manifest and the image its workflow pushed, by digest, to the same package
|
|
179
|
-
npx @runveric/cli@0.
|
|
179
|
+
npx @runveric/cli@0.4.0 catalog publish-action --manifest catalog.yaml \
|
|
180
180
|
--to ghcr.io/<org>/action-azure-publicip-delete-unattached \
|
|
181
181
|
--image ghcr.io/<org>/action-azure-publicip-delete-unattached@sha256:<digest>
|
|
182
182
|
|
|
183
183
|
# a release naming each action artifact by digest — stdout: <repository>@<digest>
|
|
184
|
-
npx @runveric/cli@0.
|
|
184
|
+
npx @runveric/cli@0.4.0 catalog publish-release --from release.yaml --to ghcr.io/<org>/catalog
|
|
185
185
|
|
|
186
186
|
# what the release workflow may sign: each engine action's image, judged by the server's rule
|
|
187
187
|
# — stdout: one <repository>@<digest> per image that passed
|
|
188
|
-
npx @runveric/cli@0.
|
|
189
|
-
npx @runveric/cli@0.
|
|
188
|
+
npx @runveric/cli@0.4.0 catalog verify-image --from release.yaml
|
|
189
|
+
npx @runveric/cli@0.4.0 catalog verify-image <repository>@<digest> --key <action key> --commit <sha>
|
|
190
190
|
```
|
|
191
191
|
|
|
192
192
|
An action's package must be named after its key (`azure.vm.stop` → `action-azure-vm-stop`); the
|
package/dist/runveric.mjs
CHANGED
|
@@ -4307,7 +4307,7 @@ var require_action_image = __commonJS({
|
|
|
4307
4307
|
var action_signing_1 = require_action_signing();
|
|
4308
4308
|
var oci_media_types_1 = require_oci_media_types();
|
|
4309
4309
|
exports.ACTION_RUNTIME_REPOSITORY = "ghcr.io/runveric/action-runtime";
|
|
4310
|
-
exports.ACTION_RUNTIME_IMAGE = `${exports.ACTION_RUNTIME_REPOSITORY}@sha256:
|
|
4310
|
+
exports.ACTION_RUNTIME_IMAGE = `${exports.ACTION_RUNTIME_REPOSITORY}@sha256:55126390dc54a79668e8475757f6de6dabc8c052242079d48d888eca4fdd5963`;
|
|
4311
4311
|
exports.MAX_IMAGE_MANIFEST_BYTES = 64 * 1024;
|
|
4312
4312
|
var isRecord = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isRecord");
|
|
4313
4313
|
function imageConfigDescriptor2(manifest) {
|
|
@@ -8692,7 +8692,7 @@ var require_dist2 = __commonJS({
|
|
|
8692
8692
|
});
|
|
8693
8693
|
|
|
8694
8694
|
// package.json
|
|
8695
|
-
var version = "0.
|
|
8695
|
+
var version = "0.4.0";
|
|
8696
8696
|
|
|
8697
8697
|
// src/report.ts
|
|
8698
8698
|
var useColour = process.stdout.isTTY === true && !process.env.NO_COLOR;
|