Skip to content

Skipping steps not needed for hypershift#529

Open
chentex wants to merge 1 commit intocloud-bulldozer:masterfrom
chentex:hypershift-changes
Open

Skipping steps not needed for hypershift#529
chentex wants to merge 1 commit intocloud-bulldozer:masterfrom
chentex:hypershift-changes

Conversation

@chentex
Copy link
Member

@chentex chentex commented Feb 2, 2023

Signed-off-by: Vicente Zepeda Mas vzepedam@redhat.com

Description

Make she change necesary to skip steps that are not required when running in hypershift or ifsome variables are not defined.

Fixes

Signed-off-by: Vicente Zepeda Mas <vzepedam@redhat.com>
@chentex chentex marked this pull request as draft February 2, 2023 17:24
@chentex chentex marked this pull request as ready for review February 8, 2023 00:54
deploy_infra
tune_workload_node apply

if [[ ! ${HYPERSHIFT} == false ]]; then
Copy link
Member

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?

Copy link
Member

@rsevilla87 rsevilla87 Feb 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if [[ ! ${HYPERSHIFT} == false ]]; then
if [[ ${HYPERSHIFT} != "true" ]]; then

done

enable_ingress_operator
if [[ ! -z "${INGRESS_OPERATOR_IMAGE}" ]]; then
Copy link
Member

@rsevilla87 rsevilla87 Feb 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if [[ ! -z "${INGRESS_OPERATOR_IMAGE}" ]]; then
if [[ -n ${INGRESS_OPERATOR_IMAGE} ]]; then

done

tune_workload_node delete
if [[ ${HYPERSHIFT} == false ]]; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if [[ ${HYPERSHIFT} == false ]]; then
if [[ ${HYPERSHIFT} == "false" ]]; then

reschedule_monitoring_stack worker
configure_ingress_images

if [[ ! -z "${INGRESS_OPERATOR_IMAGE}" ]] || [[ ! -z "${HAPROXY_IMAGE}" ]]; then
Copy link
Member

@rsevilla87 rsevilla87 Feb 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if [[ ! -z "${INGRESS_OPERATOR_IMAGE}" ]] || [[ ! -z "${HAPROXY_IMAGE}" ]]; then
if [[ -n ${INGRESS_OPERATOR_IMAGE} ]] || [[ -n ${HAPROXY_IMAGE} ]]; then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants