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] test workflow running context #5926

Merged
merged 62 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
29ba776
feat: running context model for test workflows
vsukhin Jul 4, 2024
a0ed48a
feat: add running context to test workflow execution models
vsukhin Jul 4, 2024
7fd49ad
fix: unit test
vsukhin Jul 4, 2024
6911023
Merge commit '7da22fdf8a5f96cf3cf4606e138bceffed17c3ba' into vsukhin/…
vsukhin Jul 5, 2024
c3b438e
fix: dep update
vsukhin Jul 5, 2024
ee741fb
feat: map test workflow running context
vsukhin Jul 5, 2024
6e49ecb
feat: pass running context to execution
vsukhin Jul 5, 2024
d54ca82
fix: running context for test workflows
vsukhin Jul 8, 2024
2b7b2b6
fix: add test workflow running context model
vsukhin Jul 8, 2024
66c39d5
fix: additional enum for test workflow running context
vsukhin Jul 8, 2024
8e467d0
fix: add one more enum
vsukhin Jul 9, 2024
48042d7
fix: mapping for test workflow running context
vsukhin Jul 9, 2024
c5d9641
fix: mapping for cd events for test workflow running context
vsukhin Jul 9, 2024
6b537c2
fix: show test workflow running context
vsukhin Jul 9, 2024
581d826
feat: get full psth
vsukhin Jul 9, 2024
b1b25cc
fix: add parent ids for test workflow running context
vsukhin Jul 10, 2024
235dfb7
fix: format running context ui
vsukhin Jul 10, 2024
e751657
fux: add to mock
vsukhin Jul 10, 2024
e6f9a62
fix: remove unused var
vsukhin Jul 10, 2024
eb5d7d2
Merge branch 'main' into vsukhin/feature/test-workflow-running-context
vsukhin Oct 4, 2024
60e5ebd
fix: dep update
vsukhin Oct 7, 2024
88866c4
Merge branch 'main' into vsukhin/feature/test-workflow-running-context
vsukhin Oct 7, 2024
6e5d1e3
fix: merge
vsukhin Oct 7, 2024
b68824d
fix: change running context model
vsukhin Oct 7, 2024
b5052ef
fix: use reference instead of array
vsukhin Oct 7, 2024
f459b3b
fix: dep update
vsukhin Oct 8, 2024
d972b1a
fix: additional running contexts
vsukhin Oct 8, 2024
3269f3d
fix: add tcl for testworkflow mapper
vsukhin Oct 8, 2024
f91bb1b
fix: trigger running context
vsukhin Oct 16, 2024
6f2ac47
feat: move runnng context to tcl
vsukhin Oct 16, 2024
c3a077a
Merge branch 'main' into vsukhin/feature/test-workflow-running-context
vsukhin Oct 16, 2024
9dc607f
fixL move mapper to tcl
vsukhin Oct 16, 2024
d4825eb
fix: remove test
vsukhin Oct 16, 2024
db28fd1
ifx: move running context to tcl package
vsukhin Oct 21, 2024
386af08
fix: parse uername and email
vsukhin Oct 21, 2024
cca4c38
fix: dep update
vsukhin Oct 22, 2024
b574bc6
Merge branch 'main' into vsukhin/feature/test-workflow-running-context
vsukhin Oct 22, 2024
8a3ffdf
fix: merge
vsukhin Oct 22, 2024
fc61c7f
fix: use api running context from cloud
vsukhin Oct 22, 2024
9cde4b6
fix: remove username
vsukhin Oct 22, 2024
7669083
fix: remove username
vsukhin Oct 22, 2024
9c841e4
fix: check for cloud mode in api call
vsukhin Oct 22, 2024
34ceae9
fix: check for trigger cloud mode
vsukhin Oct 22, 2024
17eb28b
fix: check cloud for executing test workflow
vsukhin Oct 22, 2024
8e87626
fix: fmt
vsukhin Oct 22, 2024
89a0da2
fix: tcl for printing running context
vsukhin Oct 22, 2024
0b9e2f8
fix: unit test
vsukhin Oct 22, 2024
07cad5d
fix: support ci/cd
vsukhin Oct 23, 2024
8cd4890
fix: add actor filters
vsukhin Oct 23, 2024
0af724d
Merge branch 'main' into vsukhin/feature/test-workflow-running-context
vsukhin Oct 23, 2024
226ae32
fix: mongo query
vsukhin Oct 23, 2024
f33a1a8
fix: test
vsukhin Oct 23, 2024
21766bf
fix: int test
vsukhin Oct 23, 2024
dd747b8
fix: unit tests
vsukhin Oct 23, 2024
9d4f463
fix: assign running context
vsukhin Oct 24, 2024
11f7fe9
fix: tune printing running context
vsukhin Oct 24, 2024
0dedd68
fix: forrmat printing
vsukhin Oct 24, 2024
13a231a
fix: field name
vsukhin Oct 24, 2024
b768027
fix: rename parameters
vsukhin Oct 24, 2024
993a133
Merge branch 'main' into vsukhin/feature/test-workflow-running-context
vsukhin Oct 24, 2024
ad85fa0
Merge branch 'main' into vsukhin/feature/test-workflow-running-context
vsukhin Oct 28, 2024
c7b125c
fix: dep update
vsukhin Oct 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: use api running context from cloud
Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io>
  • Loading branch information
vsukhin committed Oct 22, 2024
commit fc61c7fc48767a913dcbbfc6939d673977704473
5 changes: 0 additions & 5 deletions internal/app/api/v1/testworkflows.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import (
"github.com/kubeshop/testkube/pkg/api/v1/testkube"
"github.com/kubeshop/testkube/pkg/mapper/testworkflows"
"github.com/kubeshop/testkube/pkg/scheduler"
"github.com/kubeshop/testkube/pkg/tcl/testworkflowstcl/api"
"github.com/kubeshop/testkube/pkg/testworkflows/testworkflowresolver"
"github.com/kubeshop/testkube/pkg/workerpool"
)
Expand Down Expand Up @@ -366,10 +365,6 @@ func (s *TestkubeAPI) ExecuteTestWorkflowHandler() fiber.Handler {
var errs []error

request.TestWorkflowExecutionName = strings.Clone(c.Query("testWorkflowExecutionName"))
if request.RunningContext == nil {
// Pro edition only (tcl protected code)
request.RunningContext = api.GetRunningContext("", "", "")
}
concurrencyLevel := scheduler.DefaultConcurrencyLevel
workerpoolService := workerpool.New[testworkflowsv1.TestWorkflow, testkube.TestWorkflowExecutionRequest,
testkube.TestWorkflowExecution](concurrencyLevel)
Expand Down
27 changes: 0 additions & 27 deletions pkg/tcl/testworkflowstcl/api/api.go

This file was deleted.

Loading