Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [TKC-2556] running context for test workflows #901

Merged
merged 10 commits into from
Oct 28, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ spec:
- scheduler
- testexecution
- testsuiteexecution
- testworkflow
type: string
required:
- type
Expand Down Expand Up @@ -701,6 +702,7 @@ spec:
- scheduler
- testexecution
- testsuiteexecution
- testworkflow
type: string
required:
- type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,60 @@ spec:
name:
description: custom execution name
type: string
runningContext:
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
- testtrigger
- user
- testworkflow
- testworkflowexecution
- program
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
tags:
additionalProperties:
type: string
Expand Down Expand Up @@ -299,6 +353,60 @@ spec:
- predictedStatus
- status
type: object
runningContext:
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
- testtrigger
- user
- testworkflow
- testworkflowexecution
- program
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
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 @@ -10741,6 +10741,59 @@ spec:
- status
- totalDurationMs
type: object
runningContext:
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
- testtrigger
- user
- testworkflow
- testworkflowexecution
- program
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
scheduledAt:
description: when the execution has been scheduled to run
format: date-time
Expand Down
Loading