Closed nirs closed 1 year ago
Tested with https://github.com/RamenDR/ramen/pull/944
$ test/basic-test/deploy dr1 -v
2023-06-27 23:37:03,574 DEBUG [deploy] Parsed arguments: Namespace(verbose=True, cluster='dr1')
2023-06-27 23:37:03,574 INFO [deploy] Creating temporary directory /tmp/ramen-test/basic-test
2023-06-27 23:37:03,574 INFO [deploy] Cloning ocm-ramen-samples
2023-06-27 23:37:04,353 INFO [deploy] Creating kustomization for using cluster 'dr1'
2023-06-27 23:37:04,353 INFO [deploy] Deploying busybox example application
2023-06-27 23:37:04,667 DEBUG [deploy] namespace/busybox-sample created
2023-06-27 23:37:04,678 DEBUG [deploy] namespace/ramen-samples created
2023-06-27 23:37:04,696 DEBUG [deploy] channel.apps.open-cluster-management.io/ramen-gitops created
2023-06-27 23:37:04,713 DEBUG [deploy] placementrule.apps.open-cluster-management.io/busybox-placement created
2023-06-27 23:37:04,730 DEBUG [deploy] subscription.apps.open-cluster-management.io/busybox-sub created
2023-06-27 23:37:04,740 DEBUG [deploy] drplacementcontrol.ramendr.openshift.io/busybox-drpc created
2023-06-27 23:37:04,747 INFO [deploy] waiting for namespace busybox-sample
2023-06-27 23:37:04,808 DEBUG [deploy] namespace/busybox-sample exists
2023-06-27 23:37:04,808 INFO [deploy] Waiting until busybox drpc reports phase
2023-06-27 23:37:05,913 DEBUG [deploy] drpc/busybox-drpc exists
2023-06-27 23:37:05,913 INFO [deploy] Waiting until busybox drpc is deployed
2023-06-27 23:37:06,062 DEBUG [deploy] drplacementcontrol.ramendr.openshift.io/busybox-drpc condition met
2023-06-27 23:37:06,064 INFO [deploy] Waiting until application is replicated
2023-06-27 23:38:34,708 DEBUG [deploy] drpc/busybox-drpc exists
2023-06-27 23:38:34,708 INFO [deploy] Application was deployed successfully
Simplify the installation and make it more clear by separating ramen configuration from application configuration. With this change we can use the subscriptions resources for ramen tests.