@@ -177,7 +177,7 @@ function attach_agent_iso_no_registry() {
177
177
sudo virt-xml ${name} --edit target=sdc --disk=" boot_order=2" --start
178
178
echo " Waiting for 3 mins to arrive at agent-tui screen"
179
179
sleep 180
180
- ./agent/e2e/agent-tui/test -no-registry-agent-tui.sh $name
180
+ ./agent/e2e/agent-tui/automate -no-registry-agent-tui.sh $name
181
181
echo " Finished configuring the rendezvousIP via agent-tui for $name "
182
182
done
183
183
}
@@ -551,19 +551,22 @@ case "${AGENT_E2E_TEST_BOOT_MODE}" in
551
551
asset_dir=$SCRIPTDIR /$OCP_DIR /iso_builder
552
552
mkdir -p ${asset_dir}
553
553
create_agent_iso_no_registry ${asset_dir}
554
-
554
+
555
555
attach_agent_iso_no_registry master $NUM_MASTERS
556
556
attach_agent_iso_no_registry worker $NUM_WORKERS
557
557
558
- # In case of SNO, wait for additional 3 minutes for the node
559
- # to finish booting up and make sure UI is up
560
- if [[ " ${NUM_MASTERS} " == " 1" ]]; then
561
- sleep 180
562
- fi
563
558
check_assisted_install_UI
564
559
;;
565
560
esac
566
561
562
+ if [[ " ${AGENT_E2E_TEST_BOOT_MODE} " != " ISO_NO_REGISTRY" ]]; then
563
+ # Current goal is to only verify if the nodes are booted fine,
564
+ # TUI sets the rendezvous IP correctly and UI is accessible.
565
+ # The next goal is to simulate adding the cluster details via UI
566
+ # and complete the cluster installation.
567
+ exit 0
568
+ fi
569
+
567
570
if [ ! -z " ${AGENT_TEST_CASES:- } " ]; then
568
571
run_agent_test_cases
569
572
fi
@@ -591,24 +594,17 @@ if [[ ! -z $AGENT_OPERATORS ]]; then
591
594
put_operator_file
592
595
fi
593
596
594
- # Current goal is to only verify if the nodes are booted fine,
595
- # TUI sets the rendezvous IP correctly and UI is accessible.
596
- # The next goal is to simulate adding the cluster details via UI
597
- # and complete the cluster installation.
598
- if [[ " ${AGENT_E2E_TEST_BOOT_MODE} " != " ISO_NO_REGISTRY" ]]; then
599
- wait_for_cluster_ready
600
- fi
597
+
598
+ wait_for_cluster_ready
601
599
602
600
if [ ! -z " ${AGENT_DEPLOY_MCE} " ]; then
603
601
mce_complete_deployment
604
602
fi
605
603
606
604
# e2e test configuration
607
- if [[ " ${AGENT_E2E_TEST_BOOT_MODE} " != " ISO_NO_REGISTRY" ]]; then
608
- # Configure storage for the image registry
609
- oc patch configs.imageregistry.operator.openshift.io \
610
- cluster --type merge --patch ' {"spec":{"storage":{"emptyDir":{}},"managementState":"Managed"}}'
611
- fi
605
+ # Configure storage for the image registry
606
+ oc patch configs.imageregistry.operator.openshift.io \
607
+ cluster --type merge --patch ' {"spec":{"storage":{"emptyDir":{}},"managementState":"Managed"}}'
612
608
613
609
if [[ ! -z " ${ENABLE_LOCAL_REGISTRY} " ]]; then
614
610
# Configure tools image registry and cluster samples operator
0 commit comments