Script
tests.testkube.io / v2
apiVersion: tests.testkube.io/v2
kind: Script
metadata:
name: example
apiVersion
string
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind
string
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata
object
spec object
ScriptSpec defines the desired state of Script
content object
script content object
data
string
script content body
repository object
repository of script content
branch
string required
branch/tag name for checkout
path
string
if needed we can checkout particular path (dir or file) in case of BIG/mono repositories
token
string
git auth token for private repositories
type
string required
VCS repository type
uri
string required
uri of content file or git directory
username
string
git auth username for private repositories
type
string
script type
uri
string
uri of script content
name
string
script execution custom name
params
object
execution params passed to executor
tags
[]string
script tags
type
string
script type
status object
ScriptStatus defines the observed state of Script
executions_count
integer
last_execution
string
format:
date-timeNo matches. Try .spec.content for an exact path