Skip to content

Commit

Permalink
fix: running context
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 8e43ae9 commit 818aebf
Show file tree
Hide file tree
Showing 2 changed files with 155 additions and 150 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,60 +57,62 @@ spec:
description: custom execution name
type: string
runningContext:
description: running context for the test workflow execution
items:
description: running context for test workflow execution
properties:
actor:
description: 'TestWorkflowRunningContextActor : supported
actors for test workflow running context'
enum:
- cron
- testrigger
- user
- testworkflow
- testworkflowexecution
type: string
caller:
description: running context caller for test workflow execution
properties:
callerResourceExecutionID:
description: caller resource execution id
type: string
callerResourceName:
description: caller resource name
type: string
callerResourceType:
description: 'TestWorkflowRunningContextCallerResourceType
: supported caller resource types for test workflow
running context'
enum:
description: running context for the test workflow execution (Pro edition only)
properties:
actor:
description: running context actor for test workflow execution
properties:
email:
description: actor email
type: string
executionId:
description: test workflow execution id
type: string
executionPath:
description: all test workflow execution ids starting
from the root
type: string
name:
description: actor name
type: string
type:
description: supported actors for test workflow running context
enum:
- cron
- testrigger
- user
- testworkflow
- testworkflowexecution
- testrigger
type: string
fullExecutionPath:
description: all test workflow execution ids starting
from the root
type: string
required:
- callerResourceName
- callerResourceType
type: object
interface:
description: 'TestWorkflowRunningContextInterface : supported
interfaces for test workflow running context'
enum:
- cli
- ui
- api
- internal
type: string
required:
- program
type: string
username:
description: actor username
type: string
required:
- type
type: object
interface:
description: running context interface for test workflow execution
properties:
name:
description: interface name
type: string
type:
description: supported interfaces for test workflow running context
enum:
- cli
- ui
- api
- ci/cd
- internal
type: string
required:
- type
type: object
required:
- actor
- interface
type: object
type: array
type: object
tags:
additionalProperties:
type: string
Expand Down Expand Up @@ -355,60 +357,62 @@ spec:
- status
type: object
runningContext:
description: running context for the test workflow execution
items:
description: running context for test workflow execution
properties:
actor:
description: 'TestWorkflowRunningContextActor : supported
actors for test workflow running context'
enum:
- cron
- testrigger
- user
- testworkflow
- testworkflowexecution
type: string
caller:
description: running context caller for test workflow execution
properties:
callerResourceExecutionID:
description: caller resource execution id
type: string
callerResourceName:
description: caller resource name
type: string
callerResourceType:
description: 'TestWorkflowRunningContextCallerResourceType
: supported caller resource types for test workflow
running context'
enum:
description: running context for the test workflow execution (Pro edition only)
properties:
actor:
description: running context actor for test workflow execution
properties:
email:
description: actor email
type: string
executionId:
description: test workflow execution id
type: string
executionPath:
description: all test workflow execution ids starting
from the root
type: string
name:
description: actor name
type: string
type:
description: supported actors for test workflow running context'
enum:
- cron
- testrigger
- user
- testworkflow
- testworkflowexecution
- testrigger
type: string
fullExecutionPath:
description: all test workflow execution ids starting
from the root
type: string
required:
- callerResourceName
- callerResourceType
type: object
interface:
description: 'TestWorkflowRunningContextInterface : supported
interfaces for test workflow running context'
enum:
- cli
- ui
- api
- internal
type: string
required:
- program
type: string
username:
description: actor username
type: string
required:
- type
type: object
interface:
description: running context interface for test workflow execution
properties:
name:
description: interface name
type: string
type:
description: supported interfaces for test workflow running context
enum:
- cli
- ui
- api
- ci/cd
- internal
type: string
required:
- type
type: object
required:
- actor
- interface
type: object
type: array
type: object
scheduledAt:
description: when the execution has been scheduled to run
format: date-time
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10742,60 +10742,61 @@ spec:
- totalDurationMs
type: object
runningContext:
description: running context for the test workflow execution
items:
description: running context for test workflow execution
properties:
actor:
description: 'TestWorkflowRunningContextActor : supported
actors for test workflow running context'
enum:
- cron
- testrigger
- user
- testworkflow
- testworkflowexecution
type: string
caller:
description: running context caller for test workflow execution
properties:
callerResourceExecutionID:
description: caller resource execution id
type: string
callerResourceName:
description: caller resource name
type: string
callerResourceType:
description: 'TestWorkflowRunningContextCallerResourceType
: supported caller resource types for test workflow
running context'
enum:
description: running context for the test workflow execution (Pro edition only)
properties:
actor:
description: running context actor for test workflow execution
properties:
email:
description: actor email
type: string
executionId:
description: test workflow execution id
type: string
executionPath:
description: all test workflow execution ids starting from the root
type: string
name:
description: actor name
type: string
type:
description: supported actors for test workflow running context
enum:
- cron
- testrigger
- user
- testworkflow
- testworkflowexecution
- testrigger
type: string
fullExecutionPath:
description: all test workflow execution ids starting
from the root
type: string
required:
- callerResourceName
- callerResourceType
type: object
interface:
description: 'TestWorkflowRunningContextInterface : supported
interfaces for test workflow running context'
enum:
- cli
- ui
- api
- internal
type: string
required:
- program
type: string
username:
description: actor username
type: string
required:
- type
type: object
interface:
description: running context interface for test workflow execution
properties:
name:
description: interface name
type: string
type:
description: supported interfaces for test workflow running context
enum:
- cli
- ui
- api
- ci/cd
- internal
type: string
required:
- type
type: object
required:
- actor
- interface
type: object
type: array
type: object
scheduledAt:
description: when the execution has been scheduled to run
format: date-time
Expand Down

0 comments on commit 818aebf

Please sign in to comment.