migtools / mig-e2e

End to end tests for OCP Migration
Apache License 2.0
0 stars 11 forks source link

Optional migclusters and migstorage creation #36

Closed sergiordlr closed 4 years ago

sergiordlr commented 4 years ago

Now the cluster preparation is mandatory, and the names of the migclusters and migstorage are fixed.

With this PR those names are configurable via config/default.yml file or ansible parameters, and the cluster preparation (migcluster and migstorage creation) is optional. This way we can run the test against any App Migration with any migclusters and any migstorage configured in it.

In order to skip the cluster preparation add the parameter "--skip-tags prepare_cluster" to the ansible-playbook command.

Probably it makes more sense to do it the other way around, not to run prepare_cluster by default. But this way we don't impact the jenkins current configuration. In the near future we can change it if we want to.