Skip to content

Commit 59c7930

Browse files
authored
fix: add flag to check if variables file is archived (#131)
1 parent ecf1391 commit 59c7930

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

apis/tests/v3/test_types.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,9 @@ type ExecutionRequest struct {
157157
// test kubernetes namespace (\"testkube\" when not set)
158158
Namespace string `json:"namespace,omitempty"`
159159
// variables file content - need to be in format for particular executor (e.g. postman envs file)
160-
VariablesFile string `json:"variablesFile,omitempty"`
161-
Variables map[string]Variable `json:"variables,omitempty"`
160+
VariablesFile string `json:"variablesFile,omitempty"`
161+
IsVariablesFileArchived bool `json:"isVariablesFileArchived,omitempty"`
162+
Variables map[string]Variable `json:"variables,omitempty"`
162163
// test secret uuid
163164
TestSecretUUID string `json:"testSecretUUID,omitempty"`
164165
// test suite secret uuid, if it's run as a part of test suite

config/crd/bases/tests.testkube.io_tests.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,8 @@ spec:
563563
type: string
564564
type: object
565565
type: array
566+
isVariablesFileArchived:
567+
type: boolean
566568
jobTemplate:
567569
description: job template extensions
568570
type: string

0 commit comments

Comments
 (0)