End-to-end tests for the foundation components.
make build-image
Make sure you have kubeconfig files in the current directory for both the hub cluster and the managed cluster on which you want to run the test cases.
docker run -it -v $(pwd):/opt quay.io/stolostron/foundation-e2e:latest /work-e2e --ginkgo.v --ginkgo.label-filter=sanity-check -hub-kubeconfig=/opt/<hub_kubeconfig_file> -cluster-name=<managed_cluster_name> -managed-kubeconfig=/opt/<managed_kubeconfig_file>
Make sure you have the kubeconfig file of the hub cluster in the current directory.
docker run -it -v $(pwd):/opt quay.io/stolostron/foundation-e2e:latest /placement-e2e --ginkgo.v --ginkgo.label-filter=sanity-check -hub-kubeconfig=/opt/<hub_kubeconfig_file> -create-global-clusterset=false -tolerate-unreachable-taint