Name: pcf-product-stemcell-downloader
Owner: Pivotal Cloud Foundry
Description: Downloads a stemcell given a PCF product tile
Created: 2017-01-24 18:35:39.0
Updated: 2017-05-09 14:10:39.0
Pushed: 2017-03-07 00:15:28.0
Homepage: null
Size: 55
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This is a tool for unpacking a PCF product tile, figuring out which stemcell it requires, and downloading that stemcell.
It is used by PCF Pipelines.
Download the latest release.
Requirements:
r -p $GOPATH/src/github.com/c0-ops/pcf-product-stemcell-downloader
clone git@github.com:c0-ops/pcf-product-stemcell-downloader.git $GOPATH/src/github.com/c0-ops/pcf-product-stemcell-downloader
GOPATH/src/github.com/c0-ops/pcf-product-stemcell-downloader
e install
CH=amd64 GOOS=linux go install github.com/c0-ops/pcf-product-stemcell-downloader
pcf-product-stemcell-downloader [OPTIONS]
All options are required.
download-dir
: Directory to place downloaded stemcell iniaas-type
: Stemcell for this IaaS will be downloaded. Valid options are aws|openstack|vcloud|vsphere|azure|gcp
product-file
: Path to .pivotal product file to extract stemcell requirements from.product-name
: Name of product. This will be used to find the correct metadata in the product file.Note that the tests currently download a stemcell from bosh.io, and thus require Internet access.
To run all of the tests in a Docker container:
./testrunner
To continually run the tests during development:
ginkgo watch -r -p