Skip to content

Commit

Permalink
wip: tests...
Browse files Browse the repository at this point in the history
Signed-off-by: Simone Tiraboschi <stirabos@redhat.com>
  • Loading branch information
tiraboschi committed Apr 23, 2024
1 parent 068ae4a commit da5adc1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ fi

echo "$(date) Creating HyperShift guest cluster ${CLUSTER_NAME}"
# shellcheck disable=SC2086
"${HCP_CLI}" create cluster kubevirt ${EXTRA_ARGS} ${ICSP_COMMAND} \
# TODO: test only
echo "${HCP_CLI}" create cluster kubevirt ${EXTRA_ARGS} ${ICSP_COMMAND} \
--name "${CLUSTER_NAME}" \
--namespace "${CLUSTER_NAMESPACE_PREFIX}" \
--node-pool-replicas "${HYPERSHIFT_NODE_COUNT}" \
Expand All @@ -129,6 +130,9 @@ echo "$(date) Creating HyperShift guest cluster ${CLUSTER_NAME}"
--pull-secret "${PULL_SECRET_PATH}" \
--generate-ssh

# TODO: test only
sleep 7200

if [[ -n ${MCE} ]] ; then
if (( $(awk 'BEGIN {print ("'"$MCE_VERSION"'" < 2.4)}') )); then
oc annotate hostedclusters -n "${CLUSTER_NAMESPACE_PREFIX}" "${CLUSTER_NAME}" "cluster.open-cluster-management.io/managedcluster-name=${CLUSTER_NAME}" --overwrite
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ref:
as: hypershift-kubevirt-create
from: hypershift-operator
grace_period: 5m0s
timeout: 1h
timeout: 3h
cli: latest
env:
- name: HYPERSHIFT_NODE_COUNT
Expand Down

0 comments on commit da5adc1

Please sign in to comment.