harness-mcp-v2 3.2.26 → 3.2.28
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 +23 -12
- package/build/data/schemas/v0/pipeline.d.ts.map +1 -1
- package/build/data/schemas/v0/pipeline.js +383 -244
- package/build/data/schemas/v0/pipeline.js.map +1 -1
- package/build/data/schemas/v0/template.d.ts.map +1 -1
- package/build/data/schemas/v0/template.js +466 -244
- package/build/data/schemas/v0/template.js.map +1 -1
- package/build/data/schemas/v1/pipeline.d.ts.map +1 -1
- package/build/data/schemas/v1/pipeline.js +77 -2
- package/build/data/schemas/v1/pipeline.js.map +1 -1
- package/build/data/schemas/v1/template.d.ts.map +1 -1
- package/build/data/schemas/v1/template.js +583 -512
- package/build/data/schemas/v1/template.js.map +1 -1
- package/build/index.js +3 -2
- package/build/index.js.map +1 -1
- package/build/prompts/business-value-review.d.ts.map +1 -1
- package/build/prompts/business-value-review.js +7 -5
- package/build/prompts/business-value-review.js.map +1 -1
- package/build/prompts/code-review.js +4 -4
- package/build/prompts/code-review.js.map +1 -1
- package/build/prompts/optimize-costs.js +1 -1
- package/build/prompts/rightsizing.js +2 -2
- package/build/prompts/run-evaluation.d.ts.map +1 -1
- package/build/prompts/run-evaluation.js +18 -10
- package/build/prompts/run-evaluation.js.map +1 -1
- package/build/registry/extractors.d.ts +18 -0
- package/build/registry/extractors.d.ts.map +1 -1
- package/build/registry/extractors.js +54 -0
- package/build/registry/extractors.js.map +1 -1
- package/build/registry/index.d.ts.map +1 -1
- package/build/registry/index.js +11 -4
- package/build/registry/index.js.map +1 -1
- package/build/registry/toolsets/ai-evals.d.ts +4 -1
- package/build/registry/toolsets/ai-evals.d.ts.map +1 -1
- package/build/registry/toolsets/ai-evals.js +598 -19
- package/build/registry/toolsets/ai-evals.js.map +1 -1
- package/build/registry/toolsets/ccm.d.ts.map +1 -1
- package/build/registry/toolsets/ccm.js +121 -100
- package/build/registry/toolsets/ccm.js.map +1 -1
- package/build/registry/toolsets/chaos-descriptions.d.ts +3 -3
- package/build/registry/toolsets/chaos-descriptions.d.ts.map +1 -1
- package/build/registry/toolsets/chaos-descriptions.js +5 -3
- package/build/registry/toolsets/chaos-descriptions.js.map +1 -1
- package/build/registry/toolsets/chaos.d.ts.map +1 -1
- package/build/registry/toolsets/chaos.js +34 -0
- package/build/registry/toolsets/chaos.js.map +1 -1
- package/build/registry/toolsets/delegates.d.ts.map +1 -1
- package/build/registry/toolsets/delegates.js +114 -44
- package/build/registry/toolsets/delegates.js.map +1 -1
- package/build/registry/toolsets/feature-flags.d.ts.map +1 -1
- package/build/registry/toolsets/feature-flags.js +263 -0
- package/build/registry/toolsets/feature-flags.js.map +1 -1
- package/build/registry/toolsets/observability-evaluations.d.ts +10 -0
- package/build/registry/toolsets/observability-evaluations.d.ts.map +1 -0
- package/build/registry/toolsets/observability-evaluations.js +348 -0
- package/build/registry/toolsets/observability-evaluations.js.map +1 -0
- package/build/registry/toolsets/pull-requests.d.ts.map +1 -1
- package/build/registry/toolsets/pull-requests.js +63 -20
- package/build/registry/toolsets/pull-requests.js.map +1 -1
- package/build/registry/toolsets/registries.d.ts.map +1 -1
- package/build/registry/toolsets/registries.js +79 -14
- package/build/registry/toolsets/registries.js.map +1 -1
- package/build/registry/toolsets/repositories.d.ts +13 -1
- package/build/registry/toolsets/repositories.d.ts.map +1 -1
- package/build/registry/toolsets/repositories.js +334 -16
- package/build/registry/toolsets/repositories.js.map +1 -1
- package/build/registry/toolsets/settings.d.ts +2 -0
- package/build/registry/toolsets/settings.d.ts.map +1 -1
- package/build/registry/toolsets/settings.js +41 -4
- package/build/registry/toolsets/settings.js.map +1 -1
- package/build/registry/types.d.ts +8 -2
- package/build/registry/types.d.ts.map +1 -1
- package/build/tools/diagnose/delegate.d.ts.map +1 -1
- package/build/tools/diagnose/delegate.js +18 -2
- package/build/tools/diagnose/delegate.js.map +1 -1
- package/build/tools/harness-get.js +1 -1
- package/build/tools/harness-get.js.map +1 -1
- package/build/utils/url-parser.d.ts +6 -0
- package/build/utils/url-parser.d.ts.map +1 -1
- package/build/utils/url-parser.js +58 -5
- package/build/utils/url-parser.js.map +1 -1
- package/npm-shrinkwrap.json +6 -16
- package/package.json +10 -4
- package/scripts/adm-zip-security-lib.mjs +5 -5
- package/scripts/ensure-secure-adm-zip.mjs +7 -7
|
@@ -216,367 +216,86 @@ const schema = {
|
|
|
216
216
|
}
|
|
217
217
|
},
|
|
218
218
|
"template_v1": {
|
|
219
|
-
"
|
|
220
|
-
"
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
"
|
|
225
|
-
"type": "string",
|
|
226
|
-
"pattern": "^[a-zA-Z_][0-9a-zA-Z_]{0,127}$"
|
|
227
|
-
},
|
|
228
|
-
"name": {
|
|
229
|
-
"type": "string",
|
|
230
|
-
"pattern": "^[a-zA-Z_0-9-.][-0-9a-zA-Z_\\s.]{0,127}$"
|
|
231
|
-
},
|
|
232
|
-
"description": {
|
|
233
|
-
"type": "string",
|
|
234
|
-
"description": "Description of the pipeline."
|
|
235
|
-
},
|
|
236
|
-
"clone": {
|
|
237
|
-
"$ref": "#/definitions/template_v1/Clone"
|
|
238
|
-
},
|
|
239
|
-
"inputs": {
|
|
240
|
-
"$ref": "#/definitions/template_v1/common/NGVariableV1Wrapper"
|
|
241
|
-
},
|
|
242
|
-
"timeout": {
|
|
243
|
-
"type": "string",
|
|
244
|
-
"description": "Defines pipeline timeout",
|
|
245
|
-
"pattern": "^(([1-9])+\\d+[s])|(((([1-9])+\\d*[mhwd])+([\\s]?\\d+[smhwd])*)|(.*<\\+.*>(?!.*\\.executionInput\\(\\)).*)|(^$))$"
|
|
246
|
-
},
|
|
247
|
-
"allow-stage-executions": {
|
|
248
|
-
"type": "boolean",
|
|
249
|
-
"description": "Allows stage executions."
|
|
250
|
-
},
|
|
251
|
-
"fixed-inputs-on-rerun": {
|
|
252
|
-
"type": "boolean",
|
|
253
|
-
"description": "Fixed inputs on rerun."
|
|
254
|
-
},
|
|
255
|
-
"delegate": {
|
|
256
|
-
"$ref": "#/definitions/template_v1/common/Delegate"
|
|
257
|
-
},
|
|
258
|
-
"env": {
|
|
259
|
-
"type": "object",
|
|
260
|
-
"additionalProperties": {
|
|
261
|
-
"type": "string"
|
|
262
|
-
},
|
|
263
|
-
"description": "Provides the default environment variables."
|
|
264
|
-
},
|
|
265
|
-
"repo": {
|
|
266
|
-
"description": "Configures the default repository.",
|
|
267
|
-
"$ref": "#/definitions/template_v1/Repository"
|
|
268
|
-
},
|
|
269
|
-
"barriers": {
|
|
270
|
-
"type": "array",
|
|
271
|
-
"description": "Barriers provides optional pipeline barriers.",
|
|
272
|
-
"items": {
|
|
273
|
-
"type": "string"
|
|
274
|
-
}
|
|
275
|
-
},
|
|
276
|
-
"if": {
|
|
277
|
-
"type": "string",
|
|
278
|
-
"description": "If provides conditional pipeline execution logic. If the condition resolves to false, the pipeline is skipped."
|
|
279
|
-
},
|
|
280
|
-
"on": {
|
|
281
|
-
"$ref": "#/definitions/template_v1/On"
|
|
282
|
-
},
|
|
283
|
-
"notifications": {
|
|
284
|
-
"type": "array",
|
|
285
|
-
"description": "Notifications provides optional pipeline notifications.",
|
|
286
|
-
"items": {
|
|
287
|
-
"$ref": "#/definitions/template_v1/NotificationRules"
|
|
288
|
-
}
|
|
289
|
-
},
|
|
290
|
-
"tags": {
|
|
291
|
-
"type": "object",
|
|
292
|
-
"description": "Tags for the pipeline.",
|
|
293
|
-
"additionalProperties": {
|
|
294
|
-
"type": "string"
|
|
295
|
-
}
|
|
296
|
-
},
|
|
297
|
-
"template": {
|
|
298
|
-
"description": "Pipeline template reference.",
|
|
299
|
-
"$ref": "#/definitions/template_v1/common/TemplateRef"
|
|
300
|
-
},
|
|
301
|
-
"stages": {
|
|
302
|
-
"type": "array",
|
|
303
|
-
"description": "Pipeline stages - can contain stages, groups, or parallel executions.",
|
|
304
|
-
"items": {
|
|
305
|
-
"$ref": "#/definitions/template_v1/stages/unified/StageItems"
|
|
306
|
-
},
|
|
307
|
-
"maxItems": 256,
|
|
308
|
-
"minItems": 1
|
|
309
|
-
}
|
|
310
|
-
},
|
|
311
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
312
|
-
},
|
|
313
|
-
"Clone": {
|
|
314
|
-
"title": "Clone",
|
|
315
|
-
"type": "object",
|
|
316
|
-
"additionalProperties": false,
|
|
317
|
-
"description": "Clone defines the default clone behavior.",
|
|
318
|
-
"properties": {
|
|
319
|
-
"depth": {
|
|
320
|
-
"description": "Depth defines the clone depth.",
|
|
219
|
+
"common": {
|
|
220
|
+
"NGVariableV1Wrapper": {
|
|
221
|
+
"title": "NGVariableV1Wrapper",
|
|
222
|
+
"description": "Wrapper for stage/pipeline-level input variables. Keys are variable names, values define variable configuration.",
|
|
223
|
+
"type": "object",
|
|
224
|
+
"additionalProperties": {
|
|
321
225
|
"oneOf": [
|
|
322
226
|
{
|
|
323
|
-
"
|
|
324
|
-
"format": "int32"
|
|
227
|
+
"$ref": "#/definitions/template_v1/common/StringNGVariableV1"
|
|
325
228
|
},
|
|
326
229
|
{
|
|
327
|
-
"$ref": "#/definitions/template_v1/common/
|
|
328
|
-
}
|
|
329
|
-
]
|
|
330
|
-
},
|
|
331
|
-
"enabled": {
|
|
332
|
-
"description": "Enables or disables the default clone step.",
|
|
333
|
-
"oneOf": [
|
|
334
|
-
{
|
|
335
|
-
"type": "boolean"
|
|
230
|
+
"$ref": "#/definitions/template_v1/common/NumberVariable"
|
|
336
231
|
},
|
|
337
232
|
{
|
|
338
|
-
"$ref": "#/definitions/template_v1/common/
|
|
339
|
-
}
|
|
340
|
-
]
|
|
341
|
-
},
|
|
342
|
-
"insecure": {
|
|
343
|
-
"description": "Insecure disables ssl verification.",
|
|
344
|
-
"oneOf": [
|
|
345
|
-
{
|
|
346
|
-
"type": "boolean"
|
|
233
|
+
"$ref": "#/definitions/template_v1/common/BooleanVariable"
|
|
347
234
|
},
|
|
348
235
|
{
|
|
349
|
-
"$ref": "#/definitions/template_v1/common/
|
|
350
|
-
}
|
|
351
|
-
]
|
|
352
|
-
},
|
|
353
|
-
"lfs": {
|
|
354
|
-
"description": "Lfs enables cloning lfs files.",
|
|
355
|
-
"oneOf": [
|
|
356
|
-
{
|
|
357
|
-
"type": "boolean"
|
|
236
|
+
"$ref": "#/definitions/template_v1/common/ArrayVariable"
|
|
358
237
|
},
|
|
359
238
|
{
|
|
360
|
-
"$ref": "#/definitions/template_v1/common/
|
|
361
|
-
}
|
|
362
|
-
]
|
|
363
|
-
},
|
|
364
|
-
"strategy": {
|
|
365
|
-
"description": "Strategy configures the PR clone strategy.",
|
|
366
|
-
"type": "string",
|
|
367
|
-
"enum": [
|
|
368
|
-
"source-branch",
|
|
369
|
-
"merge"
|
|
370
|
-
]
|
|
371
|
-
},
|
|
372
|
-
"submodules": {
|
|
373
|
-
"description": "Submodules enables cloning all submodules. Accepts boolean, string (true/false/recursive), or expression.",
|
|
374
|
-
"oneOf": [
|
|
375
|
-
{
|
|
376
|
-
"type": "boolean"
|
|
239
|
+
"$ref": "#/definitions/template_v1/common/ObjectVariable"
|
|
377
240
|
},
|
|
378
241
|
{
|
|
379
|
-
"
|
|
380
|
-
"enum": [
|
|
381
|
-
"true",
|
|
382
|
-
"false",
|
|
383
|
-
"recursive"
|
|
384
|
-
]
|
|
242
|
+
"$ref": "#/definitions/template_v1/common/SecretVariable"
|
|
385
243
|
},
|
|
386
244
|
{
|
|
387
|
-
"$ref": "#/definitions/template_v1/common/
|
|
388
|
-
}
|
|
389
|
-
]
|
|
390
|
-
},
|
|
391
|
-
"tags": {
|
|
392
|
-
"description": "Tags enables cloning all tags.",
|
|
393
|
-
"oneOf": [
|
|
394
|
-
{
|
|
395
|
-
"type": "boolean"
|
|
245
|
+
"$ref": "#/definitions/template_v1/common/StepVariable"
|
|
396
246
|
},
|
|
397
247
|
{
|
|
398
|
-
"$ref": "#/definitions/template_v1/common/
|
|
399
|
-
}
|
|
400
|
-
]
|
|
401
|
-
},
|
|
402
|
-
"trace": {
|
|
403
|
-
"description": "Trace enables trace logging.",
|
|
404
|
-
"oneOf": [
|
|
405
|
-
{
|
|
406
|
-
"type": "boolean"
|
|
248
|
+
"$ref": "#/definitions/template_v1/common/StageVariable"
|
|
407
249
|
},
|
|
408
250
|
{
|
|
409
|
-
"$ref": "#/definitions/template_v1/common/
|
|
251
|
+
"$ref": "#/definitions/template_v1/common/ConnectorVariable"
|
|
410
252
|
}
|
|
411
253
|
]
|
|
412
254
|
},
|
|
413
|
-
"
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
"
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
{
|
|
458
|
-
"type": "array",
|
|
459
|
-
"items": {
|
|
460
|
-
"type": "string"
|
|
461
|
-
}
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
"$ref": "#/definitions/template_v1/common/Expression"
|
|
465
|
-
}
|
|
466
|
-
]
|
|
467
|
-
},
|
|
468
|
-
"pre-fetch": {
|
|
469
|
-
"description": "PreFetch defines a command to run before the clone operation.",
|
|
470
|
-
"oneOf": [
|
|
471
|
-
{
|
|
472
|
-
"type": "string"
|
|
473
|
-
},
|
|
474
|
-
{
|
|
475
|
-
"$ref": "#/definitions/template_v1/common/Expression"
|
|
476
|
-
}
|
|
477
|
-
]
|
|
478
|
-
},
|
|
479
|
-
"persist-credentials": {
|
|
480
|
-
"description": "PersistCredentials configures git credentials to persist after clone so subsequent git operations in the workspace can authenticate.",
|
|
481
|
-
"oneOf": [
|
|
482
|
-
{
|
|
483
|
-
"type": "boolean"
|
|
484
|
-
},
|
|
485
|
-
{
|
|
486
|
-
"$ref": "#/definitions/template_v1/common/Expression"
|
|
487
|
-
}
|
|
488
|
-
]
|
|
489
|
-
}
|
|
490
|
-
},
|
|
491
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
492
|
-
},
|
|
493
|
-
"common": {
|
|
494
|
-
"Expression": {
|
|
495
|
-
"title": "Expression",
|
|
496
|
-
"description": "String value matching a Harness pipeline expression or template placeholder (e.g., <+something> or ${{ ... }}).",
|
|
497
|
-
"type": "string",
|
|
498
|
-
"pattern": "(\\$\\{\\{.+\\}\\}|<\\+.+>.*)",
|
|
499
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
500
|
-
},
|
|
501
|
-
"NGVariableV1Wrapper": {
|
|
502
|
-
"title": "NGVariableV1Wrapper",
|
|
503
|
-
"description": "Wrapper for stage/pipeline-level input variables. Keys are variable names, values define variable configuration.",
|
|
504
|
-
"type": "object",
|
|
505
|
-
"additionalProperties": {
|
|
506
|
-
"oneOf": [
|
|
507
|
-
{
|
|
508
|
-
"$ref": "#/definitions/template_v1/common/StringNGVariableV1"
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
"$ref": "#/definitions/template_v1/common/NumberVariable"
|
|
512
|
-
},
|
|
513
|
-
{
|
|
514
|
-
"$ref": "#/definitions/template_v1/common/BooleanVariable"
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
"$ref": "#/definitions/template_v1/common/ArrayVariable"
|
|
518
|
-
},
|
|
519
|
-
{
|
|
520
|
-
"$ref": "#/definitions/template_v1/common/ObjectVariable"
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
"$ref": "#/definitions/template_v1/common/SecretVariable"
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
"$ref": "#/definitions/template_v1/common/StepVariable"
|
|
527
|
-
},
|
|
528
|
-
{
|
|
529
|
-
"$ref": "#/definitions/template_v1/common/StageVariable"
|
|
530
|
-
},
|
|
531
|
-
{
|
|
532
|
-
"$ref": "#/definitions/template_v1/common/ConnectorVariable"
|
|
533
|
-
}
|
|
534
|
-
]
|
|
535
|
-
},
|
|
536
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
537
|
-
},
|
|
538
|
-
"StringNGVariableV1": {
|
|
539
|
-
"title": "StringNGVariableV1",
|
|
540
|
-
"description": "String variable definition.",
|
|
541
|
-
"allOf": [
|
|
542
|
-
{
|
|
543
|
-
"$ref": "#/definitions/template_v1/common/Variable"
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
"type": "object",
|
|
547
|
-
"required": [
|
|
548
|
-
"type"
|
|
549
|
-
],
|
|
550
|
-
"properties": {
|
|
551
|
-
"type": {
|
|
552
|
-
"description": "Variable type.",
|
|
553
|
-
"type": "string",
|
|
554
|
-
"enum": [
|
|
555
|
-
"string"
|
|
556
|
-
]
|
|
557
|
-
},
|
|
558
|
-
"value": {
|
|
559
|
-
"description": "Variable value. Supports expressions.",
|
|
560
|
-
"type": "string"
|
|
561
|
-
},
|
|
562
|
-
"default": {
|
|
563
|
-
"description": "Default value for the variable.",
|
|
564
|
-
"type": "string"
|
|
565
|
-
},
|
|
566
|
-
"enum": {
|
|
567
|
-
"description": "Defines a list of accepted input values.",
|
|
568
|
-
"type": "array",
|
|
569
|
-
"items": {
|
|
570
|
-
"type": "string"
|
|
571
|
-
}
|
|
572
|
-
},
|
|
573
|
-
"options": {
|
|
574
|
-
"description": "Defines a list of accepted input values. Alias for enum (GitHub compatibility).",
|
|
575
|
-
"type": "array",
|
|
576
|
-
"items": {
|
|
577
|
-
"type": "string"
|
|
578
|
-
}
|
|
579
|
-
}
|
|
255
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
256
|
+
},
|
|
257
|
+
"StringNGVariableV1": {
|
|
258
|
+
"title": "StringNGVariableV1",
|
|
259
|
+
"description": "String variable definition.",
|
|
260
|
+
"allOf": [
|
|
261
|
+
{
|
|
262
|
+
"$ref": "#/definitions/template_v1/common/Variable"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"type": "object",
|
|
266
|
+
"required": [
|
|
267
|
+
"type"
|
|
268
|
+
],
|
|
269
|
+
"properties": {
|
|
270
|
+
"type": {
|
|
271
|
+
"description": "Variable type.",
|
|
272
|
+
"type": "string",
|
|
273
|
+
"enum": [
|
|
274
|
+
"string"
|
|
275
|
+
]
|
|
276
|
+
},
|
|
277
|
+
"value": {
|
|
278
|
+
"description": "Variable value. Supports expressions.",
|
|
279
|
+
"type": "string"
|
|
280
|
+
},
|
|
281
|
+
"default": {
|
|
282
|
+
"description": "Default value for the variable.",
|
|
283
|
+
"type": "string"
|
|
284
|
+
},
|
|
285
|
+
"enum": {
|
|
286
|
+
"description": "Defines a list of accepted input values.",
|
|
287
|
+
"type": "array",
|
|
288
|
+
"items": {
|
|
289
|
+
"type": "string"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"options": {
|
|
293
|
+
"description": "Defines a list of accepted input values. Alias for enum (GitHub compatibility).",
|
|
294
|
+
"type": "array",
|
|
295
|
+
"items": {
|
|
296
|
+
"type": "string"
|
|
297
|
+
}
|
|
298
|
+
}
|
|
580
299
|
}
|
|
581
300
|
}
|
|
582
301
|
],
|
|
@@ -1025,6 +744,13 @@ const schema = {
|
|
|
1025
744
|
],
|
|
1026
745
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1027
746
|
},
|
|
747
|
+
"Expression": {
|
|
748
|
+
"title": "Expression",
|
|
749
|
+
"description": "String value matching a Harness pipeline expression or template placeholder (e.g., <+something> or ${{ ... }}).",
|
|
750
|
+
"type": "string",
|
|
751
|
+
"pattern": "(\\$\\{\\{.+\\}\\}|<\\+.+>.*)",
|
|
752
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
753
|
+
},
|
|
1028
754
|
"Delegate": {
|
|
1029
755
|
"title": "Delegate",
|
|
1030
756
|
"description": "Delegate defines the delegate matching logic. Supports expressions.",
|
|
@@ -1061,6 +787,10 @@ const schema = {
|
|
|
1061
787
|
"gitBranch": {
|
|
1062
788
|
"description": "Git branch for remote template resolution.",
|
|
1063
789
|
"type": "string"
|
|
790
|
+
},
|
|
791
|
+
"container": {
|
|
792
|
+
"description": "Caller-side container overrides merged into the resolved template step. Applied for any V1 step template whose spec contains run, run-test, or background (including git-clone and build-and-push templates that wrap those steps).\n",
|
|
793
|
+
"$ref": "#/definitions/template_v1/common/TemplateContainerOverlay"
|
|
1064
794
|
}
|
|
1065
795
|
},
|
|
1066
796
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -1079,6 +809,57 @@ const schema = {
|
|
|
1079
809
|
"additionalProperties": true,
|
|
1080
810
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1081
811
|
},
|
|
812
|
+
"TemplateContainerOverlay": {
|
|
813
|
+
"title": "TemplateContainerOverlay",
|
|
814
|
+
"description": "Caller-side container overrides on a V1 template step (`template.container`). Mirrors TemplateMergeServiceHelper.CONTAINER_PROPAGATION_ALLOWLIST. Applied to resolved run, run-test, and background containers (including nested group/parallel). Image, connector, and entrypoint stay on the template and are not overridable here.\n",
|
|
815
|
+
"type": "object",
|
|
816
|
+
"additionalProperties": false,
|
|
817
|
+
"properties": {
|
|
818
|
+
"user": {
|
|
819
|
+
"description": "User ID to run as. Supports expressions.",
|
|
820
|
+
"oneOf": [
|
|
821
|
+
{
|
|
822
|
+
"type": "integer"
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
"type": "string"
|
|
826
|
+
}
|
|
827
|
+
]
|
|
828
|
+
},
|
|
829
|
+
"group": {
|
|
830
|
+
"description": "Group to run as.",
|
|
831
|
+
"type": "string"
|
|
832
|
+
},
|
|
833
|
+
"cpu": {
|
|
834
|
+
"description": "CPU limit. Ignored when resources.limits.cpu is set.",
|
|
835
|
+
"type": "string"
|
|
836
|
+
},
|
|
837
|
+
"memory": {
|
|
838
|
+
"description": "Memory limit. Ignored when resources.limits.memory is set.",
|
|
839
|
+
"type": "string"
|
|
840
|
+
},
|
|
841
|
+
"resources": {
|
|
842
|
+
"description": "Container resource limits and requests. Takes precedence over the flat cpu/memory fields.",
|
|
843
|
+
"$ref": "#/definitions/template_v1/Resource"
|
|
844
|
+
},
|
|
845
|
+
"shm-size": {
|
|
846
|
+
"description": "Shared memory size.",
|
|
847
|
+
"type": "string"
|
|
848
|
+
},
|
|
849
|
+
"privileged": {
|
|
850
|
+
"description": "Run in privileged mode. Supports expressions.",
|
|
851
|
+
"oneOf": [
|
|
852
|
+
{
|
|
853
|
+
"type": "boolean"
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
"$ref": "#/definitions/template_v1/common/Expression"
|
|
857
|
+
}
|
|
858
|
+
]
|
|
859
|
+
}
|
|
860
|
+
},
|
|
861
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
862
|
+
},
|
|
1082
863
|
"StrategyConfigV1": {
|
|
1083
864
|
"title": "StrategyConfigV1",
|
|
1084
865
|
"type": "object",
|
|
@@ -1543,185 +1324,459 @@ const schema = {
|
|
|
1543
1324
|
"$ref": "#/definitions/template_v1/common/FailureStrategyActionConfigV1"
|
|
1544
1325
|
}
|
|
1545
1326
|
},
|
|
1546
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1547
|
-
},
|
|
1548
|
-
"ManualFailureSpecConfigV1": {
|
|
1549
|
-
"title": "ManualFailureSpecConfigV1",
|
|
1550
|
-
"type": "object",
|
|
1551
|
-
"additionalProperties": false,
|
|
1552
|
-
"description": "Manual intervention configuration for failure strategy.",
|
|
1553
|
-
"properties": {
|
|
1554
|
-
"timeout": {
|
|
1555
|
-
"description": "Timeout for manual intervention. Supports expressions.",
|
|
1556
|
-
"type": "string"
|
|
1557
|
-
},
|
|
1558
|
-
"timeout-action": {
|
|
1559
|
-
"description": "Action to take when timeout is reached.",
|
|
1560
|
-
"$ref": "#/definitions/template_v1/common/FailureStrategyActionConfigV1"
|
|
1561
|
-
},
|
|
1562
|
-
"available-actions": {
|
|
1563
|
-
"description": "List of available actions for manual intervention.",
|
|
1564
|
-
"type": "array",
|
|
1565
|
-
"items": {
|
|
1566
|
-
"$ref": "#/definitions/template_v1/common/FailureStrategyActionConfigV1"
|
|
1327
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1328
|
+
},
|
|
1329
|
+
"ManualFailureSpecConfigV1": {
|
|
1330
|
+
"title": "ManualFailureSpecConfigV1",
|
|
1331
|
+
"type": "object",
|
|
1332
|
+
"additionalProperties": false,
|
|
1333
|
+
"description": "Manual intervention configuration for failure strategy.",
|
|
1334
|
+
"properties": {
|
|
1335
|
+
"timeout": {
|
|
1336
|
+
"description": "Timeout for manual intervention. Supports expressions.",
|
|
1337
|
+
"type": "string"
|
|
1338
|
+
},
|
|
1339
|
+
"timeout-action": {
|
|
1340
|
+
"description": "Action to take when timeout is reached.",
|
|
1341
|
+
"$ref": "#/definitions/template_v1/common/FailureStrategyActionConfigV1"
|
|
1342
|
+
},
|
|
1343
|
+
"available-actions": {
|
|
1344
|
+
"description": "List of available actions for manual intervention.",
|
|
1345
|
+
"type": "array",
|
|
1346
|
+
"items": {
|
|
1347
|
+
"$ref": "#/definitions/template_v1/common/FailureStrategyActionConfigV1"
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1350
|
+
},
|
|
1351
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1352
|
+
},
|
|
1353
|
+
"RetryStepGroupFailureSpecConfigV1": {
|
|
1354
|
+
"title": "RetryStepGroupFailureSpecConfigV1",
|
|
1355
|
+
"type": "object",
|
|
1356
|
+
"additionalProperties": false,
|
|
1357
|
+
"description": "Retry step group configuration for failure strategy.",
|
|
1358
|
+
"properties": {
|
|
1359
|
+
"attempts": {
|
|
1360
|
+
"description": "Number of retry attempts. Supports expressions.",
|
|
1361
|
+
"oneOf": [
|
|
1362
|
+
{
|
|
1363
|
+
"type": "integer",
|
|
1364
|
+
"minimum": 1
|
|
1365
|
+
},
|
|
1366
|
+
{
|
|
1367
|
+
"$ref": "#/definitions/template_v1/common/Expression"
|
|
1368
|
+
}
|
|
1369
|
+
]
|
|
1370
|
+
},
|
|
1371
|
+
"interval": {
|
|
1372
|
+
"description": "Interval between retries. Can be single value or array of timeouts. Supports expressions.",
|
|
1373
|
+
"oneOf": [
|
|
1374
|
+
{
|
|
1375
|
+
"type": "array",
|
|
1376
|
+
"items": {
|
|
1377
|
+
"type": "string"
|
|
1378
|
+
}
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
"type": "string"
|
|
1382
|
+
}
|
|
1383
|
+
]
|
|
1384
|
+
}
|
|
1385
|
+
},
|
|
1386
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1387
|
+
},
|
|
1388
|
+
"OutputV1": {
|
|
1389
|
+
"title": "OutputV1",
|
|
1390
|
+
"description": "Output variable definition for capturing step outputs.",
|
|
1391
|
+
"type": "object",
|
|
1392
|
+
"additionalProperties": false,
|
|
1393
|
+
"required": [
|
|
1394
|
+
"name"
|
|
1395
|
+
],
|
|
1396
|
+
"properties": {
|
|
1397
|
+
"name": {
|
|
1398
|
+
"description": "Name of the output variable.",
|
|
1399
|
+
"type": "string"
|
|
1400
|
+
},
|
|
1401
|
+
"alias": {
|
|
1402
|
+
"description": "Alias for the output variable.",
|
|
1403
|
+
"type": "string"
|
|
1404
|
+
},
|
|
1405
|
+
"mask": {
|
|
1406
|
+
"description": "Whether to mask the output variable value in logs.",
|
|
1407
|
+
"type": "boolean",
|
|
1408
|
+
"default": false
|
|
1409
|
+
}
|
|
1410
|
+
},
|
|
1411
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1412
|
+
},
|
|
1413
|
+
"ObjectOrExpression": {
|
|
1414
|
+
"title": "ObjectOrExpression",
|
|
1415
|
+
"description": "Object or expression value. Supports expressions.",
|
|
1416
|
+
"oneOf": [
|
|
1417
|
+
{
|
|
1418
|
+
"type": "object",
|
|
1419
|
+
"additionalProperties": true
|
|
1420
|
+
},
|
|
1421
|
+
{
|
|
1422
|
+
"$ref": "#/definitions/template_v1/common/Expression"
|
|
1423
|
+
}
|
|
1424
|
+
],
|
|
1425
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1426
|
+
},
|
|
1427
|
+
"UnifiedTemplate": {
|
|
1428
|
+
"title": "UnifiedTemplate",
|
|
1429
|
+
"description": "Template reference for steps, stages, or pipelines.",
|
|
1430
|
+
"type": "object",
|
|
1431
|
+
"additionalProperties": false,
|
|
1432
|
+
"properties": {
|
|
1433
|
+
"id": {
|
|
1434
|
+
"type": "string",
|
|
1435
|
+
"description": "Identifier for the template-referenced item."
|
|
1436
|
+
},
|
|
1437
|
+
"name": {
|
|
1438
|
+
"type": "string",
|
|
1439
|
+
"description": "Display name for the template-referenced item."
|
|
1440
|
+
},
|
|
1441
|
+
"template": {
|
|
1442
|
+
"$ref": "#/definitions/template_v1/common/TemplateRef"
|
|
1443
|
+
},
|
|
1444
|
+
"agent": {
|
|
1445
|
+
"description": "Alias for `template`, used to reference an agent template.",
|
|
1446
|
+
"$ref": "#/definitions/template_v1/common/TemplateRef"
|
|
1447
|
+
},
|
|
1448
|
+
"action": {
|
|
1449
|
+
"$ref": "#/definitions/template_v1/common/TemplateRef"
|
|
1450
|
+
},
|
|
1451
|
+
"deploy": {
|
|
1452
|
+
"$ref": "#/definitions/template_v1/common/TemplateRef"
|
|
1453
|
+
},
|
|
1454
|
+
"build": {
|
|
1455
|
+
"$ref": "#/definitions/template_v1/common/TemplateRef"
|
|
1456
|
+
},
|
|
1457
|
+
"test": {
|
|
1458
|
+
"$ref": "#/definitions/template_v1/common/TemplateRef"
|
|
1459
|
+
},
|
|
1460
|
+
"chaos": {
|
|
1461
|
+
"$ref": "#/definitions/template_v1/common/TemplateRef"
|
|
1462
|
+
},
|
|
1463
|
+
"idp": {
|
|
1464
|
+
"$ref": "#/definitions/template_v1/common/TemplateRef"
|
|
1465
|
+
},
|
|
1466
|
+
"iacm": {
|
|
1467
|
+
"$ref": "#/definitions/template_v1/common/TemplateRef"
|
|
1468
|
+
},
|
|
1469
|
+
"sto": {
|
|
1470
|
+
"$ref": "#/definitions/template_v1/common/TemplateRef"
|
|
1471
|
+
},
|
|
1472
|
+
"ai-eval": {
|
|
1473
|
+
"description": "Alias for AI evaluation step template.",
|
|
1474
|
+
"$ref": "#/definitions/template_v1/common/TemplateRef"
|
|
1475
|
+
}
|
|
1476
|
+
},
|
|
1477
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1478
|
+
},
|
|
1479
|
+
"CIResourceClass": {
|
|
1480
|
+
"title": "CIResourceClass",
|
|
1481
|
+
"description": "Cloud runner machine size enumeration (maps to io.harness.beans.yaml.extended.CIResourceClass).",
|
|
1482
|
+
"type": "string",
|
|
1483
|
+
"enum": [
|
|
1484
|
+
"xsmall",
|
|
1485
|
+
"flex",
|
|
1486
|
+
"small",
|
|
1487
|
+
"medium",
|
|
1488
|
+
"large",
|
|
1489
|
+
"xlarge",
|
|
1490
|
+
"xxlarge",
|
|
1491
|
+
"xxxlarge"
|
|
1492
|
+
],
|
|
1493
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1494
|
+
},
|
|
1495
|
+
"PullPolicy": {
|
|
1496
|
+
"title": "PullPolicy",
|
|
1497
|
+
"description": "Image pull policy enumeration (maps to io.harness.beans.yaml.extended.beans.PullPolicy).",
|
|
1498
|
+
"type": "string",
|
|
1499
|
+
"enum": [
|
|
1500
|
+
"always",
|
|
1501
|
+
"never",
|
|
1502
|
+
"if-not-exists"
|
|
1503
|
+
],
|
|
1504
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1505
|
+
}
|
|
1506
|
+
},
|
|
1507
|
+
"pipeline": {
|
|
1508
|
+
"type": "object",
|
|
1509
|
+
"title": "pipeline",
|
|
1510
|
+
"additionalProperties": false,
|
|
1511
|
+
"properties": {
|
|
1512
|
+
"id": {
|
|
1513
|
+
"type": "string",
|
|
1514
|
+
"pattern": "^[a-zA-Z_][0-9a-zA-Z_]{0,127}$"
|
|
1515
|
+
},
|
|
1516
|
+
"name": {
|
|
1517
|
+
"type": "string",
|
|
1518
|
+
"pattern": "^[a-zA-Z_0-9-.][-0-9a-zA-Z_\\s.]{0,127}$"
|
|
1519
|
+
},
|
|
1520
|
+
"description": {
|
|
1521
|
+
"type": "string",
|
|
1522
|
+
"description": "Description of the pipeline."
|
|
1523
|
+
},
|
|
1524
|
+
"clone": {
|
|
1525
|
+
"$ref": "#/definitions/template_v1/Clone"
|
|
1526
|
+
},
|
|
1527
|
+
"inputs": {
|
|
1528
|
+
"$ref": "#/definitions/template_v1/common/NGVariableV1Wrapper"
|
|
1529
|
+
},
|
|
1530
|
+
"timeout": {
|
|
1531
|
+
"type": "string",
|
|
1532
|
+
"description": "Defines pipeline timeout",
|
|
1533
|
+
"pattern": "^(([1-9])+\\d+[s])|(((([1-9])+\\d*[mhwd])+([\\s]?\\d+[smhwd])*)|(.*<\\+.*>(?!.*\\.executionInput\\(\\)).*)|(^$))$"
|
|
1534
|
+
},
|
|
1535
|
+
"allow-stage-executions": {
|
|
1536
|
+
"type": "boolean",
|
|
1537
|
+
"description": "Allows stage executions."
|
|
1538
|
+
},
|
|
1539
|
+
"fixed-inputs-on-rerun": {
|
|
1540
|
+
"type": "boolean",
|
|
1541
|
+
"description": "Fixed inputs on rerun."
|
|
1542
|
+
},
|
|
1543
|
+
"delegate": {
|
|
1544
|
+
"$ref": "#/definitions/template_v1/common/Delegate"
|
|
1545
|
+
},
|
|
1546
|
+
"env": {
|
|
1547
|
+
"type": "object",
|
|
1548
|
+
"additionalProperties": {
|
|
1549
|
+
"type": "string"
|
|
1550
|
+
},
|
|
1551
|
+
"description": "Provides the default environment variables."
|
|
1552
|
+
},
|
|
1553
|
+
"repo": {
|
|
1554
|
+
"description": "Configures the default repository.",
|
|
1555
|
+
"$ref": "#/definitions/template_v1/Repository"
|
|
1556
|
+
},
|
|
1557
|
+
"barriers": {
|
|
1558
|
+
"type": "array",
|
|
1559
|
+
"description": "Barriers provides optional pipeline barriers.",
|
|
1560
|
+
"items": {
|
|
1561
|
+
"type": "string"
|
|
1562
|
+
}
|
|
1563
|
+
},
|
|
1564
|
+
"if": {
|
|
1565
|
+
"type": "string",
|
|
1566
|
+
"description": "If provides conditional pipeline execution logic. If the condition resolves to false, the pipeline is skipped."
|
|
1567
|
+
},
|
|
1568
|
+
"on": {
|
|
1569
|
+
"$ref": "#/definitions/template_v1/On"
|
|
1570
|
+
},
|
|
1571
|
+
"notifications": {
|
|
1572
|
+
"type": "array",
|
|
1573
|
+
"description": "Notifications provides optional pipeline notifications.",
|
|
1574
|
+
"items": {
|
|
1575
|
+
"$ref": "#/definitions/template_v1/NotificationRules"
|
|
1576
|
+
}
|
|
1577
|
+
},
|
|
1578
|
+
"tags": {
|
|
1579
|
+
"type": "object",
|
|
1580
|
+
"description": "Tags for the pipeline.",
|
|
1581
|
+
"additionalProperties": {
|
|
1582
|
+
"type": "string"
|
|
1583
|
+
}
|
|
1584
|
+
},
|
|
1585
|
+
"template": {
|
|
1586
|
+
"description": "Pipeline template reference.",
|
|
1587
|
+
"$ref": "#/definitions/template_v1/common/TemplateRef"
|
|
1588
|
+
},
|
|
1589
|
+
"stages": {
|
|
1590
|
+
"type": "array",
|
|
1591
|
+
"description": "Pipeline stages - can contain stages, groups, or parallel executions.",
|
|
1592
|
+
"items": {
|
|
1593
|
+
"$ref": "#/definitions/template_v1/stages/unified/StageItems"
|
|
1594
|
+
},
|
|
1595
|
+
"maxItems": 256,
|
|
1596
|
+
"minItems": 1
|
|
1597
|
+
}
|
|
1598
|
+
},
|
|
1599
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1600
|
+
},
|
|
1601
|
+
"Clone": {
|
|
1602
|
+
"title": "Clone",
|
|
1603
|
+
"type": "object",
|
|
1604
|
+
"additionalProperties": false,
|
|
1605
|
+
"description": "Clone defines the default clone behavior.",
|
|
1606
|
+
"properties": {
|
|
1607
|
+
"depth": {
|
|
1608
|
+
"description": "Depth defines the clone depth.",
|
|
1609
|
+
"oneOf": [
|
|
1610
|
+
{
|
|
1611
|
+
"type": "integer",
|
|
1612
|
+
"format": "int32"
|
|
1613
|
+
},
|
|
1614
|
+
{
|
|
1615
|
+
"$ref": "#/definitions/template_v1/common/Expression"
|
|
1616
|
+
}
|
|
1617
|
+
]
|
|
1618
|
+
},
|
|
1619
|
+
"enabled": {
|
|
1620
|
+
"description": "Enables or disables the default clone step.",
|
|
1621
|
+
"oneOf": [
|
|
1622
|
+
{
|
|
1623
|
+
"type": "boolean"
|
|
1624
|
+
},
|
|
1625
|
+
{
|
|
1626
|
+
"$ref": "#/definitions/template_v1/common/Expression"
|
|
1627
|
+
}
|
|
1628
|
+
]
|
|
1629
|
+
},
|
|
1630
|
+
"insecure": {
|
|
1631
|
+
"description": "Insecure disables ssl verification.",
|
|
1632
|
+
"oneOf": [
|
|
1633
|
+
{
|
|
1634
|
+
"type": "boolean"
|
|
1635
|
+
},
|
|
1636
|
+
{
|
|
1637
|
+
"$ref": "#/definitions/template_v1/common/Expression"
|
|
1638
|
+
}
|
|
1639
|
+
]
|
|
1640
|
+
},
|
|
1641
|
+
"lfs": {
|
|
1642
|
+
"description": "Lfs enables cloning lfs files.",
|
|
1643
|
+
"oneOf": [
|
|
1644
|
+
{
|
|
1645
|
+
"type": "boolean"
|
|
1646
|
+
},
|
|
1647
|
+
{
|
|
1648
|
+
"$ref": "#/definitions/template_v1/common/Expression"
|
|
1649
|
+
}
|
|
1650
|
+
]
|
|
1651
|
+
},
|
|
1652
|
+
"strategy": {
|
|
1653
|
+
"description": "Strategy configures the PR clone strategy.",
|
|
1654
|
+
"type": "string",
|
|
1655
|
+
"enum": [
|
|
1656
|
+
"source-branch",
|
|
1657
|
+
"merge"
|
|
1658
|
+
]
|
|
1659
|
+
},
|
|
1660
|
+
"submodules": {
|
|
1661
|
+
"description": "Submodules enables cloning all submodules. Accepts boolean, string (true/false/recursive), or expression.",
|
|
1662
|
+
"oneOf": [
|
|
1663
|
+
{
|
|
1664
|
+
"type": "boolean"
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
"type": "string",
|
|
1668
|
+
"enum": [
|
|
1669
|
+
"true",
|
|
1670
|
+
"false",
|
|
1671
|
+
"recursive"
|
|
1672
|
+
]
|
|
1673
|
+
},
|
|
1674
|
+
{
|
|
1675
|
+
"$ref": "#/definitions/template_v1/common/Expression"
|
|
1676
|
+
}
|
|
1677
|
+
]
|
|
1678
|
+
},
|
|
1679
|
+
"tags": {
|
|
1680
|
+
"description": "Tags enables cloning all tags.",
|
|
1681
|
+
"oneOf": [
|
|
1682
|
+
{
|
|
1683
|
+
"type": "boolean"
|
|
1684
|
+
},
|
|
1685
|
+
{
|
|
1686
|
+
"$ref": "#/definitions/template_v1/common/Expression"
|
|
1687
|
+
}
|
|
1688
|
+
]
|
|
1689
|
+
},
|
|
1690
|
+
"trace": {
|
|
1691
|
+
"description": "Trace enables trace logging.",
|
|
1692
|
+
"oneOf": [
|
|
1693
|
+
{
|
|
1694
|
+
"type": "boolean"
|
|
1695
|
+
},
|
|
1696
|
+
{
|
|
1697
|
+
"$ref": "#/definitions/template_v1/common/Expression"
|
|
1698
|
+
}
|
|
1699
|
+
]
|
|
1700
|
+
},
|
|
1701
|
+
"ref": {
|
|
1702
|
+
"description": "Reference defines the clone ref.",
|
|
1703
|
+
"oneOf": [
|
|
1704
|
+
{
|
|
1705
|
+
"$ref": "#/definitions/template_v1/Reference"
|
|
1706
|
+
},
|
|
1707
|
+
{
|
|
1708
|
+
"$ref": "#/definitions/template_v1/common/Expression"
|
|
1567
1709
|
}
|
|
1568
|
-
|
|
1710
|
+
]
|
|
1569
1711
|
},
|
|
1570
|
-
"
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
"
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
"
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
"
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1712
|
+
"repo": {
|
|
1713
|
+
"description": "Repo defines the repository name or URL.",
|
|
1714
|
+
"type": "string",
|
|
1715
|
+
"minLength": 1
|
|
1716
|
+
},
|
|
1717
|
+
"connector": {
|
|
1718
|
+
"description": "Connector defines the connector reference.",
|
|
1719
|
+
"type": "string",
|
|
1720
|
+
"minLength": 1
|
|
1721
|
+
},
|
|
1722
|
+
"clonedir": {
|
|
1723
|
+
"description": "Clonedir defines the clone directory path.",
|
|
1724
|
+
"type": "string",
|
|
1725
|
+
"minLength": 1
|
|
1726
|
+
},
|
|
1727
|
+
"resources": {
|
|
1728
|
+
"description": "Resources defines container resource limits.",
|
|
1729
|
+
"$ref": "#/definitions/template_v1/Resource"
|
|
1730
|
+
},
|
|
1731
|
+
"user": {
|
|
1732
|
+
"description": "User ID to run the clone container as. Supports expressions.",
|
|
1733
|
+
"oneOf": [
|
|
1734
|
+
{
|
|
1735
|
+
"type": "integer"
|
|
1736
|
+
},
|
|
1737
|
+
{
|
|
1738
|
+
"type": "string"
|
|
1739
|
+
}
|
|
1740
|
+
]
|
|
1741
|
+
},
|
|
1742
|
+
"sparse-checkout": {
|
|
1743
|
+
"description": "SparseCheckout defines paths to limit the clone to specific directories.",
|
|
1744
|
+
"oneOf": [
|
|
1745
|
+
{
|
|
1746
|
+
"type": "array",
|
|
1747
|
+
"items": {
|
|
1600
1748
|
"type": "string"
|
|
1601
1749
|
}
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
"OutputV1": {
|
|
1608
|
-
"title": "OutputV1",
|
|
1609
|
-
"description": "Output variable definition for capturing step outputs.",
|
|
1610
|
-
"type": "object",
|
|
1611
|
-
"additionalProperties": false,
|
|
1612
|
-
"required": [
|
|
1613
|
-
"name"
|
|
1614
|
-
],
|
|
1615
|
-
"properties": {
|
|
1616
|
-
"name": {
|
|
1617
|
-
"description": "Name of the output variable.",
|
|
1618
|
-
"type": "string"
|
|
1619
|
-
},
|
|
1620
|
-
"alias": {
|
|
1621
|
-
"description": "Alias for the output variable.",
|
|
1622
|
-
"type": "string"
|
|
1623
|
-
},
|
|
1624
|
-
"mask": {
|
|
1625
|
-
"description": "Whether to mask the output variable value in logs.",
|
|
1626
|
-
"type": "boolean",
|
|
1627
|
-
"default": false
|
|
1628
|
-
}
|
|
1750
|
+
},
|
|
1751
|
+
{
|
|
1752
|
+
"$ref": "#/definitions/template_v1/common/Expression"
|
|
1753
|
+
}
|
|
1754
|
+
]
|
|
1629
1755
|
},
|
|
1630
|
-
"
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
{
|
|
1641
|
-
"$ref": "#/definitions/template_v1/common/Expression"
|
|
1642
|
-
}
|
|
1643
|
-
],
|
|
1644
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1645
|
-
},
|
|
1646
|
-
"UnifiedTemplate": {
|
|
1647
|
-
"title": "UnifiedTemplate",
|
|
1648
|
-
"description": "Template reference for steps, stages, or pipelines.",
|
|
1649
|
-
"type": "object",
|
|
1650
|
-
"additionalProperties": false,
|
|
1651
|
-
"properties": {
|
|
1652
|
-
"id": {
|
|
1653
|
-
"type": "string",
|
|
1654
|
-
"description": "Identifier for the template-referenced item."
|
|
1655
|
-
},
|
|
1656
|
-
"name": {
|
|
1657
|
-
"type": "string",
|
|
1658
|
-
"description": "Display name for the template-referenced item."
|
|
1659
|
-
},
|
|
1660
|
-
"template": {
|
|
1661
|
-
"$ref": "#/definitions/template_v1/common/TemplateRef"
|
|
1662
|
-
},
|
|
1663
|
-
"agent": {
|
|
1664
|
-
"description": "Alias for `template`, used to reference an agent template.",
|
|
1665
|
-
"$ref": "#/definitions/template_v1/common/TemplateRef"
|
|
1666
|
-
},
|
|
1667
|
-
"action": {
|
|
1668
|
-
"$ref": "#/definitions/template_v1/common/TemplateRef"
|
|
1669
|
-
},
|
|
1670
|
-
"deploy": {
|
|
1671
|
-
"$ref": "#/definitions/template_v1/common/TemplateRef"
|
|
1672
|
-
},
|
|
1673
|
-
"build": {
|
|
1674
|
-
"$ref": "#/definitions/template_v1/common/TemplateRef"
|
|
1675
|
-
},
|
|
1676
|
-
"test": {
|
|
1677
|
-
"$ref": "#/definitions/template_v1/common/TemplateRef"
|
|
1678
|
-
},
|
|
1679
|
-
"chaos": {
|
|
1680
|
-
"$ref": "#/definitions/template_v1/common/TemplateRef"
|
|
1681
|
-
},
|
|
1682
|
-
"idp": {
|
|
1683
|
-
"$ref": "#/definitions/template_v1/common/TemplateRef"
|
|
1684
|
-
},
|
|
1685
|
-
"iacm": {
|
|
1686
|
-
"$ref": "#/definitions/template_v1/common/TemplateRef"
|
|
1687
|
-
},
|
|
1688
|
-
"sto": {
|
|
1689
|
-
"$ref": "#/definitions/template_v1/common/TemplateRef"
|
|
1690
|
-
},
|
|
1691
|
-
"ai-eval": {
|
|
1692
|
-
"description": "Alias for AI evaluation step template.",
|
|
1693
|
-
"$ref": "#/definitions/template_v1/common/TemplateRef"
|
|
1694
|
-
}
|
|
1756
|
+
"pre-fetch": {
|
|
1757
|
+
"description": "PreFetch defines a command to run before the clone operation.",
|
|
1758
|
+
"oneOf": [
|
|
1759
|
+
{
|
|
1760
|
+
"type": "string"
|
|
1761
|
+
},
|
|
1762
|
+
{
|
|
1763
|
+
"$ref": "#/definitions/template_v1/common/Expression"
|
|
1764
|
+
}
|
|
1765
|
+
]
|
|
1695
1766
|
},
|
|
1696
|
-
"
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
"large",
|
|
1708
|
-
"xlarge",
|
|
1709
|
-
"xxlarge",
|
|
1710
|
-
"xxxlarge"
|
|
1711
|
-
],
|
|
1712
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1767
|
+
"persist-credentials": {
|
|
1768
|
+
"description": "PersistCredentials configures git credentials to persist after clone so subsequent git operations in the workspace can authenticate.",
|
|
1769
|
+
"oneOf": [
|
|
1770
|
+
{
|
|
1771
|
+
"type": "boolean"
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
"$ref": "#/definitions/template_v1/common/Expression"
|
|
1775
|
+
}
|
|
1776
|
+
]
|
|
1777
|
+
}
|
|
1713
1778
|
},
|
|
1714
|
-
"
|
|
1715
|
-
"title": "PullPolicy",
|
|
1716
|
-
"description": "Image pull policy enumeration (maps to io.harness.beans.yaml.extended.beans.PullPolicy).",
|
|
1717
|
-
"type": "string",
|
|
1718
|
-
"enum": [
|
|
1719
|
-
"always",
|
|
1720
|
-
"never",
|
|
1721
|
-
"if-not-exists"
|
|
1722
|
-
],
|
|
1723
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1724
|
-
}
|
|
1779
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1725
1780
|
},
|
|
1726
1781
|
"Reference": {
|
|
1727
1782
|
"title": "Reference",
|
|
@@ -2772,6 +2827,10 @@ const schema = {
|
|
|
2772
2827
|
"kubernetes": {
|
|
2773
2828
|
"description": "Kubernetes runtime specification.",
|
|
2774
2829
|
"$ref": "#/definitions/template_v1/stages/unified/K8RuntimeSpec"
|
|
2830
|
+
},
|
|
2831
|
+
"delegate": {
|
|
2832
|
+
"description": "Delegate selectors used for Kubernetes inherit-from-delegate authentication.",
|
|
2833
|
+
"$ref": "#/definitions/template_v1/common/Delegate"
|
|
2775
2834
|
}
|
|
2776
2835
|
}
|
|
2777
2836
|
}
|
|
@@ -3605,6 +3664,10 @@ const schema = {
|
|
|
3605
3664
|
"description": "Environment identifier.",
|
|
3606
3665
|
"type": "string"
|
|
3607
3666
|
},
|
|
3667
|
+
"all-infra": {
|
|
3668
|
+
"description": "Deploy to all infrastructures in the environment. With a `deploy-to` runtime input sibling, every infrastructure is preselected in the run form; with no `deploy-to` sibling, deploys to all without prompting.",
|
|
3669
|
+
"type": "boolean"
|
|
3670
|
+
},
|
|
3608
3671
|
"deploy-to": {
|
|
3609
3672
|
"description": "Infrastructure(s) to deploy to.",
|
|
3610
3673
|
"$ref": "#/definitions/template_v1/stages/unified/DeployTo"
|
|
@@ -3770,6 +3833,10 @@ const schema = {
|
|
|
3770
3833
|
"description": "Git branch for the environment configuration.",
|
|
3771
3834
|
"type": "string"
|
|
3772
3835
|
},
|
|
3836
|
+
"all-infra": {
|
|
3837
|
+
"description": "Deploy to all infrastructures in the environment. With a `deploy-to` runtime input sibling, every infrastructure is preselected in the run form; with no `deploy-to` sibling, deploys to all without prompting.",
|
|
3838
|
+
"type": "boolean"
|
|
3839
|
+
},
|
|
3773
3840
|
"deploy-to": {
|
|
3774
3841
|
"description": "Infrastructure(s) to deploy to.",
|
|
3775
3842
|
"$ref": "#/definitions/template_v1/stages/unified/DeployTo"
|
|
@@ -3937,6 +4004,10 @@ const schema = {
|
|
|
3937
4004
|
"description": "Environment group identifier.",
|
|
3938
4005
|
"type": "string"
|
|
3939
4006
|
},
|
|
4007
|
+
"all-env": {
|
|
4008
|
+
"description": "Deploy to all environments in the group. With an `items` runtime input sibling, every environment is preselected in the run form; with no `items` sibling, deploys to all without prompting.",
|
|
4009
|
+
"type": "boolean"
|
|
4010
|
+
},
|
|
3940
4011
|
"parallel": {
|
|
3941
4012
|
"description": "Execute environments in parallel (all at once). Defaults to false, so environments run one at a time (serially) unless set to true.",
|
|
3942
4013
|
"oneOf": [
|