Skip to content

update ibmcloud cli to align with latest plugin change #231

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

Merged

Conversation

Poorna-Gottimukkula1
Copy link
Contributor

This PR updates the ibmcloud cli to align with the latest plugin changes. The previous command behavior has changed after the recent plugin update, affecting the expected output.

[root@centos-open-vpn1 ~]# ibmcloud plugin update power-iaas -v 1.4.1
Plug-in 'power-iaas[pi] 1.4.2' was installed.
Looking up power-iaas[pi] from repository 'IBM Cloud'...
Update 'power-iaas[pi] 1.4.2' to 'power-iaas[pi] 1.4.1'
Attempting to download the binary file...
 28.93 MiB / 28.93 MiB [==============================================================================================================================================================================================================] 100.00% 2s
30339224 bytes downloaded
Updating binary...
OK
The plug-in was successfully upgraded.
[root@centos-open-vpn1 ~]# ibmcloud pi ws ls | grep "7545067f-dc8c-40d3-be18-13f433d19b62"
Listing workspaces under account PCLOUD Upstream CI as user Poorna.Gottimukkula1@ibm.com...
crn:v1:bluemix:public:power-iaas:mon01:a/7cfbd5381a434af7a09289e795840d4e:7545067f-dc8c-40d3-be18-13f433d19b62::      7545067f-dc8c-40d3-be18-13f433d19b62   rdr-ocp-cicd-montreal01

From power-iaas[pi] 1.4.2 version the behavior has changed

[root@centos-open-vpn1 ~]# ibmcloud plugin update power-iaas -v 1.4.2
Plug-in 'power-iaas[pi] 1.4.1' was installed.
Looking up power-iaas[pi] from repository 'IBM Cloud'...
Update 'power-iaas[pi] 1.4.1' to 'power-iaas[pi] 1.4.2'
Attempting to download the binary file...
 30.25 MiB / 30.25 MiB [==============================================================================================================================================================================================================] 100.00% 2s
31719608 bytes downloaded
Updating binary...
OK
The plug-in was successfully upgraded.
[root@centos-open-vpn1 ~]# ibmcloud pi ws ls | grep "7545067f-dc8c-40d3-be18-13f433d19b62"
Listing workspaces under account PCLOUD Upstream CI as user Poorna.Gottimukkula1@ibm.com...
7545067f-dc8c-40d3-be18-13f433d19b62   rdr-ocp-cicd-montreal01               crn:v1:bluemix:public:power-iaas:mon01:a/7cfbd5381a434af7a09289e795840d4e:7545067f-dc8c-40d3-be18-13f433d19b62::
[root@centos-open-vpn1 ~]# ibmcloud plugin update power-iaas
Plug-in 'power-iaas[pi] 1.4.2' was installed.
Checking upgrades for plug-in 'power-iaas[pi]' from repository 'IBM Cloud'...
No updates are available.
[root@centos-open-vpn1 ~]#

cc: @sudeeshjohn

@ppc64le-cloud-bot
Copy link

Welcome @Poorna-Gottimukkula1! It looks like this is your first PR to ocp-power-automation/openshift-install-power 🎉

Signed-off-by: Poorna Gottimukkula <Poorna.Gottimukkula1@ibm.com>
Copy link
Collaborator

@yussufsh yussufsh left a comment

Choose a reason for hiding this comment

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

/lgtm

@ppc64le-cloud-bot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Poorna-Gottimukkula1, yussufsh

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

@yussufsh yussufsh merged commit b65bbeb into ocp-power-automation:devel Mar 4, 2025
4 of 7 checks passed
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