-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skipping steps not needed for hypershift #529
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Vicente Zepeda Mas <[email protected]>
@@ -14,10 +14,18 @@ log "Deployment replicas: ${DEPLOYMENT_REPLICAS}" | |||
log "###############################################" | |||
check_hypershift | |||
deploy_infra | |||
tune_workload_node apply | |||
|
|||
if [[ ! ${HYPERSHIFT} == false ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can add this variable HYPERSHIFT
to the docs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if [[ ! ${HYPERSHIFT} == false ]]; then | |
if [[ ${HYPERSHIFT} != "true" ]]; then |
@@ -40,16 +48,22 @@ for termination in ${TERMINATIONS}; do | |||
fi | |||
done | |||
|
|||
enable_ingress_operator | |||
if [[ ! -z "${INGRESS_OPERATOR_IMAGE}" ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if [[ ! -z "${INGRESS_OPERATOR_IMAGE}" ]]; then | |
if [[ -n ${INGRESS_OPERATOR_IMAGE} ]]; then |
log "Copying mb test results locally (large file)" | ||
until oc rsync -n http-scale-client ${client_pod}:/tmp/results.csv ./; do | ||
echo "Transfer disrupted, retrying in 10 seconds..." | ||
sleep 10 | ||
done | ||
|
||
tune_workload_node delete | ||
if [[ ${HYPERSHIFT} == false ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if [[ ${HYPERSHIFT} == false ]]; then | |
if [[ ${HYPERSHIFT} == "false" ]]; then |
reschedule_monitoring_stack worker | ||
configure_ingress_images | ||
|
||
if [[ ! -z "${INGRESS_OPERATOR_IMAGE}" ]] || [[ ! -z "${HAPROXY_IMAGE}" ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if [[ ! -z "${INGRESS_OPERATOR_IMAGE}" ]] || [[ ! -z "${HAPROXY_IMAGE}" ]]; then | |
if [[ -n ${INGRESS_OPERATOR_IMAGE} ]] || [[ -n ${HAPROXY_IMAGE} ]]; then |
Signed-off-by: Vicente Zepeda Mas [email protected]
Description
Make she change necesary to skip steps that are not required when running in hypershift or ifsome variables are not defined.
Fixes