-
Notifications
You must be signed in to change notification settings - Fork 359
Updating our ruby protobuf models for BBS
monamohebbi edited this page Jan 18, 2019
·
2 revisions
Install protobuf + ensure your local bbs directory is @ origin/master
$ brew install protobuf
$ cd $GOPATH/src/code.cloudfoundry.org/bbs/models
$ git co origin/master
$ git pull
$ z cloud_controller_ng
$ ./scripts/generate-bbs-models.sh
Be aware of changes that necessitate updating our codebase
For example, when you run ./scripts/generate-bbs-models.sh
you might get this output:
~/workspace/capi-release/src/code.cloudfoundry.org/bbs/models ~/workspace/capi-release/src/cloud_controller_ng
protoc-gen-ruby2: program not found or is not executable
--ruby2_out: protoc-gen-ruby2: Plugin failed with status code 1.
~/workspace/capi-release/src/cloud_controller_ng
Here's how we solved this problem on 2019-01-17 avoiding dependency problems:
- Bring up the pipeline
- Click on the
bump-bbs-protos
job in thecapi
pipeline - Rerun
- Run
git pull
against master in `cloud_controller_ng
-
Pipelines
-
Contributing
- Tips and Tricks
- Cloud Controller API v3 Style Guide
- Playbooks
- Development configuration
- Testing
-
Architectural Details
-
CC Resources
- Apps
- Audit Events
- Deployments
- Labels
- Services
- Sidecars
-
Dependencies
-
Troubleshooting
- Ruby Console Script to Find Fields that Cannot Be Decrypted
- Logging database queries in unit tests
- Inspecting blobstore cc resources and cc packages(webdav)
- How to Use USR1 Trap for Diagnostics
- How to Perf: Finding and Fixing Bottlenecks
- How to get access to mysql database
- How To Get a Ruby Heap Dumps & GC Stats from CC
- How to curl v4 internal endpoints with mtls
- How to access Bosh Director console and restore an outdated Cloud Config
- Analyzing Cloud Controller's NGINX logs using the toplogs script
-
k8s
-
Archive