@ship.zone/runner 0.1.0 → 0.1.1
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
package/deno.json
CHANGED
package/dist_npm/mod.js
CHANGED
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ship.zone/runner",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "The isolated OCI job runner for ship.zone CI/CD",
|
|
5
5
|
"homepage": "https://code.foss.global/ship.zone/runner",
|
|
6
6
|
"bugs": {
|
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
"type": "module",
|
|
16
16
|
"main": "./dist_npm/mod.js",
|
|
17
17
|
"types": "./dist_npm/mod.d.ts",
|
|
18
|
+
"bin": {
|
|
19
|
+
"ship-zone-runner": "./dist_npm/mod.js"
|
|
20
|
+
},
|
|
18
21
|
"exports": {
|
|
19
22
|
".": {
|
|
20
23
|
"types": "./dist_npm/mod.d.ts",
|
package/readme.md
CHANGED
|
@@ -90,7 +90,7 @@ Create a private runner configuration:
|
|
|
90
90
|
|
|
91
91
|
```sh
|
|
92
92
|
deno run --allow-env --allow-net --allow-read --allow-write --allow-run \
|
|
93
|
-
npm:@ship.zone/runner
|
|
93
|
+
npm:@ship.zone/runner init \
|
|
94
94
|
--control-plane https://foss.global \
|
|
95
95
|
--runtime-path /usr/bin/docker
|
|
96
96
|
```
|
|
@@ -100,9 +100,9 @@ Register with a one-time bootstrap token, then start the daemon:
|
|
|
100
100
|
```sh
|
|
101
101
|
SHIP_RUNNER_BOOTSTRAP_TOKEN='<one-time token>' \
|
|
102
102
|
deno run --allow-env --allow-net --allow-read --allow-write --allow-run \
|
|
103
|
-
npm:@ship.zone/runner
|
|
103
|
+
npm:@ship.zone/runner register
|
|
104
104
|
deno run --allow-env --allow-net --allow-read --allow-write --allow-run \
|
|
105
|
-
npm:@ship.zone/runner
|
|
105
|
+
npm:@ship.zone/runner run
|
|
106
106
|
```
|
|
107
107
|
|
|
108
108
|
Replace `run` with `once` to claim at most one job or `config` to print the effective configuration
|