Squashed 'acm-hub-bootstrap/' content from commit 4b79b1a0
git-subtree-dir: acm-hub-bootstrap git-subtree-split: 4b79b1a0be6da2a9efc9ace8871b4762342da70b
This commit is contained in:
25
tests/interop/README.md
Normal file
25
tests/interop/README.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# Running tests
|
||||
|
||||
## Prerequisites
|
||||
|
||||
* Openshift clusters with multicloud-gitops pattern installed
|
||||
* factory cluster is managed via rhacm
|
||||
* kubeconfig files for Openshift clusters
|
||||
* oc client installed at ~/oc_client/oc
|
||||
|
||||
## Steps
|
||||
|
||||
* create python3 venv, clone multicloud-gitops repository
|
||||
* export KUBECONFIG=\<path to hub kubeconfig file>
|
||||
* export KUBECONFIG_EDGE=\<path to edge kubeconfig file>
|
||||
* export INFRA_PROVIDER=\<infra platform description>
|
||||
* (optional) export WORKSPACE=\<dir to save test results to> (defaults to /tmp)
|
||||
* cd multicloud-gitops/tests/interop
|
||||
* pip install -r requirements.txt
|
||||
* ./run_tests.sh
|
||||
|
||||
## Results
|
||||
|
||||
* results .xml files will be placed at $WORKSPACE
|
||||
* test logs will be placed at $WORKSPACE/.results/test_execution_logs/
|
||||
* CI badge file will be placed at $WORKSPACE
|
||||
Reference in New Issue
Block a user