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
| global | |
| log 127.0.0.1 syslog debug | |
| daemon | |
| user vcap | |
| group vcap | |
| maxconn 64000 | |
| spread-checks 4 | |
| stats socket /var/run/haproxy.sock mode 600 level admin | |
| stats timeout 2m #Wait up to 2 minutes for input |
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
| /Users/geoss/workspace/cf-release/src/cf-routing-release/src/github.com/cloudfoundry/noaa | |
| go get github.com/cloudfoundry/noaa | |
| 658 go build -o bin/firehose_sample firehose_sample/main.go | |
| 661 cf oauth_token | |
| 662 cf | |
| 663 cf | grep token | |
| 664 cf oauth-token | |
| 665 cf api api.bosh-lite.com --skip-ssl-validation |
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
| rtr list --api https://api.bosh-lite.com --client-id tcp-emitter --client-secret tcp-emitter-secret --oauth-url https://uaa.bosh-lite.com |
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
| Generate your private key with any passphrase | |
| openssl genrsa -aes256 -out server.key 1024 | |
| Remove passphrase from key | |
| openssl rsa -in server.key -out server.key | |
| Generate certificate signing request for CA | |
| openssl req -x509 -new -key server.key -out server.csr | |
| Generate self-signed certificate with 365 days expiry-time |
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
| context 'switch from dea to diego' do | |
| + let(:app_obj) { AppFactory.make(instances: 1, diego: false) } | |
| + let(:developer) { make_developer_for_space(app_obj.space) } | |
| + let(:route) { Route.make(space: app_obj.space) } | |
| + let(:route_mapping) { RouteMapping.make(app_id: app_obj.id, route_id: route.id) } | |
| + | |
| context 'when user does not specify any ports' do | |
| it 'sets ports to 8080' do | |
| + expect(RouteMapping.find(guid: route_mapping.guid).app_port).to be_nil | |
| put "/v2/apps/#{app_obj.guid}", '{ "diego": true }', json_headers(headers_for(developer)) |
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/bash | |
| # default group size (no grouping) | |
| group_size=-1 | |
| # required to deal with file names containing blanks | |
| OIFS="$IFS" | |
| IFS=$'\n' | |
| # parsing the -g command line argument |
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
| Michael, 29 | |
| Andy, 30 | |
| Justin, 19 |
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
| auth: | |
| ssh_user: ubuntu | |
| ssh_private_key: ~/.ssh/<masked_key_file> | |
| cluster_name: default | |
| cluster_synced_files: [] | |
| docker: | |
| container_name: ray_container | |
| image: rayproject/ray-ml:latest-gpu | |
| pull_before_run: true | |
| run_options: |