GithubHelp home page GithubHelp logo

isabella232 / sensu-build Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sensu/sensu-build

0.0 0.0 0.0 650 KB

Deprecated build tooling for Sensu versions prior to 0.27

HTML 1.41% Shell 35.93% Ruby 62.50% Batchfile 0.16%

sensu-build's Introduction

Sensu packages, build suite

IMPORTANT!

As of Sensu 0.27, circa February, 2017, this project is no longer used to build official Sensu packages.

Please refer to the sensu-omnibus project instead.

This repo contains the tool set needed to build Sensu packages for all currently supported platforms. The builds are 'omnibus' style packages that contain everything they need to run, including their own build of Ruby and all required gems.

The build suite relies heavily on Docker, Bunchr and FPM.

Docker containers are used to build packages native to each OS. E.g: .rpm's on CentOS, and .deb's on Debian. Bunchr allows the same scripts to be used on each platform so builds are as consistent as possible and the build scripts easy to maintain.

Dependencies

  • Ruby >= 1.9
  • Ruby Bundler
  • Docker

Usage

There are multiple ways to run the builders:

Build packages on the current/local platform

Make sure SENSU_VERSION and BUILD_NUMBER are exported in the environment.

$ export SENSU_VERSION=0.20.6

$ export BUILD_NUMBER=1

$ bundle install

$ rake clean

$ rake

Build packages on all supported platforms with Docker

$ export SENSU_VERSION=0.20.6

$ export BUILD_NUMBER=1

$ ./docker_build.sh

Build packages on all supported platforms with Drone (CI using Docker)

$ ./build.sh

Acknowledgements

Big thanks to Adam Jacob for the suggestions on how to package Sensu and for showing us the way with Omnibus!

Author

License

Author:: Joe Miller (<[email protected]>)
Copyright:: Copyright (c) 2012 Joe Miller
License:: Apache License, Version 2.0

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

sensu-build's People

Contributors

acidix avatar amdprophet avatar bougyman avatar carmstrong avatar cwjohnston avatar gcymbalski avatar halcyonardency avatar jhmartin avatar joemiller avatar justintime avatar kalabiyau avatar knyar avatar portertech avatar roobert avatar runningman84 avatar smacfarlane avatar tomdz avatar vjanelle 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.