cloudfoundry/cc-uploader

Name: cc-uploader

Owner: Cloud Foundry

Description: CC Bridge component to enable Diego to upload files to Cloud Controller's blobstore

Created: 2015-08-12 19:20:00.0

Updated: 2016-12-16 00:59:14.0

Pushed: 2017-11-08 18:32:08.0

Homepage:

Size: 80

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

CC Uploader

Note: This repository should be imported as code.cloudfoundry.org/cc-uploader.

CC Bridge component to enable Diego to upload files to Cloud Controller's blobstore

Uploading Droplets & Build Artifacts

Uploading droplets & build artifacts via CC involves crafting a correctly-formed multipart request. For Droplets we also poll until the async job completes.

Testing

To specify a remote cloud controller to test against, use the following environment variables:

CC_ADDRESS the hostname for a deployed CC CC_USERNAME, CC_PASSWORD the basic auth credentials for the droplet upload endpoint CC_APPGUID a valid app guid on that deployed CC

Learn more about Diego and its components at diego-design-notes
Generating cert fixtures
ho "Generating CA"
rtstrap --depot-path . init --passphrase '' --common-name cc_uploader_ca_cn
ho "Generating server csr"
rtstrap --depot-path . request-cert --passphrase '' --common-name cc_cn --ip 127.0.0.1
ho "Generating server cert"
rtstrap --depot-path . sign cc_cn --CA cc_uploader_ca_cn
ho "Generating client csr"
rtstrap --depot-path . request-cert --passphrase '' --common-name cc_uploader_cn --ip 127.0.0.1
ho "Generating client cert"
rtstrap --depot-path . sign cc_uploader_cn --CA cc_uploader_ca_cn

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.