Skip to content

Commit

Permalink
fix: previous testnames
Browse files Browse the repository at this point in the history
  • Loading branch information
vsukhin committed Dec 13, 2023
1 parent bb90f63 commit 68dc322
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/testsuite/v3/testsuite_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ type DownloadArtifactOptions struct {
AllPreviousSteps bool `json:"allPreviousSteps,omitempty"`
// previous step numbers starting from 1
PreviousStepNumbers []int32 `json:"previousStepNumbers,omitempty"`
// previous test names
PreviousTestNames []string `json:"previousTestNames,omitempty"`
}

// TestSuiteBatchStep is set of steps run in parallel
Expand Down
5 changes: 5 additions & 0 deletions api/testsuite/v3/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions config/crd/bases/tests.testkube.io_testsuites.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,11 @@ spec:
format: int32
type: integer
type: array
previousTestNames:
description: previous test names
items:
type: string
type: array
type: object
execute:
items:
Expand Down Expand Up @@ -614,6 +619,11 @@ spec:
format: int32
type: integer
type: array
previousTestNames:
description: previous test names
items:
type: string
type: array
type: object
execute:
items:
Expand Down Expand Up @@ -818,6 +828,11 @@ spec:
format: int32
type: integer
type: array
previousTestNames:
description: previous test names
items:
type: string
type: array
type: object
execute:
items:
Expand Down

0 comments on commit 68dc322

Please sign in to comment.