PCF CLI Plugin Check Before Deploy
Check Before Deploy for PCF CLI Plugin
This repository provides a Cloud Foundry CLI plugin for check the YAML file before launch deploy instructions.
To install the current released version of the plugin in the
cf CLI just run:
$ cf install-plugin -r CF-Community "check-before-deploy"
The plugin's commands may then be listed by issuing
To update the plugin, uninstall it as follows and then re-install the plugin as above:
$ cf uninstall-plugin check-before-deploy
You need to install GO.
The specific libraries used in this project are ready in the "vendor" folder.
After install external libraries, it's possible ejecute on windows "compile.bat" to generate plugin in different platforms (osx,windows,linux).
To install the built version use:
$ cf install-plugin -f <Your_OS>/check-before-deploy<Your_OS>
Run the tests as follows to check all commands (Actually 2):
$ cd cf-cli-check-before-deploy $ cf check-before-deploy -file mta.yaml -all
The Check Before Deploy plugin for PCF CLI plugin is Open Source software released under the Apache 2.0 license.