Skip to content
This repository was archived by the owner on Feb 8, 2022. It is now read-only.

kubeshop/kubtest-executor-k8sjobs

██   ██ ██    ██ ██████  ████████ ███████ ███████ ████████ 
██  ██  ██    ██ ██   ██    ██    ██      ██         ██    
█████   ██    ██ ██████     ██    █████   ███████    ██    
██  ██  ██    ██ ██   ██    ██    ██           ██    ██    
██   ██  ██████  ██████     ██    ███████ ███████    ██    
                                 /kʌb tɛst/ by Kubeshop
                    EXCUTOR TEMPLATE

Welcome to Kubtest Template Executor

Kubetest Template Executor is test executor for Kubtest

Issues and enchancements

Please follow to main kubtest repository for reporting any issues or discussions

Implemention in 4 steps:

  1. Create new repo on top of this template

  2. Implement your own Runner on top of [runner interface](https://github.com/kubeshop/kubtest/blob/main/pkg/runner/interface.go

  3. Change Dockerfile - use base image of whatever test framework/library you want to use

  4. Register Executor Custom Resource in your cluster

apiVersion: executor.kubtest.io/v1
kind: Executor
metadata:
  name: example-executor
spec:
  uri: http://template-executor:8082
  types:
  - example/test

Architecture

Template executor implement work queue on top of API REST endpoints Work queue implemented on top of MongoDB. You can scale workers easily on many nodes.

Kubtest will pass particular test execution based on executor registered types (e.g. "postman/collection' or 'cypress/project')

executor/server package introduce 2 endpoints

  • first for pushing execution to queue and
  • second for getting execution details from queue

TODO add architecture diagrams

API

Template executor implements Kubtest OpenAPI for executors (look at executor tag)

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published