harness-mcp-v2 3.2.2 → 3.2.3
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 +1 -1
- package/build/data/examples/pipeline-v1.d.ts.map +1 -1
- package/build/data/examples/pipeline-v1.js +66 -26
- package/build/data/examples/pipeline-v1.js.map +1 -1
- package/build/data/schemas/index.d.ts +1 -1
- package/build/data/schemas/index.d.ts.map +1 -1
- package/build/data/schemas/index.js +1 -7
- package/build/data/schemas/index.js.map +1 -1
- package/build/data/schemas/v0/pipeline.d.ts.map +1 -1
- package/build/data/schemas/v0/pipeline.js +3507 -1046
- 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 +4103 -958
- 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 +179 -233
- 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 +210 -694
- package/build/data/schemas/v1/template.js.map +1 -1
- package/package.json +1 -1
- package/build/data/schemas/v1/infra.d.ts +0 -3
- package/build/data/schemas/v1/infra.d.ts.map +0 -1
- package/build/data/schemas/v1/infra.js +0 -1005
- package/build/data/schemas/v1/infra.js.map +0 -1
- package/build/data/schemas/v1/service.d.ts +0 -3
- package/build/data/schemas/v1/service.d.ts.map +0 -1
- package/build/data/schemas/v1/service.js +0 -1386
- package/build/data/schemas/v1/service.js.map +0 -1
- package/build/data/schemas/v1/trigger.d.ts +0 -3
- package/build/data/schemas/v1/trigger.d.ts.map +0 -1
- package/build/data/schemas/v1/trigger.js +0 -3361
- package/build/data/schemas/v1/trigger.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../../../src/data/schemas/v1/pipeline.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../../../src/data/schemas/v1/pipeline.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAyxK/B,CAAC;AACF,eAAe,MAAM,CAAC"}
|
|
@@ -389,9 +389,9 @@ const schema = {
|
|
|
389
389
|
"connector"
|
|
390
390
|
]
|
|
391
391
|
},
|
|
392
|
-
"
|
|
392
|
+
"description": {
|
|
393
393
|
"type": "string",
|
|
394
|
-
"description": "
|
|
394
|
+
"description": "Description of the variable."
|
|
395
395
|
},
|
|
396
396
|
"required": {
|
|
397
397
|
"type": "boolean",
|
|
@@ -425,59 +425,11 @@ const schema = {
|
|
|
425
425
|
},
|
|
426
426
|
"ui": {
|
|
427
427
|
"description": "UI configuration for variable rendering in forms.",
|
|
428
|
-
"
|
|
428
|
+
"type": "object",
|
|
429
|
+
"additionalProperties": true
|
|
429
430
|
}
|
|
430
431
|
}
|
|
431
432
|
},
|
|
432
|
-
"VariableUI": {
|
|
433
|
-
"title": "VariableUI",
|
|
434
|
-
"description": "UI configuration for variable rendering in forms.",
|
|
435
|
-
"type": "object",
|
|
436
|
-
"properties": {
|
|
437
|
-
"component": {
|
|
438
|
-
"description": "Form element type for rendering the variable input.",
|
|
439
|
-
"type": "string",
|
|
440
|
-
"enum": [
|
|
441
|
-
"dropdown",
|
|
442
|
-
"text",
|
|
443
|
-
"number",
|
|
444
|
-
"date",
|
|
445
|
-
"datetime",
|
|
446
|
-
"textarea",
|
|
447
|
-
"checkbox",
|
|
448
|
-
"radio"
|
|
449
|
-
]
|
|
450
|
-
},
|
|
451
|
-
"placeholder": {
|
|
452
|
-
"description": "Placeholder text for the form element.",
|
|
453
|
-
"type": "string"
|
|
454
|
-
},
|
|
455
|
-
"tooltip": {
|
|
456
|
-
"description": "Tooltip/help text for the form element.",
|
|
457
|
-
"type": "string"
|
|
458
|
-
},
|
|
459
|
-
"autofocus": {
|
|
460
|
-
"description": "Whether the form element should be auto-focused.",
|
|
461
|
-
"type": "boolean",
|
|
462
|
-
"default": false
|
|
463
|
-
},
|
|
464
|
-
"hidden": {
|
|
465
|
-
"description": "Whether the variable should be hidden in the UI.",
|
|
466
|
-
"type": "boolean",
|
|
467
|
-
"default": false
|
|
468
|
-
},
|
|
469
|
-
"readonly": {
|
|
470
|
-
"description": "Whether the variable should be read-only in the UI.",
|
|
471
|
-
"type": "boolean",
|
|
472
|
-
"default": false
|
|
473
|
-
},
|
|
474
|
-
"label": {
|
|
475
|
-
"description": "Display label for the variable in the UI.",
|
|
476
|
-
"type": "string"
|
|
477
|
-
}
|
|
478
|
-
},
|
|
479
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
480
|
-
},
|
|
481
433
|
"NumberVariable": {
|
|
482
434
|
"title": "NumberVariable",
|
|
483
435
|
"description": "Number variable definition.",
|
|
@@ -1443,8 +1395,7 @@ const schema = {
|
|
|
1443
1395
|
"properties": {
|
|
1444
1396
|
"name": {
|
|
1445
1397
|
"description": "Name of the output variable.",
|
|
1446
|
-
"type": "string"
|
|
1447
|
-
"pattern": "^[a-zA-Z_][0-9a-zA-Z_]{0,127}$"
|
|
1398
|
+
"type": "string"
|
|
1448
1399
|
},
|
|
1449
1400
|
"alias": {
|
|
1450
1401
|
"description": "Alias for the output variable.",
|
|
@@ -1541,17 +1492,6 @@ const schema = {
|
|
|
1541
1492
|
"if-not-exists"
|
|
1542
1493
|
],
|
|
1543
1494
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1544
|
-
},
|
|
1545
|
-
"OSType": {
|
|
1546
|
-
"title": "OSType",
|
|
1547
|
-
"description": "Operating system type enumeration (maps to io.harness.beans.yaml.extended.infrastrucutre.OSType).",
|
|
1548
|
-
"type": "string",
|
|
1549
|
-
"enum": [
|
|
1550
|
-
"Linux",
|
|
1551
|
-
"MacOS",
|
|
1552
|
-
"Windows"
|
|
1553
|
-
],
|
|
1554
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1555
1495
|
}
|
|
1556
1496
|
},
|
|
1557
1497
|
"Reference": {
|
|
@@ -2579,10 +2519,15 @@ const schema = {
|
|
|
2579
2519
|
},
|
|
2580
2520
|
"ShellRuntimeSpec": {
|
|
2581
2521
|
"title": "ShellRuntimeSpec",
|
|
2582
|
-
"description": "Shell runtime specification. Mirrors io.harness.beans.yaml.extended.runtime.V1.RuntimeV1.ShellRuntimeSpec
|
|
2522
|
+
"description": "Shell runtime specification. Mirrors io.harness.beans.yaml.extended.runtime.V1.RuntimeV1.ShellRuntimeSpec.",
|
|
2583
2523
|
"type": "object",
|
|
2584
2524
|
"additionalProperties": false,
|
|
2585
|
-
"properties": {
|
|
2525
|
+
"properties": {
|
|
2526
|
+
"connector": {
|
|
2527
|
+
"description": "Override image connector for pulling private Harness plugin images. Supports expressions.",
|
|
2528
|
+
"type": "string"
|
|
2529
|
+
}
|
|
2530
|
+
},
|
|
2586
2531
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2587
2532
|
},
|
|
2588
2533
|
"CloudRuntimeSpec": {
|
|
@@ -2701,17 +2646,6 @@ const schema = {
|
|
|
2701
2646
|
}
|
|
2702
2647
|
]
|
|
2703
2648
|
},
|
|
2704
|
-
"os": {
|
|
2705
|
-
"description": "Operating system type. Supports expressions.",
|
|
2706
|
-
"oneOf": [
|
|
2707
|
-
{
|
|
2708
|
-
"$ref": "#/definitions/pipeline_v1/common/OSType"
|
|
2709
|
-
},
|
|
2710
|
-
{
|
|
2711
|
-
"$ref": "#/definitions/pipeline_v1/common/Expression"
|
|
2712
|
-
}
|
|
2713
|
-
]
|
|
2714
|
-
},
|
|
2715
2649
|
"harness-image-connector": {
|
|
2716
2650
|
"description": "Harness image connector for pulling images. Supports expressions.",
|
|
2717
2651
|
"type": "string"
|
|
@@ -3325,167 +3259,107 @@ const schema = {
|
|
|
3325
3259
|
"EnvironmentV1": {
|
|
3326
3260
|
"title": "EnvironmentV1",
|
|
3327
3261
|
"description": "Environment configuration for CD stages.",
|
|
3328
|
-
"
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
"
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
"items"
|
|
3339
|
-
]
|
|
3340
|
-
},
|
|
3341
|
-
{
|
|
3342
|
-
"required": [
|
|
3343
|
-
"group"
|
|
3344
|
-
]
|
|
3345
|
-
},
|
|
3346
|
-
{
|
|
3347
|
-
"required": [
|
|
3348
|
-
"filters"
|
|
3349
|
-
]
|
|
3350
|
-
}
|
|
3351
|
-
]
|
|
3352
|
-
},
|
|
3353
|
-
"then": {
|
|
3354
|
-
"allOf": [
|
|
3355
|
-
{
|
|
3356
|
-
"if": {
|
|
3357
|
-
"required": [
|
|
3358
|
-
"id"
|
|
3359
|
-
]
|
|
3262
|
+
"oneOf": [
|
|
3263
|
+
{
|
|
3264
|
+
"type": "object",
|
|
3265
|
+
"required": [
|
|
3266
|
+
"id"
|
|
3267
|
+
],
|
|
3268
|
+
"properties": {
|
|
3269
|
+
"id": {
|
|
3270
|
+
"description": "Environment identifier.",
|
|
3271
|
+
"type": "string"
|
|
3360
3272
|
},
|
|
3361
|
-
"
|
|
3362
|
-
"
|
|
3363
|
-
"
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
"
|
|
3367
|
-
|
|
3368
|
-
"description": "Environment identifier.",
|
|
3369
|
-
"type": "string"
|
|
3370
|
-
},
|
|
3371
|
-
"deploy-to": {
|
|
3372
|
-
"description": "Infrastructure(s) to deploy to.",
|
|
3373
|
-
"$ref": "#/definitions/pipeline_v1/stages/unified/DeployTo"
|
|
3374
|
-
},
|
|
3375
|
-
"ref": {
|
|
3376
|
-
"description": "Git branch for the environment configuration.",
|
|
3377
|
-
"type": "string"
|
|
3378
|
-
}
|
|
3379
|
-
},
|
|
3380
|
-
"additionalProperties": false
|
|
3273
|
+
"deploy-to": {
|
|
3274
|
+
"description": "Infrastructure(s) to deploy to.",
|
|
3275
|
+
"$ref": "#/definitions/pipeline_v1/stages/unified/DeployTo"
|
|
3276
|
+
},
|
|
3277
|
+
"ref": {
|
|
3278
|
+
"description": "Git branch for the environment configuration.",
|
|
3279
|
+
"type": "string"
|
|
3381
3280
|
}
|
|
3382
3281
|
},
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3282
|
+
"additionalProperties": false
|
|
3283
|
+
},
|
|
3284
|
+
{
|
|
3285
|
+
"type": "object",
|
|
3286
|
+
"required": [
|
|
3287
|
+
"items"
|
|
3288
|
+
],
|
|
3289
|
+
"properties": {
|
|
3290
|
+
"items": {
|
|
3291
|
+
"description": "List of environments for multi-environment deployment.",
|
|
3292
|
+
"type": "array",
|
|
3293
|
+
"items": {
|
|
3294
|
+
"$ref": "#/definitions/pipeline_v1/stages/unified/EnvironmentItem"
|
|
3295
|
+
}
|
|
3388
3296
|
},
|
|
3389
|
-
"
|
|
3390
|
-
"
|
|
3391
|
-
"
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
"items": {
|
|
3396
|
-
"description": "List of environments for multi-environment deployment.",
|
|
3397
|
-
"type": "array",
|
|
3398
|
-
"items": {
|
|
3399
|
-
"$ref": "#/definitions/pipeline_v1/stages/unified/EnvironmentItem"
|
|
3400
|
-
}
|
|
3297
|
+
"sequential": {
|
|
3298
|
+
"description": "Execute environments sequentially (one at a time). When false, environments run in parallel.",
|
|
3299
|
+
"oneOf": [
|
|
3300
|
+
{
|
|
3301
|
+
"type": "boolean",
|
|
3302
|
+
"default": false
|
|
3401
3303
|
},
|
|
3402
|
-
|
|
3403
|
-
"
|
|
3404
|
-
"oneOf": [
|
|
3405
|
-
{
|
|
3406
|
-
"type": "boolean",
|
|
3407
|
-
"default": false
|
|
3408
|
-
},
|
|
3409
|
-
{
|
|
3410
|
-
"$ref": "#/definitions/pipeline_v1/common/Expression"
|
|
3411
|
-
}
|
|
3412
|
-
]
|
|
3304
|
+
{
|
|
3305
|
+
"$ref": "#/definitions/pipeline_v1/common/Expression"
|
|
3413
3306
|
}
|
|
3414
|
-
|
|
3415
|
-
"additionalProperties": false
|
|
3307
|
+
]
|
|
3416
3308
|
}
|
|
3417
3309
|
},
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3310
|
+
"additionalProperties": false
|
|
3311
|
+
},
|
|
3312
|
+
{
|
|
3313
|
+
"type": "object",
|
|
3314
|
+
"required": [
|
|
3315
|
+
"group"
|
|
3316
|
+
],
|
|
3317
|
+
"properties": {
|
|
3318
|
+
"group": {
|
|
3319
|
+
"description": "Environment group configuration.",
|
|
3320
|
+
"$ref": "#/definitions/pipeline_v1/stages/unified/EnvironmentGroup"
|
|
3423
3321
|
},
|
|
3424
|
-
"
|
|
3425
|
-
"
|
|
3426
|
-
"
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
"group": {
|
|
3431
|
-
"description": "Environment group configuration.",
|
|
3432
|
-
"$ref": "#/definitions/pipeline_v1/stages/unified/EnvironmentGroup"
|
|
3322
|
+
"sequential": {
|
|
3323
|
+
"description": "Execute environments sequentially (one at a time). When false, environments run in parallel.",
|
|
3324
|
+
"oneOf": [
|
|
3325
|
+
{
|
|
3326
|
+
"type": "boolean",
|
|
3327
|
+
"default": false
|
|
3433
3328
|
},
|
|
3434
|
-
|
|
3435
|
-
"
|
|
3436
|
-
"oneOf": [
|
|
3437
|
-
{
|
|
3438
|
-
"type": "boolean",
|
|
3439
|
-
"default": false
|
|
3440
|
-
},
|
|
3441
|
-
{
|
|
3442
|
-
"$ref": "#/definitions/pipeline_v1/common/Expression"
|
|
3443
|
-
}
|
|
3444
|
-
]
|
|
3329
|
+
{
|
|
3330
|
+
"$ref": "#/definitions/pipeline_v1/common/Expression"
|
|
3445
3331
|
}
|
|
3446
|
-
|
|
3447
|
-
"additionalProperties": false
|
|
3332
|
+
]
|
|
3448
3333
|
}
|
|
3449
3334
|
},
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3335
|
+
"additionalProperties": false
|
|
3336
|
+
},
|
|
3337
|
+
{
|
|
3338
|
+
"type": "object",
|
|
3339
|
+
"required": [
|
|
3340
|
+
"filters"
|
|
3341
|
+
],
|
|
3342
|
+
"properties": {
|
|
3343
|
+
"filters": {
|
|
3344
|
+
"description": "Filters for selecting environments and infrastructures.",
|
|
3345
|
+
"$ref": "#/definitions/pipeline_v1/stages/unified/Filters"
|
|
3455
3346
|
},
|
|
3456
|
-
"
|
|
3457
|
-
"
|
|
3458
|
-
"
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
"filters": {
|
|
3463
|
-
"description": "Filters for selecting environments and infrastructures.",
|
|
3464
|
-
"$ref": "#/definitions/pipeline_v1/stages/unified/Filters"
|
|
3347
|
+
"sequential": {
|
|
3348
|
+
"description": "Execute environments sequentially (one at a time). When false, environments run in parallel.",
|
|
3349
|
+
"oneOf": [
|
|
3350
|
+
{
|
|
3351
|
+
"type": "boolean",
|
|
3352
|
+
"default": false
|
|
3465
3353
|
},
|
|
3466
|
-
|
|
3467
|
-
"
|
|
3468
|
-
"oneOf": [
|
|
3469
|
-
{
|
|
3470
|
-
"type": "boolean",
|
|
3471
|
-
"default": false
|
|
3472
|
-
},
|
|
3473
|
-
{
|
|
3474
|
-
"$ref": "#/definitions/pipeline_v1/common/Expression"
|
|
3475
|
-
}
|
|
3476
|
-
]
|
|
3354
|
+
{
|
|
3355
|
+
"$ref": "#/definitions/pipeline_v1/common/Expression"
|
|
3477
3356
|
}
|
|
3478
|
-
|
|
3479
|
-
"additionalProperties": false
|
|
3357
|
+
]
|
|
3480
3358
|
}
|
|
3481
|
-
}
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
"required": [
|
|
3486
|
-
"id"
|
|
3487
|
-
]
|
|
3488
|
-
},
|
|
3359
|
+
},
|
|
3360
|
+
"additionalProperties": false
|
|
3361
|
+
}
|
|
3362
|
+
],
|
|
3489
3363
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
3490
3364
|
},
|
|
3491
3365
|
"DeployTo": {
|
|
@@ -4388,10 +4262,17 @@ const schema = {
|
|
|
4388
4262
|
},
|
|
4389
4263
|
"output": {
|
|
4390
4264
|
"description": "Output variables to capture.",
|
|
4391
|
-
"
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4265
|
+
"oneOf": [
|
|
4266
|
+
{
|
|
4267
|
+
"type": "array",
|
|
4268
|
+
"items": {
|
|
4269
|
+
"$ref": "#/definitions/pipeline_v1/common/OutputV1"
|
|
4270
|
+
}
|
|
4271
|
+
},
|
|
4272
|
+
{
|
|
4273
|
+
"$ref": "#/definitions/pipeline_v1/common/Expression"
|
|
4274
|
+
}
|
|
4275
|
+
]
|
|
4395
4276
|
},
|
|
4396
4277
|
"report": {
|
|
4397
4278
|
"description": "Test report configuration. Supports expressions.",
|
|
@@ -4477,6 +4358,10 @@ const schema = {
|
|
|
4477
4358
|
"description": "Image registry connector. Supports expressions.",
|
|
4478
4359
|
"type": "string"
|
|
4479
4360
|
},
|
|
4361
|
+
"registryRef": {
|
|
4362
|
+
"description": "Harness Artifact Registry reference for the image. Supports expressions.",
|
|
4363
|
+
"type": "string"
|
|
4364
|
+
},
|
|
4480
4365
|
"credentials": {
|
|
4481
4366
|
"description": "Container registry credentials.",
|
|
4482
4367
|
"type": "object",
|
|
@@ -4633,13 +4518,17 @@ const schema = {
|
|
|
4633
4518
|
"type": "string"
|
|
4634
4519
|
},
|
|
4635
4520
|
"cpu": {
|
|
4636
|
-
"description": "CPU limit.",
|
|
4521
|
+
"description": "CPU limit. Ignored when resources.limits.cpu is set.",
|
|
4637
4522
|
"type": "string"
|
|
4638
4523
|
},
|
|
4639
4524
|
"memory": {
|
|
4640
|
-
"description": "Memory limit.",
|
|
4525
|
+
"description": "Memory limit. Ignored when resources.limits.memory is set.",
|
|
4641
4526
|
"type": "string"
|
|
4642
4527
|
},
|
|
4528
|
+
"resources": {
|
|
4529
|
+
"description": "Container resource limits and requests. Takes precedence over the flat cpu/memory fields.",
|
|
4530
|
+
"$ref": "#/definitions/pipeline_v1/Resource"
|
|
4531
|
+
},
|
|
4643
4532
|
"shm-size": {
|
|
4644
4533
|
"description": "Shared memory size.",
|
|
4645
4534
|
"type": "string"
|
|
@@ -5161,12 +5050,54 @@ const schema = {
|
|
|
5161
5050
|
"description": "Comments for auto-approval. Supports expressions.",
|
|
5162
5051
|
"type": "string"
|
|
5163
5052
|
},
|
|
5164
|
-
"
|
|
5165
|
-
"description": "Approver input parameters.",
|
|
5166
|
-
"type": "
|
|
5167
|
-
"
|
|
5053
|
+
"inputs": {
|
|
5054
|
+
"description": "Approver input parameters keyed by input variable name.",
|
|
5055
|
+
"type": "object",
|
|
5056
|
+
"additionalProperties": {
|
|
5168
5057
|
"type": "object",
|
|
5169
|
-
"additionalProperties":
|
|
5058
|
+
"additionalProperties": false,
|
|
5059
|
+
"properties": {
|
|
5060
|
+
"description": {
|
|
5061
|
+
"description": "Description of the approver input.",
|
|
5062
|
+
"type": "string"
|
|
5063
|
+
},
|
|
5064
|
+
"pattern": {
|
|
5065
|
+
"description": "Regex pattern the approver input value must match. Mutually exclusive with `enum`. Supports expressions.",
|
|
5066
|
+
"type": "string"
|
|
5067
|
+
},
|
|
5068
|
+
"multi-select": {
|
|
5069
|
+
"description": "Allow selecting multiple values from `enum`. Only applicable when `enum` is provided.",
|
|
5070
|
+
"type": "boolean"
|
|
5071
|
+
},
|
|
5072
|
+
"enum": {
|
|
5073
|
+
"description": "Allowed values for the approver input. Mutually exclusive with `pattern`. Supports expressions.",
|
|
5074
|
+
"oneOf": [
|
|
5075
|
+
{
|
|
5076
|
+
"type": "array",
|
|
5077
|
+
"items": {
|
|
5078
|
+
"type": "string"
|
|
5079
|
+
}
|
|
5080
|
+
},
|
|
5081
|
+
{
|
|
5082
|
+
"$ref": "#/definitions/pipeline_v1/common/Expression"
|
|
5083
|
+
}
|
|
5084
|
+
]
|
|
5085
|
+
},
|
|
5086
|
+
"required": {
|
|
5087
|
+
"description": "Whether the approver input is required.",
|
|
5088
|
+
"type": "boolean"
|
|
5089
|
+
},
|
|
5090
|
+
"default": {
|
|
5091
|
+
"description": "Default value for the approver input. Supports expressions.",
|
|
5092
|
+
"type": "string"
|
|
5093
|
+
}
|
|
5094
|
+
},
|
|
5095
|
+
"not": {
|
|
5096
|
+
"required": [
|
|
5097
|
+
"pattern",
|
|
5098
|
+
"enum"
|
|
5099
|
+
]
|
|
5100
|
+
}
|
|
5170
5101
|
}
|
|
5171
5102
|
}
|
|
5172
5103
|
},
|
|
@@ -5398,6 +5329,21 @@ const schema = {
|
|
|
5398
5329
|
"description": "Step group timeout duration.",
|
|
5399
5330
|
"pattern": "^(([1-9])+\\d+[s])|(((([1-9])+\\d*[mhwd])+([\\s]?\\d+[smhwd])*)|(.*<\\+.*>(?!.*\\.executionInput\\(\\)).*)|(^$))$"
|
|
5400
5331
|
},
|
|
5332
|
+
"output": {
|
|
5333
|
+
"description": "Step group output variables. Each entry is a single key:value pair where the key is the\nSG-published output name and the value is either a plain-string descendant step output\nname to capture, or a Harness expression evaluated at step group completion.\n",
|
|
5334
|
+
"type": "array",
|
|
5335
|
+
"items": {
|
|
5336
|
+
"type": "object",
|
|
5337
|
+
"minProperties": 1,
|
|
5338
|
+
"maxProperties": 1,
|
|
5339
|
+
"additionalProperties": false,
|
|
5340
|
+
"patternProperties": {
|
|
5341
|
+
"^[a-zA-Z_][a-zA-Z0-9_]*$": {
|
|
5342
|
+
"type": "string"
|
|
5343
|
+
}
|
|
5344
|
+
}
|
|
5345
|
+
}
|
|
5346
|
+
},
|
|
5401
5347
|
"steps": {
|
|
5402
5348
|
"type": "array",
|
|
5403
5349
|
"items": {
|