Skip to content

stolostron/hub-of-hubs-e2e

Hub of Hubs E2E

Build

Setup E2E Testing Environment

Install hub-of-hubs from ACM 2.5+

Running E2E Testing

  1. Before you run the E2E, make sure ginkgo is installed:
go get -u github.com/onsi/ginkgo/ginkgo
  1. Set the following environment variables for the testing
# hub-of-hubs config
KUBECONFIG=
CONTEXT=

# managedcluster1 config
IMPORTED1_LEAF_HUB_NAME=
IMPORTED1_NAME=
IMPORTED1_KUBECONFIG=
IMPORTED1_CONTEXT=
IMPORTED1_LEAF_HUB_NAME=

# managedcluster2 config
IMPORTED2_LEAF_HUB_NAME=
IMPORTED2_NAME=
IMPORTED2_KUBECONFIG=
IMPORTED2_CONTEXT=
  1. Then, then test components with make CLI. You can also use the verbose to trace more detail, e.g. make connenction verbose=6
make connection
make label
make policy
make app
  1. The tests result is located in the <project_root>/resources/result

About

An e2e test lib for hub-of-hubs

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published