relayrunner 0.17.0 → 0.19.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.
Files changed (2) hide show
  1. package/README.md +26 -2
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -184,8 +184,10 @@ It sorts every job into one of three groups:
184
184
  Linux package installs on a Mac.
185
185
  - **Already routed**: the job runs where a relay sends it.
186
186
  - **Skipped, with the reason**: a matrix, a `runs-on` expression, list or
187
- group, a reusable workflow, a deploy job (`environment`, `id-token: write`,
188
- or secrets other than `GITHUB_TOKEN`), Windows, or an unknown label.
187
+ group, a reusable workflow, a deploy job (`environment`, `write-all`
188
+ permissions, secrets other than `GITHUB_TOKEN`, or `id-token: write` with a
189
+ cloud sign-in action or a publish command), Windows, or an unknown label.
190
+ `id-token: write` on its own, such as for a remote cache, is a warning.
189
191
 
190
192
  A public repo is refused: machines never take public repos' jobs. Visibility is
191
193
  checked with an anonymous GitHub API call, so it doesn't matter which account
@@ -197,6 +199,9 @@ checked with an anonymous GitHub API call, so it doesn't matter which account
197
199
  every ready job. Add `--json` for a JSON result.
198
200
  - `--auto` writes `auto` instead of the label for Linux x64 jobs, so their size
199
201
  is set on the dashboard's Router page. macOS and Arm jobs keep their labels.
202
+ - `--allow-deploy <jobs>` treats those jobs as ready even though they look like
203
+ deploy jobs, with a warning, for when you're fine giving the machine their
204
+ secrets and cloud access. Name them in `--apply` too.
200
205
 
201
206
  ## `relayrunner pause` and `relayrunner resume`
202
207
 
@@ -242,6 +247,25 @@ to start on the machine come first. `--repo`, `--workflow`, `--result`
242
247
  machine only sees jobs that ran on it. RelayRunner for Mac's Jobs window reads
243
248
  the same.
244
249
 
250
+ ## `relayrunner blacksmith`
251
+
252
+ ```sh
253
+ npx relayrunner blacksmith connect
254
+ npx relayrunner blacksmith connect --workspace acme
255
+ ```
256
+
257
+ Connects a Blacksmith organization so Settings › Providers shows its real
258
+ usage. It runs Blacksmith's own `blacksmith org-token create`, which you
259
+ approve in your browser as a Blacksmith org admin, and sends only the token it
260
+ prints (PUT /api/machines/me/providers/blacksmith/connection). It never signs
261
+ in to Blacksmith or reads Blacksmith's saved credentials. Without Blacksmith's
262
+ CLI on PATH it offers to download it into `~/.relayrunner/bin`, checked
263
+ against the SHA-256 Blacksmith publishes (`--yes` skips the question). The
264
+ token must be for the GitHub organization a workspace is on, and goes to that
265
+ workspace, or the one `--workspace` names, which you must own or administer.
266
+ A token for any other organization is refused. Exits 1 when not signed
267
+ in.
268
+
245
269
  ## `relayrunner share`
246
270
 
247
271
  ```sh
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "relayrunner",
3
- "version": "0.17.0",
3
+ "version": "0.19.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Run GitHub Actions jobs on your machine through the RelayRunner gateway.",
6
6
  "repository": {
@@ -19,9 +19,9 @@
19
19
  "bin"
20
20
  ],
21
21
  "optionalDependencies": {
22
- "@relayrunner/cli-darwin-arm64": "0.17.0",
23
- "@relayrunner/cli-darwin-x64": "0.17.0",
24
- "@relayrunner/cli-linux-arm64": "0.17.0",
25
- "@relayrunner/cli-linux-x64": "0.17.0"
22
+ "@relayrunner/cli-darwin-arm64": "0.19.0",
23
+ "@relayrunner/cli-darwin-x64": "0.19.0",
24
+ "@relayrunner/cli-linux-arm64": "0.19.0",
25
+ "@relayrunner/cli-linux-x64": "0.19.0"
26
26
  }
27
27
  }