Skip to content

Commit

Permalink
fix: add tcl comment
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <[email protected]>
  • Loading branch information
vsukhin committed Oct 8, 2024
1 parent 7c5aaf2 commit 1943acb
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 18 deletions.
2 changes: 1 addition & 1 deletion api/testworkflows/v1/status_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type TestWorkflowExecutionSummary struct {
Workflow *TestWorkflowSummary `json:"workflow"`
// test workflow execution tags
Tags map[string]string `json:"tags,omitempty"`
// running context for the test workflow execution
// running context for the test workflow execution (Pro edition only)
RunningContext *TestWorkflowRunningContext `json:"runningContext,omitempty"`
}

Expand Down
8 changes: 4 additions & 4 deletions api/testworkflows/v1/testworkflowexecution_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type TestWorkflowExecutionRequest struct {
DisableWebhooks bool `json:"disableWebhooks,omitempty"`
// test workflow execution tags
Tags map[string]string `json:"tags,omitempty" expr:"template"`
// running context for the test workflow execution
// running context for the test workflow execution (Pro edition only)
RunningContext *TestWorkflowRunningContext `json:"runningContext,omitempty"`
}

Expand Down Expand Up @@ -85,7 +85,7 @@ type TestWorkflowExecutionDetails struct {
DisableWebhooks bool `json:"disableWebhooks,omitempty"`
// test workflow execution tags
Tags map[string]string `json:"tags,omitempty"`
// running context for the test workflow execution
// running context for the test workflow execution (Pro edition only)
RunningContext *TestWorkflowRunningContext `json:"runningContext,omitempty"`
}

Expand All @@ -95,7 +95,7 @@ type TestWorkflowRunningContext struct {
Actor *TestWorkflowRunningContextActor `json:"actor"`
}

// TestWorkflowRunningContextActorType : supported actors for test workflow running context
// supported actors for test workflow running context
// +kubebuilder:validation:Enum=cron;testrigger;user;testworkflow;testworkflowexecution;program
type TestWorkflowRunningContextActorType string

Expand Down Expand Up @@ -124,7 +124,7 @@ type TestWorkflowRunningContextActor struct {
Type_ *TestWorkflowRunningContextActorType `json:"type"`
}

// TestWorkflowRunningContextInterfaceType : supported interfaces for test workflow running context
// supported interfaces for test workflow running context
// +kubebuilder:validation:Enum=cli;ui;api;ci/cd;internal
type TestWorkflowRunningContextInterfaceType string

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ spec:
description: custom execution name
type: string
runningContext:
description: running context for the test workflow execution
description: running context for the test workflow execution (Pro edition only)
properties:
actor:
description: running context actor for test workflow execution
Expand All @@ -75,8 +75,7 @@ spec:
description: actor name
type: string
type:
description: 'TestWorkflowRunningContextActorType : supported
actors for test workflow running context'
description: supported actors for test workflow running context
enum:
- cron
- testrigger
Expand All @@ -98,8 +97,7 @@ spec:
description: interface name
type: string
type:
description: 'TestWorkflowRunningContextInterfaceType
: supported interfaces for test workflow running context'
description: supported interfaces for test workflow running context
enum:
- cli
- ui
Expand Down Expand Up @@ -358,7 +356,7 @@ spec:
- status
type: object
runningContext:
description: running context for the test workflow execution
description: running context for the test workflow execution (Pro edition only)
properties:
actor:
description: running context actor for test workflow execution
Expand All @@ -377,8 +375,7 @@ spec:
description: actor name
type: string
type:
description: 'TestWorkflowRunningContextActorType : supported
actors for test workflow running context'
description: supported actors for test workflow running context'
enum:
- cron
- testrigger
Expand All @@ -400,8 +397,7 @@ spec:
description: interface name
type: string
type:
description: 'TestWorkflowRunningContextInterfaceType
: supported interfaces for test workflow running context'
description: supported interfaces for test workflow running context
enum:
- cli
- ui
Expand Down
6 changes: 3 additions & 3 deletions config/crd/bases/testworkflows.testkube.io_testworkflows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10741,7 +10741,7 @@ spec:
- totalDurationMs
type: object
runningContext:
description: running context for the test workflow execution
description: running context for the test workflow execution (Pro edition only)
properties:
actor:
description: running context actor for test workflow execution
Expand All @@ -10759,7 +10759,7 @@ spec:
description: actor name
type: string
type:
description: 'TestWorkflowRunningContextActorType : supported actors for test workflow running context'
description: supported actors for test workflow running context
enum:
- cron
- testrigger
Expand All @@ -10781,7 +10781,7 @@ spec:
description: interface name
type: string
type:
description: 'TestWorkflowRunningContextInterfaceType : supported interfaces for test workflow running context'
description: supported interfaces for test workflow running context
enum:
- cli
- ui
Expand Down

0 comments on commit 1943acb

Please sign in to comment.