Skip to content
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

Fix hypershift conditionals #503

Merged
merged 2 commits into from
Oct 27, 2022

Conversation

rsevilla87
Copy link
Member

Signed-off-by: Raul Sevilla rsevilla@redhat.com

Description

These two conditionals are incorrect and are always evaluated true

Signed-off-by: Raul Sevilla <rsevilla@redhat.com>
@rsevilla87 rsevilla87 added the bug Something isn't working label Oct 27, 2022
@qiliRedHat
Copy link
Collaborator

@rsevilla87 I tested with your fork/branch, still have some problem

10-27 19:46:40.338  �[1mThu Oct 27 11:46:33 UTC 2022 Disabling cluster version operator�[0m
10-27 19:46:40.338  deployment.apps/cluster-version-operator scaled
10-27 19:46:40.338  common.sh: line 74: !false: command not found
10-27 19:46:40.338  �[1mThu Oct 27 11:46:33 UTC 2022 Using the default ingress-operator image�[0m
10-27 19:46:40.338  �[1mThu Oct 27 11:46:33 UTC 2022 Using the default router image�[0m
10-27 19:46:40.338  �[1mThu Oct 27 11:46:33 UTC 2022 Scaling ingress-operator down to 0�[0m
10-27 19:46:40.338  Error from server (NotFound): deployments.apps "ingress-operator" not found

Signed-off-by: Raul Sevilla <rsevilla@redhat.com>
@rsevilla87
Copy link
Member Author

@rsevilla87 I tested with your fork/branch, still have some problem

10-27 19:46:40.338  �[1mThu Oct 27 11:46:33 UTC 2022 Disabling cluster version operator�[0m
10-27 19:46:40.338  deployment.apps/cluster-version-operator scaled
10-27 19:46:40.338  common.sh: line 74: !false: command not found
10-27 19:46:40.338  �[1mThu Oct 27 11:46:33 UTC 2022 Using the default ingress-operator image�[0m
10-27 19:46:40.338  �[1mThu Oct 27 11:46:33 UTC 2022 Using the default router image�[0m
10-27 19:46:40.338  �[1mThu Oct 27 11:46:33 UTC 2022 Scaling ingress-operator down to 0�[0m
10-27 19:46:40.338  Error from server (NotFound): deployments.apps "ingress-operator" not found

ok, as discussed in Slack, you can try again with the latest bits

Copy link
Collaborator

@smalleni smalleni left a comment

Choose a reason for hiding this comment

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

Looks like bash behaves weirdly with booleans :-)

@mukrishn mukrishn merged commit 7af6e86 into cloud-bulldozer:master Oct 27, 2022
@qiliRedHat
Copy link
Collaborator

I tested with the merged code, it worked well now.

vishnuchalla pushed a commit that referenced this pull request Sep 6, 2023
* Fix hypershift conditionals

Signed-off-by: Raul Sevilla <rsevilla@redhat.com>

* Fix typo

Signed-off-by: Raul Sevilla <rsevilla@redhat.com>

Signed-off-by: Raul Sevilla <rsevilla@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants