awx-resource-operator icon indicating copy to clipboard operation
awx-resource-operator copied to clipboard

Test automation

Open mikeshng opened this issue 4 years ago • 2 comments

We need some tests for this repo. @matburt @maxamillion any suggestions?

I am thinking we can use: https://github.com/kubernetes-sigs/kind https://github.com/ansible/awx using a script/ansible/gocode

  1. launch a kind local cluster
  2. deploy awx on it (not sure awx can be deployed to kind) maybe part of the requirement for the test is to have a cluster
  3. deploy this operator to the cluster
  4. run tests

mikeshng avatar Sep 04 '20 14:09 mikeshng

We actually have some examples of how we run tests over here using molecule https://github.com/ansible/awx-operator

matburt avatar Sep 04 '20 14:09 matburt

I see, it uses minikube instead of kind. Thanks Matt. We will look into it.

mikeshng avatar Sep 04 '20 14:09 mikeshng