GithubHelp home page GithubHelp logo

isabella232 / pcf-product-stemcell-downloader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vmware-archive/pcf-product-stemcell-downloader

0.0 0.0 0.0 55 KB

Downloads a stemcell given a PCF product tile

License: Apache License 2.0

Shell 5.74% Go 94.26%

pcf-product-stemcell-downloader's Introduction

PCF Product Stemcell Downloader

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.

Installing

Download the latest release.

Install from source

Requirements:

mkdir -p $GOPATH/src/github.com/c0-ops/pcf-product-stemcell-downloader
git clone [email protected]:c0-ops/pcf-product-stemcell-downloader.git $GOPATH/src/github.com/c0-ops/pcf-product-stemcell-downloader
cd $GOPATH/src/github.com/c0-ops/pcf-product-stemcell-downloader
glide install
GOARCH=amd64 GOOS=linux go install github.com/c0-ops/pcf-product-stemcell-downloader

Usage

pcf-product-stemcell-downloader [OPTIONS]

Options

All options are required.

  • download-dir: Directory to place downloaded stemcell in
  • iaas-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.

Developing

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

pcf-product-stemcell-downloader's People

Contributors

bblincoe avatar pakiheart avatar xchapter7x avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.