Squashed 'acm-hub-bootstrap/' content from commit 4b79b1a0
git-subtree-dir: acm-hub-bootstrap git-subtree-split: 4b79b1a0be6da2a9efc9ace8871b4762342da70b
This commit is contained in:
36
tests/interop/run_tests.sh
Executable file
36
tests/interop/run_tests.sh
Executable file
@@ -0,0 +1,36 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
export EXTERNAL_TEST="true"
|
||||
export PATTERN_NAME="MultiCloudGitops"
|
||||
export PATTERN_SHORTNAME="mcgitops"
|
||||
|
||||
if [ -z "${KUBECONFIG}" ]; then
|
||||
echo "No kubeconfig file set for hub cluster"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -z "${KUBECONFIG_EDGE}" ]; then
|
||||
echo "No kubeconfig file set for edge cluster"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -z "${INFRA_PROVIDER}" ]; then
|
||||
echo "INFRA_PROVIDER is not defined"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -z "${WORKSPACE}" ]; then
|
||||
export WORKSPACE=/tmp
|
||||
fi
|
||||
|
||||
pytest -lv --disable-warnings test_subscription_status_hub.py --kubeconfig $KUBECONFIG --junit-xml $WORKSPACE/test_subscription_status_hub.xml
|
||||
|
||||
pytest -lv --disable-warnings test_subscription_status_edge.py --kubeconfig $KUBECONFIG_EDGE --junit-xml $WORKSPACE/test_subscription_status_edge.xml
|
||||
|
||||
pytest -lv --disable-warnings test_validate_hub_site_components.py --kubeconfig $KUBECONFIG --junit-xml $WORKSPACE/test_validate_hub_site_components.xml
|
||||
|
||||
pytest -lv --disable-warnings test_validate_edge_site_components.py --kubeconfig $KUBECONFIG_EDGE --junit-xml $WORKSPACE/test_validate_edge_site_components.xml
|
||||
|
||||
pytest -lv --disable-warnings test_modify_web_content.py --kubeconfig $KUBECONFIG --junit-xml $WORKSPACE/test_modify_web_content.xml
|
||||
|
||||
python3 create_ci_badge.py
|
||||
Reference in New Issue
Block a user