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

conditionally wait for ibm-licensing-instance #2252

Open
wants to merge 2 commits into
base: scripts-dev
Choose a base branch
from

Conversation

qpdpQ
Copy link
Contributor

@qpdpQ qpdpQ commented Oct 15, 2024

What this PR does / why we need it:
We should only wait for ibm-licensing-instance when ibm-licensing operator is found, it could help to reducing the waiting time.

@ibm-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qpdpQ

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@qpdpQ qpdpQ requested a review from YCShen1010 October 15, 2024 19:18
info "No ibm-licensing-operator found, skipping"
return 0
fi

local ns=$("$OC" get deployments -A | grep ibm-licensing-service-instance | cut -d ' ' -f1)
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry, one more comment, I noticed this line is also included in wait_for_licensing_instance_deployment, is it possible move this check under the above if condition? Thanks

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

Successfully merging this pull request may close these issues.

3 participants