Skip to content

Commit

Permalink
fix: change artifact support
Browse files Browse the repository at this point in the history
  • Loading branch information
vsukhin committed Apr 21, 2023
1 parent 87d84aa commit 63c34fd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
8 changes: 4 additions & 4 deletions apis/tests/v3/test_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,13 @@ const (
GitAuthTypeHeader GitAuthType = "header"
)

// artifact request body for container executors with test artifacts
// artifact request body with test artifacts
type ArtifactRequest struct {
// artifact storage class name
// artifact storage class name for container executor
StorageClassName string `json:"storageClassName"`
// artifact volume mount path
// artifact volume mount path for container executor
VolumeMountPath string `json:"volumeMountPath"`
// artifact directories
// artifact directories for scraping
Dirs []string `json:"dirs,omitempty"`
}

Expand Down
9 changes: 4 additions & 5 deletions config/crd/bases/tests.testkube.io_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -458,19 +458,18 @@ spec:
- override
type: string
artifactRequest:
description: artifact request body for container executors with
test artifacts
description: artifact request body with test artifacts
properties:
dirs:
description: artifact directories
description: artifact directories for scraping
items:
type: string
type: array
storageClassName:
description: artifact storage class name
description: artifact storage class name for container executor
type: string
volumeMountPath:
description: artifact volume mount path
description: artifact volume mount path for container executor
type: string
required:
- storageClassName
Expand Down

0 comments on commit 63c34fd

Please sign in to comment.