Skip to content

Commit

Permalink
feat: selector for execute op
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <[email protected]>
  • Loading branch information
vsukhin committed Nov 8, 2024
1 parent 72315f9 commit dfde32e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions api/v1/testkube.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8990,6 +8990,9 @@ components:
$ref: "#/components/schemas/TestWorkflowTarballRequest"
config:
$ref: "#/components/schemas/TestWorkflowConfigValue"
selector:
$ref: "https://raw.githubusercontent.com/garethr/kubernetes-json-schema/master/v1.7.8/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"
description: label selector for test workflow

TestWorkflowStepExecuteTestRef:
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ type TestWorkflowStepExecuteTestWorkflowRef struct {
// matrix of parameters to spawn instances
Matrix map[string]interface{} `json:"matrix,omitempty"`
// parameters that should be distributed across sharded instances
Shards map[string]interface{} `json:"shards,omitempty"`
Shards map[string]interface{} `json:"shards,omitempty"`
Selector *IoK8sApimachineryPkgApisMetaV1LabelSelector `json:"selector,omitempty"`
}

0 comments on commit dfde32e

Please sign in to comment.