pivomatic
Bash Script to wrap around Pivnet CLI and OM. This script downloads and uploads with a single command. Intended to be used on a Jump Server for easy internet access. Note: Sometimes the Pivnet Api (network.pivotal.io) returns multiple files marked as software, in this case the process is stopped and the id needs to be provided with a flag.
Usage: pivomatic
-t <pivnet-token>
-o <opsman-url>
-u <opsman-user>
-p <opsman-pass>
-s <product-slug>
-r <release>
-i <id (optional)>
After upload it will provide you with a summary of uploaded products on OpsManager.
Requirements
Known issues
- Known to not work with non-linux OS
Why BASH? No GOLANG?
Was on the go while writing this and only had my iPad with me with access to that Jump Box. Served me well and will do the same for you.