Last active
March 9, 2019 16:14
-
-
Save shaunfink/aec6b36b660465024e148b94a96e7f29 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
# Install CF Plugins | |
cf_plugins=(\ | |
'log-stream' \ | |
'report-memory-usage' \ | |
'report-disk-usage' \ | |
'log-cache' \ | |
'app-autoscaler-plugin' \ | |
'autopilot' \ | |
'cfdev' \ | |
'bg-restage' \ | |
'cf-recycle-plugin' \ | |
'drains' \ | |
'blue-green-deploy' \ | |
'report-buildpacks' \ | |
'report-users' \ | |
'log-noise' \ | |
'app-metrics' \ | |
'service-use' \ | |
'top' \ | |
'Service Instance Logging' \ | |
'autopilot' \ | |
'Firehose Plugin' \ | |
'Targets' \ | |
'open' \ | |
'buildpack-usage' \ | |
'do-all' \ | |
'get-events' \ | |
'route-lookup' \ | |
'doctor' \ | |
'Usage Report' \ | |
'Buildpack Management' \ | |
'Statistics' \ | |
'wildcard_plugin' \ | |
) | |
eval \${cf_plugins[@]} | |
IFS=$'\n' | |
for plugin in ${cf_plugins[@]}; do | |
echo "installing $plugin" | |
cf install-plugin -r CF-Community $plugin -f | |
done | |
unset IFS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment