Skip to content

Instantly share code, notes, and snippets.

@shaunfink
Last active March 9, 2019 16:14
Show Gist options
  • Save shaunfink/aec6b36b660465024e148b94a96e7f29 to your computer and use it in GitHub Desktop.
Save shaunfink/aec6b36b660465024e148b94a96e7f29 to your computer and use it in GitHub Desktop.
#!/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