diff --git a/charts/testkube-operator/templates/tests.testkube.io_testexecutions.yaml b/charts/testkube-operator/templates/tests.testkube.io_testexecutions.yaml index c9c3c49a1..0d9d90631 100644 --- a/charts/testkube-operator/templates/tests.testkube.io_testexecutions.yaml +++ b/charts/testkube-operator/templates/tests.testkube.io_testexecutions.yaml @@ -241,6 +241,7 @@ spec: - scheduler - testexecution - testsuiteexecution + - testworkflow type: string required: - type @@ -701,6 +702,7 @@ spec: - scheduler - testexecution - testsuiteexecution + - testworkflow type: string required: - type diff --git a/charts/testkube-operator/templates/testworkflows.testkube.io_testworkflowexecutions.yaml b/charts/testkube-operator/templates/testworkflows.testkube.io_testworkflowexecutions.yaml index 63d33fb70..c90cc1f5c 100644 --- a/charts/testkube-operator/templates/testworkflows.testkube.io_testworkflowexecutions.yaml +++ b/charts/testkube-operator/templates/testworkflows.testkube.io_testworkflowexecutions.yaml @@ -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 @@ -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 diff --git a/charts/testkube-operator/templates/testworkflows.testkube.io_testworkflows.yaml b/charts/testkube-operator/templates/testworkflows.testkube.io_testworkflows.yaml index a43f55e3c..8d2861bc8 100644 --- a/charts/testkube-operator/templates/testworkflows.testkube.io_testworkflows.yaml +++ b/charts/testkube-operator/templates/testworkflows.testkube.io_testworkflows.yaml @@ -10749,6 +10749,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