Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

tests for kubeaddons-enterprise catalog addons

Notifications You must be signed in to change notification settings

d2iq-archive/kubeaddons-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kubeaddons-tests

This repository hosts tests for kubeaddons repositories.

The intention of this repo is to keep kubeaddons repositories clean of any overhead that might break the catalog integration.

Testing from kubeaddons repositories

  • Clone this repo inside the repository
  • Run kubeaddons-tests/run-tests.sh

Testing a branch from this repository

make kind-test TESTING_BRANCH=dev KUBEADDONS_REPO=kubeaddons-enterprise

The above command will clone the git branch dev of kubeaddons-enterprise in local path and run the tests for all addons using a kind cluster.

Adding tests

Add addon tests in the respective kubeaddons-repository directory: kubernetes-base-addons, kubeaddons-enterprise, etc.

For example to add tests for cassandra 0.x addon in the kubeaddons-enterprise repo, add the kuttl based steps with a directory structure like:

└── tests
    └── kubeaddons-enterprise
        └── addons
            ├── cassandra
                ├── 0.x
                    └── cassandra-install-0-x
                        ├── 00-assert.yaml
                        ├── 00-install.yaml
                        ├── 01-assert.yaml
                        └── 01-update.yaml

About

tests for kubeaddons-enterprise catalog addons

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published