/drone-ruby

Ruby build image for drone-ci

Primary LanguageDockerfile

Juicymo Drone CI Ruby image

We use this image on a daily basis at Integra Credit for Continuous Integration of Ruby on Rails apps we make for our clients.

Installation

Compiled Docker image can be pulled from: Docker Hub.

About

This is a Ruby image for Drone, inspired by 413x/ruby-2.3.3-alpine.

Intent of this image is CI testing of Ruby or Rails projects with Drone.

This image supports Drone 0.9.0 and Ruby 2.2.4:

It has a bundler installed.

Usage

Just add similar .drone.yml to you project (example is compatible with Drone 0.7.0):

pipeline:
  bundle:
    image: aleccunningham/drone-ruby
    pull: true
    environment:
      - RAILS_ENV=test
    commands:
      - bundle install --path ./bundle --without production,development
    when:
      event: [ push, tag, pull_request ]

See source at GitHub.