Skip to main content

testkube_update_test

testkube update test

Update test

Synopsis

Update Test Custom Resource

testkube update test [flags]

Options

      --artifact-dir stringArray                   artifact dirs for container executor
--artifact-storage-class-name string artifact storage class name for container executor
--artifact-volume-mount-path string artifact volume mount path for container executor
--command stringArray command passed to image in container executor
--copy-files stringArray file path mappings from host to pod of form source:destination
--env stringToString envs in a form of name1=val1 passed to executor (default [])
--execution-name string execution name, if empty will be autogenerated
--executor-args stringArray executor binary additional arguments
-f, --file string test file - will try to read content from stdin if not specified
--git-branch string if uri is git repository we can set additional branch parameter
--git-commit string if uri is git repository we can use commit id (sha) parameter
--git-path string if repository is big we need to define additional path to directory/file to checkout partially
--git-token string if git repository is private we can use token as an auth parameter
--git-token-secret stringToString git token secret in a form of secret_name1=secret_key1 for private repository (default [])
--git-uri string Git repository uri
--git-username string if git repository is private we can use username as an auth parameter
--git-username-secret stringToString git username secret in a form of secret_name1=secret_key1 for private repository (default [])
--git-working-dir string if repository contains multiple directories with tests (like monorepo) and one starting directory we can set working directory parameter
-h, --help help for test
--http-proxy string http proxy for executor containers
--https-proxy string https proxy for executor containers
-i, --image string image for container executor
--image-pull-secrets stringArray secret name used to pull the image in container executor
--job-template string job template file path for extensions to job template
-l, --label stringToString label key value pair: --label key1=value1 (default [])
-n, --name string unique test name - mandatory
--negative-test negative test, if enabled, makes failure an expected and correct test result. If the test fails the result will be set to success, and vice versa
--prerun-script string path to script to be run before test execution
--schedule string test schedule in a cronjob form: * * * * *
--scraper-template string scraper template file path for extensions to scraper template
--secret-env stringToString secret envs in a form of secret_key1=secret_name1 passed to executor (default [])
-s, --secret-variable stringToString secret variable key value pair: -s key1=value1 (default [])
--secret-variable-reference stringToString secret variable references in a form name1=secret_name1=secret_key1 (default [])
--source string source name - will be used together with content parameters
--test-content-type string content type of test one of string|file-uri|git-file|git-dir
--timeout int duration in seconds for test to timeout. 0 disables timeout.
-t, --type string test type (defaults to postman-collection)
--uri string URI of resource - will be loaded by http GET
-v, --variable stringToString variable key value pair: -v key1=value1 (default [])
--variables-file string variables file path, e.g. postman env file - will be passed to executor if supported

Options inherited from parent commands

  -a, --api-uri string     api uri, default value read from config if set (default "http://localhost:8088")
-c, --client string client used for connecting to Testkube API one of proxy|direct (default "proxy")
--namespace string Kubernetes namespace, default value read from config if set (default "testkube")
--oauth-enabled enable oauth (default true)
--verbose show additional debug messages

SEE ALSO