Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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