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 233963f commit d3ea74f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ workflow:
allow_best_effort_post_steps: true
allow_skip_on_success: true
post:
- ref: wait
- chain: gather-core-dump
- chain: hypershift-kubevirt-destroy
- chain: baremetalds-ipi-post
Expand Down
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
2 changes: 1 addition & 1 deletion ci-operator/step-registry/wait/wait-ref.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ref:
as: wait
from: cli
from: upi-installer
grace_period: 5m
timeout: 72h0m0s
cli: latest
Expand Down

0 comments on commit d3ea74f

Please sign in to comment.