This is a small sinatra application used to link to different versions of the Cloud Controller API docs.
- Go to the github page for cf-release
- Find the tag for the release you want.
- Go into the
src
directory. - Get the SHA for the
cloud_controller_ng
submodule. - Go to the Travis page for cloud_controller_ng
- Find the build that corresponds to the SHA you have.
- Click on that build and get the build ID out of the URL. It should be at least 8 digits long.
- Update the hash at the top of
main.rb
and add the release number, Travis build ID, and CC API version number.
- Login to lastpass - look for PWS user (Runtime) - Use those creds for the
cf login
below $ cf api api.run.pivotal.io
$ cf login
- target cfcommunity
- push to 'apidocs' app