switchroom 0.13.2 → 0.13.4
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/dist/agent-scheduler/index.js +2 -2
- package/dist/auth-broker/index.js +2 -2
- package/dist/cli/switchroom.js +132 -214
- package/dist/host-control/main.js +2 -2
- package/dist/vault/approvals/kernel-server.js +2 -2
- package/dist/vault/broker/server.js +2 -2
- package/package.json +1 -1
- package/profiles/_base/start.sh.hbs +8 -8
- package/profiles/default/CLAUDE.md.hbs +1 -1
- package/telegram-plugin/dist/gateway/gateway.js +42 -10
- package/telegram-plugin/gateway/boot-probes.ts +13 -6
- package/telegram-plugin/gateway/gateway.ts +44 -6
- package/telegram-plugin/hooks/silent-end-interrupt-stop.mjs +5 -1
- package/telegram-plugin/silent-end.ts +56 -0
- package/telegram-plugin/tests/boot-probes.test.ts +26 -2
- package/telegram-plugin/tests/silent-end.test.ts +69 -0
- package/telegram-plugin/uat/scenarios/bridge-flap-resilience-dm.test.ts +166 -0
- package/skills/buildkite-agent-infrastructure/SKILL.md +0 -321
- package/skills/buildkite-agent-infrastructure/agents/openai.yaml +0 -6
- package/skills/buildkite-agent-infrastructure/assets/buildkite-icon-large.png +0 -0
- package/skills/buildkite-agent-infrastructure/assets/buildkite-icon-small.png +0 -0
- package/skills/buildkite-agent-infrastructure/references/audit-logging.md +0 -87
- package/skills/buildkite-agent-infrastructure/references/graphql-mutations.md +0 -690
- package/skills/buildkite-agent-infrastructure/references/instance-shapes.md +0 -38
- package/skills/buildkite-agent-infrastructure/references/pipeline-templates.md +0 -73
- package/skills/buildkite-agent-infrastructure/references/self-hosted-agents.md +0 -137
- package/skills/buildkite-agent-infrastructure/references/sso-saml.md +0 -92
- package/skills/buildkite-agent-runtime/SKILL.md +0 -509
- package/skills/buildkite-agent-runtime/agents/openai.yaml +0 -6
- package/skills/buildkite-agent-runtime/assets/buildkite-icon-large.png +0 -0
- package/skills/buildkite-agent-runtime/assets/buildkite-icon-small.png +0 -0
- package/skills/buildkite-agent-runtime/references/flag-reference.md +0 -417
- package/skills/buildkite-agent-runtime/references/patterns-and-recipes.md +0 -555
- package/skills/buildkite-api/SKILL.md +0 -308
- package/skills/buildkite-api/agents/openai.yaml +0 -6
- package/skills/buildkite-api/assets/buildkite-icon-large.png +0 -0
- package/skills/buildkite-api/assets/buildkite-icon-small.png +0 -0
- package/skills/buildkite-api/references/graphql-reference.md +0 -195
- package/skills/buildkite-api/references/patterns.md +0 -44
- package/skills/buildkite-api/references/webhooks.md +0 -161
- package/skills/buildkite-cli/SKILL.md +0 -397
- package/skills/buildkite-cli/agents/openai.yaml +0 -6
- package/skills/buildkite-cli/assets/buildkite-icon-large.png +0 -0
- package/skills/buildkite-cli/assets/buildkite-icon-small.png +0 -0
- package/skills/buildkite-cli/references/command-reference.md +0 -181
- package/skills/buildkite-migration/SKILL.md +0 -195
- package/skills/buildkite-pipelines/SKILL.md +0 -481
- package/skills/buildkite-pipelines/agents/openai.yaml +0 -6
- package/skills/buildkite-pipelines/assets/buildkite-icon-large.png +0 -0
- package/skills/buildkite-pipelines/assets/buildkite-icon-small.png +0 -0
- package/skills/buildkite-pipelines/examples/basic-pipeline.yml +0 -24
- package/skills/buildkite-pipelines/examples/optimized-pipeline.yml +0 -100
- package/skills/buildkite-pipelines/references/advanced-patterns.md +0 -286
- package/skills/buildkite-pipelines/references/retry-and-error-codes.md +0 -131
- package/skills/buildkite-pipelines/references/step-types-reference.md +0 -225
- package/skills/buildkite-secure-delivery/SKILL.md +0 -182
- package/skills/buildkite-secure-delivery/agents/openai.yaml +0 -6
- package/skills/buildkite-secure-delivery/assets/buildkite-icon-large.png +0 -0
- package/skills/buildkite-secure-delivery/assets/buildkite-icon-small.png +0 -0
- package/skills/buildkite-secure-delivery/references/oidc-cloud-providers.md +0 -83
- package/skills/buildkite-secure-delivery/references/package-publishing.md +0 -100
- package/skills/buildkite-test-engine/SKILL.md +0 -256
- package/skills/buildkite-test-engine/agents/openai.yaml +0 -6
- package/skills/buildkite-test-engine/assets/buildkite-icon-large.png +0 -0
- package/skills/buildkite-test-engine/assets/buildkite-icon-small.png +0 -0
- package/skills/buildkite-test-engine/examples/bktec-splitting.yml +0 -16
- package/skills/buildkite-test-engine/examples/collector-pipeline.yml +0 -11
- package/skills/buildkite-test-engine/references/collectors.md +0 -198
- package/skills/buildkite-test-engine/references/splitting-examples.md +0 -93
|
@@ -1,417 +0,0 @@
|
|
|
1
|
-
# Buildkite Agent Runtime — Complete Flag Reference
|
|
2
|
-
|
|
3
|
-
Exhaustive flag tables for every `buildkite-agent` subcommand used inside job steps. The SKILL.md contains the most common flags inline; this file has the full set.
|
|
4
|
-
|
|
5
|
-
## annotate
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
buildkite-agent annotate [body] [options...]
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
| Flag | Short | Default | Description |
|
|
12
|
-
|------|-------|---------|-------------|
|
|
13
|
-
| `--style` | `-s` | `default` | Annotation style: `default`, `info`, `warning`, `error`, `success` |
|
|
14
|
-
| `--context` | `-c` | random UUID | Unique context key — reusing replaces the annotation |
|
|
15
|
-
| `--append` | — | `false` | Append content to existing annotation with same context |
|
|
16
|
-
| `--priority` | — | `3` | Display priority (1-10), higher numbers shown first |
|
|
17
|
-
| `--job` | — | current job | Job UUID to annotate |
|
|
18
|
-
| `--agent-access-token` | — | from env | Agent registration token |
|
|
19
|
-
| `--endpoint` | — | from config | Agent API endpoint |
|
|
20
|
-
| `--no-color` | — | `false` | Disable colored output |
|
|
21
|
-
| `--debug` | — | `false` | Enable debug logging |
|
|
22
|
-
|
|
23
|
-
Body can be passed as a positional argument, piped from stdin, or read from a file via redirection.
|
|
24
|
-
|
|
25
|
-
## artifact upload
|
|
26
|
-
|
|
27
|
-
```
|
|
28
|
-
buildkite-agent artifact upload <pattern> [destination] [options...]
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
| Flag | Short | Default | Description |
|
|
32
|
-
|------|-------|---------|-------------|
|
|
33
|
-
| `--job` | — | `$BUILDKITE_JOB_ID` | Job UUID to associate artifacts with |
|
|
34
|
-
| `--content-type` | — | auto-detected | MIME type for uploaded files |
|
|
35
|
-
| `--glob` | — | — | Glob pattern (alternative to positional argument) |
|
|
36
|
-
| `--follow-symlinks` | — | `false` | Follow symbolic links when resolving globs |
|
|
37
|
-
| `--upload-skip-symlinks` | — | `false` | Skip symbolic links entirely |
|
|
38
|
-
| `--agent-access-token` | — | from env | Agent registration token |
|
|
39
|
-
| `--endpoint` | — | from config | Agent API endpoint |
|
|
40
|
-
| `--debug` | — | `false` | Enable debug logging |
|
|
41
|
-
|
|
42
|
-
Multiple glob patterns can be separated by `;` in the positional argument: `"logs/*.log;dist/**/*"`.
|
|
43
|
-
|
|
44
|
-
## artifact download
|
|
45
|
-
|
|
46
|
-
```
|
|
47
|
-
buildkite-agent artifact download <query> <destination> [options...]
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
| Flag | Short | Default | Description |
|
|
51
|
-
|------|-------|---------|-------------|
|
|
52
|
-
| `--step` | — | all steps | Step key or UUID to scope downloads to |
|
|
53
|
-
| `--build` | — | current build | Build UUID to download from |
|
|
54
|
-
| `--include-retried-jobs` | — | `false` | Include artifacts from retried job attempts |
|
|
55
|
-
| `--agent-access-token` | — | from env | Agent registration token |
|
|
56
|
-
| `--endpoint` | — | from config | Agent API endpoint |
|
|
57
|
-
| `--debug` | — | `false` | Enable debug logging |
|
|
58
|
-
|
|
59
|
-
Quote wildcard queries to prevent shell expansion: `"pkg/*.tar.gz"` not `pkg/*.tar.gz`.
|
|
60
|
-
|
|
61
|
-
## artifact search
|
|
62
|
-
|
|
63
|
-
```
|
|
64
|
-
buildkite-agent artifact search <query> [options...]
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
| Flag | Short | Default | Description |
|
|
68
|
-
|------|-------|---------|-------------|
|
|
69
|
-
| `--step` | — | all steps | Step key or UUID to scope search to |
|
|
70
|
-
| `--build` | — | current build | Build UUID to search within |
|
|
71
|
-
| `--format` | — | default | Output format template (e.g., `%p\n` for path per line) |
|
|
72
|
-
| `--include-retried-jobs` | — | `false` | Include artifacts from retried job attempts |
|
|
73
|
-
| `--agent-access-token` | — | from env | Agent registration token |
|
|
74
|
-
| `--endpoint` | — | from config | Agent API endpoint |
|
|
75
|
-
| `--debug` | — | `false` | Enable debug logging |
|
|
76
|
-
|
|
77
|
-
## artifact shasum
|
|
78
|
-
|
|
79
|
-
```
|
|
80
|
-
buildkite-agent artifact shasum <query> [options...]
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
| Flag | Short | Default | Description |
|
|
84
|
-
|------|-------|---------|-------------|
|
|
85
|
-
| `--sha256` | — | `false` | Return SHA-256 hash instead of SHA-1 |
|
|
86
|
-
| `--step` | — | all steps | Step key or UUID to scope to |
|
|
87
|
-
| `--build` | — | current build | Build UUID |
|
|
88
|
-
| `--agent-access-token` | — | from env | Agent registration token |
|
|
89
|
-
| `--endpoint` | — | from config | Agent API endpoint |
|
|
90
|
-
| `--debug` | — | `false` | Enable debug logging |
|
|
91
|
-
|
|
92
|
-
SHA-256 is only available for artifacts uploaded after SHA-256 support was added. Older artifacts only have SHA-1.
|
|
93
|
-
|
|
94
|
-
## meta-data set
|
|
95
|
-
|
|
96
|
-
```
|
|
97
|
-
buildkite-agent meta-data set <key> [value] [options...]
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
| Flag | Short | Default | Description |
|
|
101
|
-
|------|-------|---------|-------------|
|
|
102
|
-
| `--job` | — | current job | Job UUID for context |
|
|
103
|
-
| `--build` | — | current build | Build UUID |
|
|
104
|
-
| `--agent-access-token` | — | from env | Agent registration token |
|
|
105
|
-
| `--endpoint` | — | from config | Agent API endpoint |
|
|
106
|
-
| `--debug` | — | `false` | Enable debug logging |
|
|
107
|
-
|
|
108
|
-
Value can be passed as second positional argument, piped from stdin, or redirected from a file. Value must be a non-empty string.
|
|
109
|
-
|
|
110
|
-
## meta-data get
|
|
111
|
-
|
|
112
|
-
```
|
|
113
|
-
buildkite-agent meta-data get <key> [options...]
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
| Flag | Short | Default | Description |
|
|
117
|
-
|------|-------|---------|-------------|
|
|
118
|
-
| `--default` | — | — | Default value if key does not exist (prevents non-zero exit) |
|
|
119
|
-
| `--job` | — | current job | Job UUID for context |
|
|
120
|
-
| `--build` | — | current build | Build UUID |
|
|
121
|
-
| `--agent-access-token` | — | from env | Agent registration token |
|
|
122
|
-
| `--endpoint` | — | from config | Agent API endpoint |
|
|
123
|
-
| `--debug` | — | `false` | Enable debug logging |
|
|
124
|
-
|
|
125
|
-
Without `--default`, exits with a non-zero code if the key does not exist.
|
|
126
|
-
|
|
127
|
-
## meta-data exists
|
|
128
|
-
|
|
129
|
-
```
|
|
130
|
-
buildkite-agent meta-data exists <key> [options...]
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
| Flag | Short | Default | Description |
|
|
134
|
-
|------|-------|---------|-------------|
|
|
135
|
-
| `--job` | — | current job | Job UUID for context |
|
|
136
|
-
| `--build` | — | current build | Build UUID |
|
|
137
|
-
| `--agent-access-token` | — | from env | Agent registration token |
|
|
138
|
-
| `--endpoint` | — | from config | Agent API endpoint |
|
|
139
|
-
| `--debug` | — | `false` | Enable debug logging |
|
|
140
|
-
|
|
141
|
-
Returns exit code `0` if key exists, `100` if not.
|
|
142
|
-
|
|
143
|
-
## meta-data keys
|
|
144
|
-
|
|
145
|
-
```
|
|
146
|
-
buildkite-agent meta-data keys [options...]
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
| Flag | Short | Default | Description |
|
|
150
|
-
|------|-------|---------|-------------|
|
|
151
|
-
| `--build` | — | current build | Build UUID |
|
|
152
|
-
| `--agent-access-token` | — | from env | Agent registration token |
|
|
153
|
-
| `--endpoint` | — | from config | Agent API endpoint |
|
|
154
|
-
| `--debug` | — | `false` | Enable debug logging |
|
|
155
|
-
|
|
156
|
-
Outputs one key per line.
|
|
157
|
-
|
|
158
|
-
## pipeline upload
|
|
159
|
-
|
|
160
|
-
```
|
|
161
|
-
buildkite-agent pipeline upload [file] [options...]
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
| Flag | Short | Default | Description |
|
|
165
|
-
|------|-------|---------|-------------|
|
|
166
|
-
| `--replace` | — | `false` | Replace remaining pipeline steps instead of appending |
|
|
167
|
-
| `--no-interpolation` | — | `false` | Skip `$VARIABLE` interpolation in the uploaded YAML |
|
|
168
|
-
| `--dry-run` | — | `false` | Output the parsed pipeline without uploading |
|
|
169
|
-
| `--reject-secrets` | — | `false` | Reject upload if plain-text secrets are detected |
|
|
170
|
-
| `--job` | — | current job | Job UUID |
|
|
171
|
-
| `--agent-access-token` | — | from env | Agent registration token |
|
|
172
|
-
| `--endpoint` | — | from config | Agent API endpoint |
|
|
173
|
-
| `--debug` | — | `false` | Enable debug logging |
|
|
174
|
-
|
|
175
|
-
If no file is specified, looks for `.buildkite/pipeline.yml`, `.buildkite/pipeline.json`, `buildkite.yml`, or `buildkite.json`. Pipeline is limited to 500 steps per upload.
|
|
176
|
-
|
|
177
|
-
## oidc request-token
|
|
178
|
-
|
|
179
|
-
```
|
|
180
|
-
buildkite-agent oidc request-token [options...]
|
|
181
|
-
```
|
|
182
|
-
|
|
183
|
-
| Flag | Short | Default | Description |
|
|
184
|
-
|------|-------|---------|-------------|
|
|
185
|
-
| `--audience` | — | Buildkite endpoint | Target service URL for the token's `aud` claim |
|
|
186
|
-
| `--lifetime` | — | `600` | Token lifetime in seconds |
|
|
187
|
-
| `--claim` | — | — | Comma-separated optional claims to include (e.g., `organization_id,pipeline_id`) |
|
|
188
|
-
| `--aws-session-tag` | — | — | Comma-separated claims to map as AWS session tags |
|
|
189
|
-
| `--job` | — | current job | Job UUID |
|
|
190
|
-
| `--agent-access-token` | — | from env | Agent registration token |
|
|
191
|
-
| `--endpoint` | — | from config | Agent API endpoint |
|
|
192
|
-
| `--debug` | — | `false` | Enable debug logging |
|
|
193
|
-
|
|
194
|
-
Token is printed to stdout. Pipe or capture with `$()`.
|
|
195
|
-
|
|
196
|
-
## step get
|
|
197
|
-
|
|
198
|
-
```
|
|
199
|
-
buildkite-agent step get <attribute> [options...]
|
|
200
|
-
```
|
|
201
|
-
|
|
202
|
-
| Flag | Short | Default | Description |
|
|
203
|
-
|------|-------|---------|-------------|
|
|
204
|
-
| `--step` | — | current step | Step key or UUID |
|
|
205
|
-
| `--build` | — | current build | Build UUID |
|
|
206
|
-
| `--format` | — | `string` | Output format |
|
|
207
|
-
| `--agent-access-token` | — | from env | Agent registration token |
|
|
208
|
-
| `--endpoint` | — | from config | Agent API endpoint |
|
|
209
|
-
| `--debug` | — | `false` | Enable debug logging |
|
|
210
|
-
|
|
211
|
-
## step update
|
|
212
|
-
|
|
213
|
-
```
|
|
214
|
-
buildkite-agent step update <attribute> <value> [options...]
|
|
215
|
-
```
|
|
216
|
-
|
|
217
|
-
| Flag | Short | Default | Description |
|
|
218
|
-
|------|-------|---------|-------------|
|
|
219
|
-
| `--step` | — | current step | Step key or UUID |
|
|
220
|
-
| `--build` | — | current build | Build UUID |
|
|
221
|
-
| `--agent-access-token` | — | from env | Agent registration token |
|
|
222
|
-
| `--endpoint` | — | from config | Agent API endpoint |
|
|
223
|
-
| `--debug` | — | `false` | Enable debug logging |
|
|
224
|
-
|
|
225
|
-
## step cancel
|
|
226
|
-
|
|
227
|
-
```
|
|
228
|
-
buildkite-agent step cancel [options...]
|
|
229
|
-
```
|
|
230
|
-
|
|
231
|
-
| Flag | Short | Default | Description |
|
|
232
|
-
|------|-------|---------|-------------|
|
|
233
|
-
| `--step` | — | current step | Step key or UUID to cancel |
|
|
234
|
-
| `--build` | — | current build | Build UUID |
|
|
235
|
-
| `--force` | — | `false` | Force cancel even if the step is running |
|
|
236
|
-
| `--agent-access-token` | — | from env | Agent registration token |
|
|
237
|
-
| `--endpoint` | — | from config | Agent API endpoint |
|
|
238
|
-
| `--debug` | — | `false` | Enable debug logging |
|
|
239
|
-
|
|
240
|
-
## lock acquire
|
|
241
|
-
|
|
242
|
-
```
|
|
243
|
-
buildkite-agent lock acquire <name> [options...]
|
|
244
|
-
```
|
|
245
|
-
|
|
246
|
-
| Flag | Short | Default | Description |
|
|
247
|
-
|------|-------|---------|-------------|
|
|
248
|
-
| `--timeout` | — | `0` (wait forever) | Maximum wait time in seconds |
|
|
249
|
-
| `--agent-access-token` | — | from env | Agent registration token |
|
|
250
|
-
| `--endpoint` | — | from config | Agent API endpoint |
|
|
251
|
-
| `--debug` | — | `false` | Enable debug logging |
|
|
252
|
-
|
|
253
|
-
Returns a lock token (string) that must be passed to `lock release`.
|
|
254
|
-
|
|
255
|
-
## lock release
|
|
256
|
-
|
|
257
|
-
```
|
|
258
|
-
buildkite-agent lock release <name> <token> [options...]
|
|
259
|
-
```
|
|
260
|
-
|
|
261
|
-
| Flag | Short | Default | Description |
|
|
262
|
-
|------|-------|---------|-------------|
|
|
263
|
-
| `--agent-access-token` | — | from env | Agent registration token |
|
|
264
|
-
| `--endpoint` | — | from config | Agent API endpoint |
|
|
265
|
-
| `--debug` | — | `false` | Enable debug logging |
|
|
266
|
-
|
|
267
|
-
## lock do
|
|
268
|
-
|
|
269
|
-
```
|
|
270
|
-
buildkite-agent lock do <name> [options...]
|
|
271
|
-
```
|
|
272
|
-
|
|
273
|
-
Returns `do` if the lock was acquired (caller should do the work, then call `lock done`). Returns `done` if another process already completed the work.
|
|
274
|
-
|
|
275
|
-
| Flag | Short | Default | Description |
|
|
276
|
-
|------|-------|---------|-------------|
|
|
277
|
-
| `--agent-access-token` | — | from env | Agent registration token |
|
|
278
|
-
| `--endpoint` | — | from config | Agent API endpoint |
|
|
279
|
-
| `--debug` | — | `false` | Enable debug logging |
|
|
280
|
-
|
|
281
|
-
## lock done
|
|
282
|
-
|
|
283
|
-
```
|
|
284
|
-
buildkite-agent lock done <name> [options...]
|
|
285
|
-
```
|
|
286
|
-
|
|
287
|
-
Marks a `do`-style lock as completed. Other callers of `lock do` will now receive `done`.
|
|
288
|
-
|
|
289
|
-
| Flag | Short | Default | Description |
|
|
290
|
-
|------|-------|---------|-------------|
|
|
291
|
-
| `--agent-access-token` | — | from env | Agent registration token |
|
|
292
|
-
| `--endpoint` | — | from config | Agent API endpoint |
|
|
293
|
-
| `--debug` | — | `false` | Enable debug logging |
|
|
294
|
-
|
|
295
|
-
## lock get
|
|
296
|
-
|
|
297
|
-
```
|
|
298
|
-
buildkite-agent lock get <name> [options...]
|
|
299
|
-
```
|
|
300
|
-
|
|
301
|
-
Returns the current state of a `do`-style lock: `do` (not yet completed) or `done` (completed).
|
|
302
|
-
|
|
303
|
-
| Flag | Short | Default | Description |
|
|
304
|
-
|------|-------|---------|-------------|
|
|
305
|
-
| `--agent-access-token` | — | from env | Agent registration token |
|
|
306
|
-
| `--endpoint` | — | from config | Agent API endpoint |
|
|
307
|
-
| `--debug` | — | `false` | Enable debug logging |
|
|
308
|
-
|
|
309
|
-
## env dump
|
|
310
|
-
|
|
311
|
-
```
|
|
312
|
-
buildkite-agent env dump [options...]
|
|
313
|
-
```
|
|
314
|
-
|
|
315
|
-
Outputs all environment variables as JSON to stdout.
|
|
316
|
-
|
|
317
|
-
| Flag | Short | Default | Description |
|
|
318
|
-
|------|-------|---------|-------------|
|
|
319
|
-
| `--format` | — | `json` | Output format |
|
|
320
|
-
| `--agent-access-token` | — | from env | Agent registration token |
|
|
321
|
-
| `--debug` | — | `false` | Enable debug logging |
|
|
322
|
-
|
|
323
|
-
## env get
|
|
324
|
-
|
|
325
|
-
```
|
|
326
|
-
buildkite-agent env get <keys...> [options...]
|
|
327
|
-
```
|
|
328
|
-
|
|
329
|
-
| Flag | Short | Default | Description |
|
|
330
|
-
|------|-------|---------|-------------|
|
|
331
|
-
| `--format` | — | `json` | Output format |
|
|
332
|
-
| `--agent-access-token` | — | from env | Agent registration token |
|
|
333
|
-
| `--debug` | — | `false` | Enable debug logging |
|
|
334
|
-
|
|
335
|
-
Accepts one or more variable names as positional arguments.
|
|
336
|
-
|
|
337
|
-
## env set
|
|
338
|
-
|
|
339
|
-
```
|
|
340
|
-
buildkite-agent env set <key> <value> [options...]
|
|
341
|
-
```
|
|
342
|
-
|
|
343
|
-
Sets an environment variable for subsequent hook phases and the command phase. Does not affect the current running script.
|
|
344
|
-
|
|
345
|
-
| Flag | Short | Default | Description |
|
|
346
|
-
|------|-------|---------|-------------|
|
|
347
|
-
| `--agent-access-token` | — | from env | Agent registration token |
|
|
348
|
-
| `--debug` | — | `false` | Enable debug logging |
|
|
349
|
-
|
|
350
|
-
## env unset
|
|
351
|
-
|
|
352
|
-
```
|
|
353
|
-
buildkite-agent env unset <key> [options...]
|
|
354
|
-
```
|
|
355
|
-
|
|
356
|
-
Removes an environment variable from subsequent hook phases.
|
|
357
|
-
|
|
358
|
-
| Flag | Short | Default | Description |
|
|
359
|
-
|------|-------|---------|-------------|
|
|
360
|
-
| `--agent-access-token` | — | from env | Agent registration token |
|
|
361
|
-
| `--debug` | — | `false` | Enable debug logging |
|
|
362
|
-
|
|
363
|
-
## secret get
|
|
364
|
-
|
|
365
|
-
```
|
|
366
|
-
buildkite-agent secret get <key...> [options...]
|
|
367
|
-
```
|
|
368
|
-
|
|
369
|
-
| Flag | Short | Default | Description |
|
|
370
|
-
|------|-------|---------|-------------|
|
|
371
|
-
| `--format` | — | `string` | Output format: `string` (single secret), `env` (KEY="value" pairs) |
|
|
372
|
-
| `--skip-redaction` | — | `false` | Do not register the value with the log redactor |
|
|
373
|
-
| `--job` | — | current job | Job UUID |
|
|
374
|
-
| `--agent-access-token` | — | from env | Agent registration token |
|
|
375
|
-
| `--endpoint` | — | from config | Agent API endpoint |
|
|
376
|
-
| `--debug` | — | `false` | Enable debug logging |
|
|
377
|
-
|
|
378
|
-
Accepts one or more secret names. With `--format env`, outputs `KEY="value"` pairs suitable for `eval` or `source`.
|
|
379
|
-
|
|
380
|
-
## redactor add
|
|
381
|
-
|
|
382
|
-
```
|
|
383
|
-
buildkite-agent redactor add [options...]
|
|
384
|
-
```
|
|
385
|
-
|
|
386
|
-
Reads the value to redact from stdin. All subsequent log output containing this value will show `[REDACTED]`.
|
|
387
|
-
|
|
388
|
-
| Flag | Short | Default | Description |
|
|
389
|
-
|------|-------|---------|-------------|
|
|
390
|
-
| `--agent-access-token` | — | from env | Agent registration token |
|
|
391
|
-
| `--debug` | — | `false` | Enable debug logging |
|
|
392
|
-
|
|
393
|
-
## tool sign
|
|
394
|
-
|
|
395
|
-
```
|
|
396
|
-
buildkite-agent tool sign [options...]
|
|
397
|
-
```
|
|
398
|
-
|
|
399
|
-
| Flag | Short | Default | Description |
|
|
400
|
-
|------|-------|---------|-------------|
|
|
401
|
-
| `--jwks-file` | — | — | Path to JWKS key file for signing |
|
|
402
|
-
| `--jwks-key-id` | — | — | Key ID to use from the JWKS file |
|
|
403
|
-
| `--step` | — | — | Step attribute to sign (repeatable, format: `key=value`) |
|
|
404
|
-
| `--debug` | — | `false` | Enable debug logging |
|
|
405
|
-
|
|
406
|
-
## tool verify
|
|
407
|
-
|
|
408
|
-
```
|
|
409
|
-
buildkite-agent tool verify [options...]
|
|
410
|
-
```
|
|
411
|
-
|
|
412
|
-
| Flag | Short | Default | Description |
|
|
413
|
-
|------|-------|---------|-------------|
|
|
414
|
-
| `--jwks-file` | — | — | Path to JWKS key file for verification |
|
|
415
|
-
| `--jwks-key-id` | — | — | Key ID to use from the JWKS file |
|
|
416
|
-
| `--step` | — | — | Step attribute to verify (repeatable, format: `key=value`) |
|
|
417
|
-
| `--debug` | — | `false` | Enable debug logging |
|