tests/

directory
v0.0.0-...-76ad5d6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2024 License: Apache-2.0

README

Testing the Upgrades Operator

Integration tests using a cluster running RHACM and the deployed ClusterGroupUpgrades operator

Export KUBECONFIG environment variable to point to your cluster running RHACM

 make complete-deployment
 make kuttl-test
 make stop-test-proxy

or simply

make complete-deployment

Integration tests using kuttl and kind

Prerequisites:

 make kind-deps-update
 make kind-bootstrap-cluster
 make docker-build
 make kind-load-operator-image
 make deploy

or simply

 make kind-complete-kuttl-test

For un-deploying the Upgrades operator:

 make undeploy

For development, a more suited approach is:

 make kind-deps-update
 make kind-bootstrap-cluster
 make install run
 make kuttl-test

For deleting the cluster:

 make kind-delete-cluster

Unit tests

 make ci-job

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL