harness-mcp-v2 3.2.33 → 3.2.35
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 +55 -14
- package/build/client/harness-client.d.ts.map +1 -1
- package/build/client/harness-client.js +69 -11
- package/build/client/harness-client.js.map +1 -1
- package/build/config.d.ts +81 -2
- package/build/config.d.ts.map +1 -1
- package/build/config.js +132 -15
- package/build/config.js.map +1 -1
- package/build/data/schemas/v0/pipeline.d.ts.map +1 -1
- package/build/data/schemas/v0/pipeline.js +33361 -32918
- 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 +8918 -8473
- 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 +285 -62
- 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 +285 -62
- package/build/data/schemas/v1/template.js.map +1 -1
- package/build/index.js +25 -7
- package/build/index.js.map +1 -1
- package/build/prompts/run-evaluation.d.ts.map +1 -1
- package/build/prompts/run-evaluation.js +2 -1
- package/build/prompts/run-evaluation.js.map +1 -1
- package/build/registry/extractors.d.ts +39 -0
- package/build/registry/extractors.d.ts.map +1 -1
- package/build/registry/extractors.js +105 -1
- package/build/registry/extractors.js.map +1 -1
- package/build/registry/index.d.ts +23 -3
- package/build/registry/index.d.ts.map +1 -1
- package/build/registry/index.js +119 -6
- package/build/registry/index.js.map +1 -1
- package/build/registry/remote-git-preflight.d.ts +29 -0
- package/build/registry/remote-git-preflight.d.ts.map +1 -0
- package/build/registry/remote-git-preflight.js +148 -0
- package/build/registry/remote-git-preflight.js.map +1 -0
- package/build/registry/toolsets/ai-evals.d.ts.map +1 -1
- package/build/registry/toolsets/ai-evals.js +443 -160
- package/build/registry/toolsets/ai-evals.js.map +1 -1
- package/build/registry/toolsets/ccm-cost-category.d.ts +16 -0
- package/build/registry/toolsets/ccm-cost-category.d.ts.map +1 -0
- package/build/registry/toolsets/ccm-cost-category.js +46 -0
- package/build/registry/toolsets/ccm-cost-category.js.map +1 -0
- package/build/registry/toolsets/ccm.d.ts.map +1 -1
- package/build/registry/toolsets/ccm.js +65 -54
- package/build/registry/toolsets/ccm.js.map +1 -1
- package/build/registry/toolsets/chaos-descriptions.d.ts +48 -15
- package/build/registry/toolsets/chaos-descriptions.d.ts.map +1 -1
- package/build/registry/toolsets/chaos-descriptions.js +60 -20
- 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 +409 -41
- package/build/registry/toolsets/chaos.js.map +1 -1
- package/build/registry/toolsets/connectors.d.ts.map +1 -1
- package/build/registry/toolsets/connectors.js +53 -0
- package/build/registry/toolsets/connectors.js.map +1 -1
- package/build/registry/toolsets/incidents.d.ts.map +1 -1
- package/build/registry/toolsets/incidents.js +78 -2
- package/build/registry/toolsets/incidents.js.map +1 -1
- package/build/registry/toolsets/observability-evaluations.d.ts.map +1 -1
- package/build/registry/toolsets/observability-evaluations.js +31 -17
- package/build/registry/toolsets/observability-evaluations.js.map +1 -1
- package/build/registry/toolsets/pipelines.d.ts.map +1 -1
- package/build/registry/toolsets/pipelines.js +14 -131
- package/build/registry/toolsets/pipelines.js.map +1 -1
- package/build/registry/toolsets/registries-v3.d.ts.map +1 -1
- package/build/registry/toolsets/registries-v3.js +80 -2
- package/build/registry/toolsets/registries-v3.js.map +1 -1
- package/build/registry/toolsets/templates.d.ts.map +1 -1
- package/build/registry/toolsets/templates.js +83 -10
- package/build/registry/toolsets/templates.js.map +1 -1
- package/build/tools/field-copy.d.ts +51 -0
- package/build/tools/field-copy.d.ts.map +1 -0
- package/build/tools/field-copy.js +46 -0
- package/build/tools/field-copy.js.map +1 -0
- package/build/tools/harness-create.d.ts.map +1 -1
- package/build/tools/harness-create.js +13 -10
- package/build/tools/harness-create.js.map +1 -1
- package/build/tools/harness-delete.d.ts.map +1 -1
- package/build/tools/harness-delete.js +12 -9
- package/build/tools/harness-delete.js.map +1 -1
- package/build/tools/harness-describe.d.ts.map +1 -1
- package/build/tools/harness-describe.js +14 -6
- package/build/tools/harness-describe.js.map +1 -1
- package/build/tools/harness-diagnose.d.ts.map +1 -1
- package/build/tools/harness-diagnose.js +9 -6
- package/build/tools/harness-diagnose.js.map +1 -1
- package/build/tools/harness-execute.d.ts.map +1 -1
- package/build/tools/harness-execute.js +19 -14
- package/build/tools/harness-execute.js.map +1 -1
- package/build/tools/harness-get.d.ts.map +1 -1
- package/build/tools/harness-get.js +10 -8
- package/build/tools/harness-get.js.map +1 -1
- package/build/tools/harness-list.d.ts.map +1 -1
- package/build/tools/harness-list.js +10 -8
- package/build/tools/harness-list.js.map +1 -1
- package/build/tools/harness-schema.d.ts.map +1 -1
- package/build/tools/harness-schema.js +5 -3
- package/build/tools/harness-schema.js.map +1 -1
- package/build/tools/harness-search.d.ts.map +1 -1
- package/build/tools/harness-search.js +14 -9
- package/build/tools/harness-search.js.map +1 -1
- package/build/tools/harness-status.js +4 -4
- package/build/tools/harness-status.js.map +1 -1
- package/build/tools/harness-update.d.ts.map +1 -1
- package/build/tools/harness-update.js +12 -9
- package/build/tools/harness-update.js.map +1 -1
- package/build/tools/input-schemas.d.ts +16 -5
- package/build/tools/input-schemas.d.ts.map +1 -1
- package/build/tools/input-schemas.js +32 -11
- package/build/tools/input-schemas.js.map +1 -1
- package/build/tools/output-schemas.d.ts +8 -0
- package/build/tools/output-schemas.d.ts.map +1 -1
- package/build/tools/output-schemas.js +10 -0
- package/build/tools/output-schemas.js.map +1 -1
- package/build/utils/canonical-resource-type.d.ts +7 -0
- package/build/utils/canonical-resource-type.d.ts.map +1 -0
- package/build/utils/canonical-resource-type.js +16 -0
- package/build/utils/canonical-resource-type.js.map +1 -0
- package/build/utils/ccm-time.d.ts +35 -0
- package/build/utils/ccm-time.d.ts.map +1 -0
- package/build/utils/ccm-time.js +90 -0
- package/build/utils/ccm-time.js.map +1 -0
- package/build/utils/http-auth.d.ts +2 -1
- package/build/utils/http-auth.d.ts.map +1 -1
- package/build/utils/http-auth.js +10 -2
- package/build/utils/http-auth.js.map +1 -1
- package/build/utils/oauth-auth.d.ts +1 -0
- package/build/utils/oauth-auth.d.ts.map +1 -1
- package/build/utils/oauth-auth.js +5 -0
- package/build/utils/oauth-auth.js.map +1 -1
- package/build/utils/oauth-broker.d.ts +25 -0
- package/build/utils/oauth-broker.d.ts.map +1 -0
- package/build/utils/oauth-broker.js +606 -0
- package/build/utils/oauth-broker.js.map +1 -0
- package/build/utils/oauth-proxy-redis-vault.d.ts +51 -0
- package/build/utils/oauth-proxy-redis-vault.d.ts.map +1 -0
- package/build/utils/oauth-proxy-redis-vault.js +242 -0
- package/build/utils/oauth-proxy-redis-vault.js.map +1 -0
- package/build/utils/oauth-proxy-vault.d.ts +108 -0
- package/build/utils/oauth-proxy-vault.d.ts.map +1 -0
- package/build/utils/oauth-proxy-vault.js +183 -0
- package/build/utils/oauth-proxy-vault.js.map +1 -0
- package/build/utils/oauth-proxy.d.ts +53 -0
- package/build/utils/oauth-proxy.d.ts.map +1 -0
- package/build/utils/oauth-proxy.js +493 -0
- package/build/utils/oauth-proxy.js.map +1 -0
- package/npm-shrinkwrap.json +134 -35
- package/package.json +8 -7
|
@@ -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,CAyqM/B,CAAC;AACF,eAAe,MAAM,CAAC"}
|
|
@@ -1589,6 +1589,52 @@ const schema = {
|
|
|
1589
1589
|
"if-not-exists"
|
|
1590
1590
|
],
|
|
1591
1591
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1592
|
+
},
|
|
1593
|
+
"MultiDeploymentConfigV1": {
|
|
1594
|
+
"title": "MultiDeploymentConfigV1",
|
|
1595
|
+
"type": "object",
|
|
1596
|
+
"additionalProperties": false,
|
|
1597
|
+
"description": "Optional configuration for deployments across multiple services and/or environments.",
|
|
1598
|
+
"properties": {
|
|
1599
|
+
"on-failure": {
|
|
1600
|
+
"description": "Behaviour when one of the multiple deployments fails. Supports expressions.",
|
|
1601
|
+
"oneOf": [
|
|
1602
|
+
{
|
|
1603
|
+
"$ref": "#/definitions/pipeline_v1/common/StrategyOnFailureTypeV1"
|
|
1604
|
+
},
|
|
1605
|
+
{
|
|
1606
|
+
"$ref": "#/definitions/pipeline_v1/common/Expression"
|
|
1607
|
+
}
|
|
1608
|
+
]
|
|
1609
|
+
},
|
|
1610
|
+
"when": {
|
|
1611
|
+
"type": "string",
|
|
1612
|
+
"description": "Conditional expression controlling whether queued deployments proceed."
|
|
1613
|
+
},
|
|
1614
|
+
"max-concurrency": {
|
|
1615
|
+
"description": "Maximum number of concurrent service/environment deployments. Supports expressions.",
|
|
1616
|
+
"oneOf": [
|
|
1617
|
+
{
|
|
1618
|
+
"type": "integer",
|
|
1619
|
+
"minimum": 1
|
|
1620
|
+
},
|
|
1621
|
+
{
|
|
1622
|
+
"$ref": "#/definitions/pipeline_v1/common/Expression"
|
|
1623
|
+
}
|
|
1624
|
+
]
|
|
1625
|
+
}
|
|
1626
|
+
},
|
|
1627
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1628
|
+
},
|
|
1629
|
+
"StrategyOnFailureTypeV1": {
|
|
1630
|
+
"title": "StrategyOnFailureTypeV1",
|
|
1631
|
+
"description": "Defines behaviour when one of the multiple service/environment deployments fails.",
|
|
1632
|
+
"type": "string",
|
|
1633
|
+
"enum": [
|
|
1634
|
+
"run-all",
|
|
1635
|
+
"skip-queued"
|
|
1636
|
+
],
|
|
1637
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1592
1638
|
}
|
|
1593
1639
|
},
|
|
1594
1640
|
"Reference": {
|
|
@@ -2106,6 +2152,18 @@ const schema = {
|
|
|
2106
2152
|
"webhook": {
|
|
2107
2153
|
"description": "Slack webhook URL.",
|
|
2108
2154
|
"type": "string"
|
|
2155
|
+
},
|
|
2156
|
+
"bot-token": {
|
|
2157
|
+
"description": "Slack bot token secret.",
|
|
2158
|
+
"type": "string"
|
|
2159
|
+
},
|
|
2160
|
+
"channel": {
|
|
2161
|
+
"description": "Slack channel name or ID for bot token notifications.",
|
|
2162
|
+
"type": "string"
|
|
2163
|
+
},
|
|
2164
|
+
"use-bot-token": {
|
|
2165
|
+
"description": "When true, send Slack notifications via bot token.",
|
|
2166
|
+
"type": "boolean"
|
|
2109
2167
|
}
|
|
2110
2168
|
},
|
|
2111
2169
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -2582,6 +2640,10 @@ const schema = {
|
|
|
2582
2640
|
"description": "Environment configuration for CD stages.",
|
|
2583
2641
|
"$ref": "#/definitions/pipeline_v1/stages/unified/EnvironmentV1"
|
|
2584
2642
|
},
|
|
2643
|
+
"multi-deployment": {
|
|
2644
|
+
"description": "Configuration for deployments across multiple services and/or environments.",
|
|
2645
|
+
"$ref": "#/definitions/pipeline_v1/common/MultiDeploymentConfigV1"
|
|
2646
|
+
},
|
|
2585
2647
|
"workspace": {
|
|
2586
2648
|
"type": "string",
|
|
2587
2649
|
"description": "IaCM workspace identifier."
|
|
@@ -3390,6 +3452,10 @@ const schema = {
|
|
|
3390
3452
|
"with": {
|
|
3391
3453
|
"description": "Service input overrides.",
|
|
3392
3454
|
"$ref": "#/definitions/pipeline_v1/common/WithInputs"
|
|
3455
|
+
},
|
|
3456
|
+
"on-failure": {
|
|
3457
|
+
"description": "Failure strategy for this service. Overrides the stage-level failure strategy.",
|
|
3458
|
+
"$ref": "#/definitions/pipeline_v1/common/OnFailure"
|
|
3393
3459
|
}
|
|
3394
3460
|
},
|
|
3395
3461
|
"additionalProperties": false
|
|
@@ -3429,6 +3495,10 @@ const schema = {
|
|
|
3429
3495
|
"$ref": "#/definitions/pipeline_v1/common/Expression"
|
|
3430
3496
|
}
|
|
3431
3497
|
]
|
|
3498
|
+
},
|
|
3499
|
+
"on-failure": {
|
|
3500
|
+
"description": "Failure strategy for this service group. Overrides the stage-level failure strategy.",
|
|
3501
|
+
"$ref": "#/definitions/pipeline_v1/common/OnFailure"
|
|
3432
3502
|
}
|
|
3433
3503
|
},
|
|
3434
3504
|
"additionalProperties": false
|
|
@@ -3525,6 +3595,10 @@ const schema = {
|
|
|
3525
3595
|
"ref": {
|
|
3526
3596
|
"description": "Git branch for the environment configuration.",
|
|
3527
3597
|
"type": "string"
|
|
3598
|
+
},
|
|
3599
|
+
"on-failure": {
|
|
3600
|
+
"description": "Failure strategy for this environment. Overrides the stage-level failure strategy.",
|
|
3601
|
+
"$ref": "#/definitions/pipeline_v1/common/OnFailure"
|
|
3528
3602
|
}
|
|
3529
3603
|
},
|
|
3530
3604
|
"additionalProperties": false
|
|
@@ -3550,6 +3624,10 @@ const schema = {
|
|
|
3550
3624
|
"$ref": "#/definitions/pipeline_v1/common/Expression"
|
|
3551
3625
|
}
|
|
3552
3626
|
]
|
|
3627
|
+
},
|
|
3628
|
+
"on-failure": {
|
|
3629
|
+
"description": "Failure strategy for this environment selection. Overrides the stage-level failure strategy.",
|
|
3630
|
+
"$ref": "#/definitions/pipeline_v1/common/OnFailure"
|
|
3553
3631
|
}
|
|
3554
3632
|
},
|
|
3555
3633
|
"additionalProperties": false
|
|
@@ -3575,6 +3653,10 @@ const schema = {
|
|
|
3575
3653
|
"$ref": "#/definitions/pipeline_v1/common/Expression"
|
|
3576
3654
|
}
|
|
3577
3655
|
]
|
|
3656
|
+
},
|
|
3657
|
+
"on-failure": {
|
|
3658
|
+
"description": "Failure strategy for this environment group. Overrides the stage-level failure strategy.",
|
|
3659
|
+
"$ref": "#/definitions/pipeline_v1/common/OnFailure"
|
|
3578
3660
|
}
|
|
3579
3661
|
},
|
|
3580
3662
|
"additionalProperties": false
|
|
@@ -3600,6 +3682,10 @@ const schema = {
|
|
|
3600
3682
|
"$ref": "#/definitions/pipeline_v1/common/Expression"
|
|
3601
3683
|
}
|
|
3602
3684
|
]
|
|
3685
|
+
},
|
|
3686
|
+
"on-failure": {
|
|
3687
|
+
"description": "Failure strategy for this environment selection. Overrides the stage-level failure strategy.",
|
|
3688
|
+
"$ref": "#/definitions/pipeline_v1/common/OnFailure"
|
|
3603
3689
|
}
|
|
3604
3690
|
},
|
|
3605
3691
|
"additionalProperties": false
|
|
@@ -3709,83 +3795,124 @@ const schema = {
|
|
|
3709
3795
|
"Filters": {
|
|
3710
3796
|
"title": "Filters",
|
|
3711
3797
|
"description": "Filters for selecting environments or infrastructures.",
|
|
3712
|
-
"
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
}
|
|
3730
|
-
},
|
|
3731
|
-
{
|
|
3732
|
-
"type": "object",
|
|
3733
|
-
"properties": {
|
|
3734
|
-
"or": {
|
|
3735
|
-
"type": "array",
|
|
3736
|
-
"items": {
|
|
3737
|
-
"$ref": "#/definitions/pipeline_v1/stages/unified/FilterCondition"
|
|
3738
|
-
}
|
|
3798
|
+
"oneOf": [
|
|
3799
|
+
{
|
|
3800
|
+
"$ref": "#/definitions/pipeline_v1/common/Expression"
|
|
3801
|
+
},
|
|
3802
|
+
{
|
|
3803
|
+
"type": "array",
|
|
3804
|
+
"items": {
|
|
3805
|
+
"type": "object",
|
|
3806
|
+
"properties": {
|
|
3807
|
+
"infrastructures": {
|
|
3808
|
+
"description": "Infrastructure filters.",
|
|
3809
|
+
"oneOf": [
|
|
3810
|
+
{
|
|
3811
|
+
"type": "string",
|
|
3812
|
+
"enum": [
|
|
3813
|
+
"all"
|
|
3814
|
+
]
|
|
3739
3815
|
},
|
|
3740
|
-
|
|
3816
|
+
{
|
|
3817
|
+
"$ref": "#/definitions/pipeline_v1/common/Expression"
|
|
3818
|
+
},
|
|
3819
|
+
{
|
|
3741
3820
|
"type": "array",
|
|
3742
3821
|
"items": {
|
|
3743
3822
|
"$ref": "#/definitions/pipeline_v1/stages/unified/FilterCondition"
|
|
3744
3823
|
}
|
|
3824
|
+
},
|
|
3825
|
+
{
|
|
3826
|
+
"type": "object",
|
|
3827
|
+
"properties": {
|
|
3828
|
+
"or": {
|
|
3829
|
+
"oneOf": [
|
|
3830
|
+
{
|
|
3831
|
+
"type": "array",
|
|
3832
|
+
"items": {
|
|
3833
|
+
"$ref": "#/definitions/pipeline_v1/stages/unified/FilterCondition"
|
|
3834
|
+
}
|
|
3835
|
+
},
|
|
3836
|
+
{
|
|
3837
|
+
"$ref": "#/definitions/pipeline_v1/common/Expression"
|
|
3838
|
+
}
|
|
3839
|
+
]
|
|
3840
|
+
},
|
|
3841
|
+
"and": {
|
|
3842
|
+
"oneOf": [
|
|
3843
|
+
{
|
|
3844
|
+
"type": "array",
|
|
3845
|
+
"items": {
|
|
3846
|
+
"$ref": "#/definitions/pipeline_v1/stages/unified/FilterCondition"
|
|
3847
|
+
}
|
|
3848
|
+
},
|
|
3849
|
+
{
|
|
3850
|
+
"$ref": "#/definitions/pipeline_v1/common/Expression"
|
|
3851
|
+
}
|
|
3852
|
+
]
|
|
3853
|
+
}
|
|
3854
|
+
},
|
|
3855
|
+
"additionalProperties": false
|
|
3745
3856
|
}
|
|
3746
|
-
},
|
|
3747
|
-
"additionalProperties": false
|
|
3748
|
-
}
|
|
3749
|
-
]
|
|
3750
|
-
},
|
|
3751
|
-
"environments": {
|
|
3752
|
-
"description": "Environment filters.",
|
|
3753
|
-
"oneOf": [
|
|
3754
|
-
{
|
|
3755
|
-
"type": "string",
|
|
3756
|
-
"enum": [
|
|
3757
|
-
"all"
|
|
3758
3857
|
]
|
|
3759
3858
|
},
|
|
3760
|
-
{
|
|
3761
|
-
"
|
|
3762
|
-
"
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
"properties": {
|
|
3769
|
-
"or": {
|
|
3770
|
-
"type": "array",
|
|
3771
|
-
"items": {
|
|
3772
|
-
"$ref": "#/definitions/pipeline_v1/stages/unified/FilterCondition"
|
|
3773
|
-
}
|
|
3859
|
+
"environments": {
|
|
3860
|
+
"description": "Environment filters.",
|
|
3861
|
+
"oneOf": [
|
|
3862
|
+
{
|
|
3863
|
+
"type": "string",
|
|
3864
|
+
"enum": [
|
|
3865
|
+
"all"
|
|
3866
|
+
]
|
|
3774
3867
|
},
|
|
3775
|
-
|
|
3868
|
+
{
|
|
3869
|
+
"$ref": "#/definitions/pipeline_v1/common/Expression"
|
|
3870
|
+
},
|
|
3871
|
+
{
|
|
3776
3872
|
"type": "array",
|
|
3777
3873
|
"items": {
|
|
3778
3874
|
"$ref": "#/definitions/pipeline_v1/stages/unified/FilterCondition"
|
|
3779
3875
|
}
|
|
3876
|
+
},
|
|
3877
|
+
{
|
|
3878
|
+
"type": "object",
|
|
3879
|
+
"properties": {
|
|
3880
|
+
"or": {
|
|
3881
|
+
"oneOf": [
|
|
3882
|
+
{
|
|
3883
|
+
"type": "array",
|
|
3884
|
+
"items": {
|
|
3885
|
+
"$ref": "#/definitions/pipeline_v1/stages/unified/FilterCondition"
|
|
3886
|
+
}
|
|
3887
|
+
},
|
|
3888
|
+
{
|
|
3889
|
+
"$ref": "#/definitions/pipeline_v1/common/Expression"
|
|
3890
|
+
}
|
|
3891
|
+
]
|
|
3892
|
+
},
|
|
3893
|
+
"and": {
|
|
3894
|
+
"oneOf": [
|
|
3895
|
+
{
|
|
3896
|
+
"type": "array",
|
|
3897
|
+
"items": {
|
|
3898
|
+
"$ref": "#/definitions/pipeline_v1/stages/unified/FilterCondition"
|
|
3899
|
+
}
|
|
3900
|
+
},
|
|
3901
|
+
{
|
|
3902
|
+
"$ref": "#/definitions/pipeline_v1/common/Expression"
|
|
3903
|
+
}
|
|
3904
|
+
]
|
|
3905
|
+
}
|
|
3906
|
+
},
|
|
3907
|
+
"additionalProperties": false
|
|
3780
3908
|
}
|
|
3781
|
-
|
|
3782
|
-
"additionalProperties": false
|
|
3909
|
+
]
|
|
3783
3910
|
}
|
|
3784
|
-
|
|
3911
|
+
},
|
|
3912
|
+
"additionalProperties": false
|
|
3785
3913
|
}
|
|
3786
|
-
}
|
|
3787
|
-
|
|
3788
|
-
},
|
|
3914
|
+
}
|
|
3915
|
+
],
|
|
3789
3916
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
3790
3917
|
},
|
|
3791
3918
|
"FilterCondition": {
|
|
@@ -3795,9 +3922,12 @@ const schema = {
|
|
|
3795
3922
|
"properties": {
|
|
3796
3923
|
"tags": {
|
|
3797
3924
|
"description": "Tag-based filter conditions.",
|
|
3798
|
-
"type": "object",
|
|
3799
3925
|
"oneOf": [
|
|
3800
3926
|
{
|
|
3927
|
+
"$ref": "#/definitions/pipeline_v1/common/Expression"
|
|
3928
|
+
},
|
|
3929
|
+
{
|
|
3930
|
+
"type": "object",
|
|
3801
3931
|
"required": [
|
|
3802
3932
|
"in"
|
|
3803
3933
|
],
|
|
@@ -3820,6 +3950,7 @@ const schema = {
|
|
|
3820
3950
|
"additionalProperties": false
|
|
3821
3951
|
},
|
|
3822
3952
|
{
|
|
3953
|
+
"type": "object",
|
|
3823
3954
|
"required": [
|
|
3824
3955
|
"all"
|
|
3825
3956
|
],
|
|
@@ -3840,6 +3971,45 @@ const schema = {
|
|
|
3840
3971
|
}
|
|
3841
3972
|
},
|
|
3842
3973
|
"additionalProperties": false
|
|
3974
|
+
},
|
|
3975
|
+
{
|
|
3976
|
+
"type": "object",
|
|
3977
|
+
"required": [
|
|
3978
|
+
"match-type",
|
|
3979
|
+
"values"
|
|
3980
|
+
],
|
|
3981
|
+
"properties": {
|
|
3982
|
+
"match-type": {
|
|
3983
|
+
"description": "How the tags are matched - `all` to require every tag (AND), `in` to require any one of them (OR).",
|
|
3984
|
+
"oneOf": [
|
|
3985
|
+
{
|
|
3986
|
+
"type": "string",
|
|
3987
|
+
"enum": [
|
|
3988
|
+
"all",
|
|
3989
|
+
"in"
|
|
3990
|
+
]
|
|
3991
|
+
},
|
|
3992
|
+
{
|
|
3993
|
+
"$ref": "#/definitions/pipeline_v1/common/Expression"
|
|
3994
|
+
}
|
|
3995
|
+
]
|
|
3996
|
+
},
|
|
3997
|
+
"values": {
|
|
3998
|
+
"description": "Tags to filter on, as key/value pairs.",
|
|
3999
|
+
"anyOf": [
|
|
4000
|
+
{
|
|
4001
|
+
"type": "object",
|
|
4002
|
+
"additionalProperties": {
|
|
4003
|
+
"type": "string"
|
|
4004
|
+
}
|
|
4005
|
+
},
|
|
4006
|
+
{
|
|
4007
|
+
"$ref": "#/definitions/pipeline_v1/common/Expression"
|
|
4008
|
+
}
|
|
4009
|
+
]
|
|
4010
|
+
}
|
|
4011
|
+
},
|
|
4012
|
+
"additionalProperties": false
|
|
3843
4013
|
}
|
|
3844
4014
|
]
|
|
3845
4015
|
}
|
|
@@ -4429,6 +4599,11 @@ const schema = {
|
|
|
4429
4599
|
"required": [
|
|
4430
4600
|
"ai-eval"
|
|
4431
4601
|
]
|
|
4602
|
+
},
|
|
4603
|
+
{
|
|
4604
|
+
"required": [
|
|
4605
|
+
"render"
|
|
4606
|
+
]
|
|
4432
4607
|
}
|
|
4433
4608
|
]
|
|
4434
4609
|
},
|
|
@@ -4606,6 +4781,16 @@ const schema = {
|
|
|
4606
4781
|
"then": {
|
|
4607
4782
|
"$ref": "#/definitions/pipeline_v1/common/UnifiedTemplate"
|
|
4608
4783
|
}
|
|
4784
|
+
},
|
|
4785
|
+
{
|
|
4786
|
+
"if": {
|
|
4787
|
+
"required": [
|
|
4788
|
+
"render"
|
|
4789
|
+
]
|
|
4790
|
+
},
|
|
4791
|
+
"then": {
|
|
4792
|
+
"$ref": "#/definitions/pipeline_v1/steps/unified/UnifiedRenderStepNode"
|
|
4793
|
+
}
|
|
4609
4794
|
}
|
|
4610
4795
|
]
|
|
4611
4796
|
},
|
|
@@ -6043,6 +6228,44 @@ const schema = {
|
|
|
6043
6228
|
}
|
|
6044
6229
|
},
|
|
6045
6230
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
6231
|
+
},
|
|
6232
|
+
"UnifiedRenderStepNode": {
|
|
6233
|
+
"title": "UnifiedRenderStepNode",
|
|
6234
|
+
"description": "Render step node for manifest rendering.",
|
|
6235
|
+
"allOf": [
|
|
6236
|
+
{
|
|
6237
|
+
"$ref": "#/definitions/pipeline_v1/steps/unified/UnifiedPmsAbstractStepNode"
|
|
6238
|
+
},
|
|
6239
|
+
{
|
|
6240
|
+
"type": "object",
|
|
6241
|
+
"required": [
|
|
6242
|
+
"render"
|
|
6243
|
+
],
|
|
6244
|
+
"properties": {
|
|
6245
|
+
"render": {
|
|
6246
|
+
"description": "Render step configuration.",
|
|
6247
|
+
"type": "object",
|
|
6248
|
+
"properties": {
|
|
6249
|
+
"with": {
|
|
6250
|
+
"description": "Render step parameters including manifest type and inputs.",
|
|
6251
|
+
"type": "object",
|
|
6252
|
+
"required": [
|
|
6253
|
+
"kind"
|
|
6254
|
+
],
|
|
6255
|
+
"properties": {
|
|
6256
|
+
"kind": {
|
|
6257
|
+
"description": "Manifest type to render (e.g., k8s).",
|
|
6258
|
+
"type": "string"
|
|
6259
|
+
}
|
|
6260
|
+
},
|
|
6261
|
+
"additionalProperties": true
|
|
6262
|
+
}
|
|
6263
|
+
}
|
|
6264
|
+
}
|
|
6265
|
+
}
|
|
6266
|
+
}
|
|
6267
|
+
],
|
|
6268
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
6046
6269
|
}
|
|
6047
6270
|
},
|
|
6048
6271
|
"common": {
|