Git Product home page Git Product logo

rebuild's Introduction

Gem Version Build Status Build Status

Usage

Install dependencies

  • ruby
  • ruby-dev
  • gem
  • gem-dev
  • gem rake
  • docker engine

Install rebuild CLI

gem install rbld

Search for pre-created environments on Docker Hub

rbld search

Deploy environment for Raspberry Pi

rbld deploy rpi-raspbian:v001

Build code for Raspberry Pi

cd code-location
rbld run rpi-raspbian:v001 -- make -j8

Deploy environment for BeagleBoard-X15

rbld deploy bb-x15:16-05

Build code for BeagleBoard-X15

cd code-location
rbld run bb-x15:16-05 -- make -j8

Create environment for Raspberry Pi

git clone git://github.com/raspberrypi/tools.git rpi-tools

rbld create --base ubuntu:16.04 rpi-raspbian

rbld modify rpi-raspbian:initial

>> sudo apt-get update
>> sudo apt-get install -y make
>> TOOLCHAIN=gcc-linaro-arm-linux-gnueabihf-raspbian-x64
>> sudo cp -r rpi-tools/arm-bcm2708/$TOOLCHAIN /
>> echo export CC=/$TOOLCHAIN/bin/arm-linux-gnueabihf- | sudo tee -a /rebuild/rebuild.rc
>> exit

rbld commit rpi-raspbian --tag v001

Project documentation

Rebuild CLI gem

Running tests

rebuild test suite is based on cucumber/aruba:

  1. Run bundle to install cucumber, aruba and other dependencies
  2. Run cucumber [OPTIONS] in the source tree root:
  • cucumber to run all tests using binaries from the working copy
  • cucmber -p installed to run tests using installed binaries
  • cucumber -t ~@slow to exclude slow tests

Use environment variable registry_type to control registry type used during tests:

  • registry_type=rebuild cucumber ... to use native rebuild registry (default)
  • registry_type=docker cucumber ... to use docker registry
  • registry_type=dockerhub cucumber ... to use Docker Hub (Docker Hub credentials needed)

Rebuild is licensed under the Apache License, Version 2.0.
See LICENSE for the full license text.

rebuild's People

Contributors

20lives avatar yanvugenfirer 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.