GithubHelp home page GithubHelp logo

step-bundle-install's Introduction

bundle-install

This is an smart version of the bundle install command that stores downloaded gems in a cache directory that is shared with future builds. This should improve the execution time of the future builds. If bundle install failed it will retry one more time, optionally clearing the gem path.

wercker status

Options

  • path (optional, default: $WERCKER_CACHE_DIR/bundle-install/) The path which will be used to store the gem files. Leave empty to enable caching.
  • without (optional) Exclude gems that are part of the specified named group.
  • standalone (optional) Make a bundle that can work without the Bundler runtime.
  • binstubs (optional) Generate bin stubs for bundled gems to ./bin.
  • clean (optional) Run bundle clean automatically after install.
  • full-index (optional) Use the rubygems modern index instead of the API endpoint.
  • deployment (optional) Install using defaults tuned for deployment environments.
  • local (optional) Do not attempt to fetch gems remotely and use the gem cache instead.
  • frozen (optional) Do not allow the Gemfile.lock to be updated after this install.
  • jobs (optional) Install gems parallely by starting the number of workers specified (require at least bundler 1.5).
  • version (optional, default: >=1.5.2) If no bundler is found, install bundler with this version. Supports semver version.
  • gemfile (optional, default: Gemfile) The name of the file that bundler should use as the Gemfile.
  • retry (optional, default: 3) Retry network and git requests that have failed.
  • clear-path (optional, default: true) Before retrying a failed bundle install, clear the location that is used for the gems.

Example

build:
  steps:
    - bundle-install

License

The MIT License (MIT)

Changelog

2.0.1

  • Fix for failing bundle install execution

2.0.0

  • Add retry to the bundle command
  • Try running the bundle install command another time if it fails.
  • Clear the path by default once the bundle install command fails.

1.1.3

  • Add gemfile option

1.1.2

  • Add version option

1.1.1

  • Fix bug if cwd parameter is used
  • Only install bundler if an Gemfile is found
  • Always display bundle version information

1.1.0

  • Update to bundler 1.5.2
  • Add jobs parameter.

0.9.4

  • Remove unnecessary 'cd' commands

0.9.3

  • Add frozen flag

0.9.1

  • Initial release

step-bundle-install's People

Contributors

hatchan avatar 1syo avatar pjvds avatar gilbode avatar frans-k avatar jeanmertz 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.