RamenDR / ramen

Apache License 2.0
70 stars 51 forks source link

e2e: use one single config.yaml for all inputs #1406

Closed par97 closed 1 month ago

par97 commented 1 month ago

e2e tests could be run with: ./e2e-rdr.sh or ./e2e-rdr.sh -configfile config.yaml

config.yaml content is in the format of:

channelname: "ramen-gitops"
channelnamespace: "ramen-samples"
giturl: "https://github.com/RamenDR/ocm-ramen-samples.git"
Clusters:
  c1:
    kubeconfigpath: /home/par/.config/drenv/rdr-rdr/kubeconfigs/rdr-dr1
  c2:
    kubeconfigpath: /home/par/.config/drenv/rdr-rdr/kubeconfigs/rdr-dr2
  hub:
    kubeconfigpath: /home/par/.config/drenv/rdr-rdr/kubeconfigs/rdr-hub

channelname, channelnamespace, giturl are optional, if not specified, will use above default values.
kubeconfig file path are must to have.