diff --git a/ci-operator/step-registry/upi/install/heterogeneous/upi-install-heterogeneous-commands.sh b/ci-operator/step-registry/upi/install/heterogeneous/upi-install-heterogeneous-commands.sh index c2bc6e8af1149..68a639ec4fe8f 100644 --- a/ci-operator/step-registry/upi/install/heterogeneous/upi-install-heterogeneous-commands.sh +++ b/ci-operator/step-registry/upi/install/heterogeneous/upi-install-heterogeneous-commands.sh @@ -195,8 +195,9 @@ case "$CLUSTER_TYPE" in echo "Removing the hosts having architectures: ${SCALE_IN_ARCHITECTURES}..." REGEX=$(echo "$SCALE_IN_ARCHITECTURES" | tr ',' '|') for bmhost in $(yq e -o=j -I=0 ".[] | select(.arch|test(\"${REGEX}\") and .name|test(\"worker\"))" "${SHARED_DIR}/hosts.yaml"); do - # shellcheck disable=SC1090,SC2154 + # shellcheck disable=SC1090 . <(echo "$bmhost" | yq e 'to_entries | .[] | (.key + "=\"" + .value + "\"")') + # shellcheck disable=SC2154 removal_list+=( "${name}/${mac}" ) oc adm cordon "${name}.${CLUSTER_NAME}.${BASE_DOMAIN}" oc adm drain --force --ignore-daemonsets --delete-local-data --grace-period=10 "${name}.${CLUSTER_NAME}.${BASE_DOMAIN}"