Skip to content

Commit

Permalink
fix: add flag to check if variables file is archived (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
vLia authored Apr 26, 2023
1 parent ecf1391 commit 59c7930
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apis/tests/v3/test_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,9 @@ type ExecutionRequest struct {
// test kubernetes namespace (\"testkube\" when not set)
Namespace string `json:"namespace,omitempty"`
// variables file content - need to be in format for particular executor (e.g. postman envs file)
VariablesFile string `json:"variablesFile,omitempty"`
Variables map[string]Variable `json:"variables,omitempty"`
VariablesFile string `json:"variablesFile,omitempty"`
IsVariablesFileArchived bool `json:"isVariablesFileArchived,omitempty"`
Variables map[string]Variable `json:"variables,omitempty"`
// test secret uuid
TestSecretUUID string `json:"testSecretUUID,omitempty"`
// test suite secret uuid, if it's run as a part of test suite
Expand Down
2 changes: 2 additions & 0 deletions config/crd/bases/tests.testkube.io_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,8 @@ spec:
type: string
type: object
type: array
isVariablesFileArchived:
type: boolean
jobTemplate:
description: job template extensions
type: string
Expand Down

0 comments on commit 59c7930

Please sign in to comment.