Created
October 19, 2017 07:30
-
-
Save boina-n/f9e63e092bd391e8ff7bbc1d474224e2 to your computer and use it in GitHub Desktop.
check latest version of Pivotal products.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. download Pivnet-cli : https://github.com/pivotal-cf/pivnet-cli/releases | |
$ om --target https://******--skip-ssl-validation --username ***** --password ***** staged-products | |
+-------------------------+-----------+ | |
| NAME | VERSION | | |
+-------------------------+-----------+ | |
| p-redis | 1.*.2 | | |
| p-rabbitmq | 1.*.7 | | |
| p-mysql | 1.*.3 | | |
| apm | 1.*.8 | | |
| p-bosh | 1.*.11.0 | | |
| cf | 1.*.13 | | |
| p-metrics | 1.*.1 | | |
| p-spring-cloud-services | 1.*.4 | | |
| mongo-db-for-pcf | 0.*.12 | | |
+-------------------------+-----------+ | |
pivnet login --api-t xxx.xxx.xxx.xxx --skip-ssl-validation --username **** --password **** staged-products | grep -e "^| [a-Z]" | awk '{ print $2 }' | while read p; do pivnet releases -p $p --format=json | jq '.'[0] --tab > $p.release; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment