Update cf-deployment-api-versions
This is a small sinatra application used to link to different versions of the Cloud Controller API docs.
Install all dependencies using bundle install
bundle install
Run bundle exec rspec spec
bundle exec rspec spec
Run bundle exec rackup
bundle exec rackup
Run ./getversion.sh for adding docs from a version of CC in CF Deployment and ./getversion_release.sh for a version of CC from CF Release.
./getversion.sh
./getversion_release.sh
Example:
./getversion_release.sh v270 | pbcopy
Add the JSON output into the respective JSON file. E.g. data/cf-deployment-api-versions.json or data/cf-release-api-versions.json.
data/cf-deployment-api-versions.json
data/cf-release-api-versions.json
src
cloud_controller_ng
main.rb
cf login
$ cf api api.run.pivotal.io
$ cf login
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
Cloud Controller API Docs
This is a small sinatra application used to link to different versions of the Cloud Controller API docs.
Development
Install all dependencies using
bundle installRunning tests
Run
bundle exec rspec specRunning the server locally
Run
bundle exec rackupInstructions for manually adding docs for a new release
Run
./getversion.shfor adding docs from a version of CC in CF Deployment and./getversion_release.shfor a version of CC from CF Release.Example:
Add the JSON output into the respective JSON file. E.g.
data/cf-deployment-api-versions.jsonordata/cf-release-api-versions.json.Historical instructions for adding docs generated by Travis
srcdirectory.cloud_controller_ngsubmodule.main.rband add the release number, Travis build ID, and CC API version number.How to Publish Changes (if you are a member of the CAPI team):
cf loginbelow$ cf api api.run.pivotal.io$ cf login