Giter VIP home page Giter VIP logo

build-gems's Introduction

Intro

We are frequently packaging all gems in the gem-list on our jenkins instance. Results end up on http://pulp.inuits.eu/pulp/repos/rubygems/

Package are build on CentOS Boxen.

Parameters

You can modify certain parameters by exporting these environment variables before running the script:

  • GEM_PREFIX

    Translates into fpm's --gem-prefix argument.
    Defaults to /usr/lib/ruby/gems/1.8.

  • GEM_BIN_PATH

    Translates into fpm's --gem-bin-path argument.
    Defaults to /usr/bin.

  • TARGET

    File containing list of gems to build. You can also override this by providing the filename as an argument to the script.
    Defaults to gem-list.

Examples:

Change the gem prefix.

export GEM_PREFIX=/usr/local/lib/ruby/gems/1.8
./build-gems

Choose a custom file with gems.

./build-gems minimal

# This is the same as
export TARGET=minimal
./build-gems

Gem list file format

Each line is formatted in the following way:

<gem name>:[version]:[''|arch]:[extra fpm options]

  • <gem name>: is a required option (</captain obvious>).
  • [version]: optional specific version to build. Defaults to the latest 'stable' release if not specified.
  • [arch]: optional 'arch'. Leave this empty or put 'arch' to indicate this builds is architecture specific.
  • [extra fpm options]: Can be used to specify dependencies manually.

Lines starting with # are ignored.

Example file:

sqlite3::arch:--provides "rubygem(sqlite3-ruby)" --depends "sqlite >= 3.6.16"
backports
backports:2.3.0
puppet-lint:pre
mysql::arch

build-gems's People

Contributors

bigon avatar carroarmato0 avatar krisbuytaert avatar maartenbeeckmans avatar pulecp avatar roidelapluie avatar tcassaert avatar vstone avatar vuokkovuorinnen avatar

Watchers

 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.