Skip to content

Commit

Permalink
fix: support ci/cd
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <[email protected]>
  • Loading branch information
vsukhin committed Oct 23, 2024
1 parent 0b9e2f8 commit 07cad5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/kubectl-testkube/commands/testworkflows/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ func NewRunTestWorkflowCmd() *cobra.Command {

name := args[0]
runContext := telemetry.GetCliRunContext()
interfaceType := testkube.CLI_TestWorkflowRunningContextInterfaceType
interfaceType := testkube.CICD_TestWorkflowRunningContextInterfaceType
if runContext == "others|local" {
runContext = ""
interfaceType = testkube.CICD_TestWorkflowRunningContextInterfaceType
interfaceType = testkube.CLI_TestWorkflowRunningContextInterfaceType
}

cfg, err := testkubecfg.Load()
Expand Down

0 comments on commit 07cad5d

Please sign in to comment.