Repository is archived
No commit activity in last 3 years
No release in over 3 years
Sensu plugins developed by Edgelab
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.5
~> 0.49.0

Runtime

~> 3.0
= 2.0.2
~> 1.0.14
= 1.5.1
= 3.0.0
= 0.18.4
= 3.2.1
 Project Readme

Sensu plugins repository

travis-build rubygems-version

This repository contains custom Sensu plugins developed by Edgelab.

How to use in development

After cloning the repository, in the repo directory:

  • Install dependecies:

    bundle install --path .gems
    
  • You can run one of the bin/ script with the correct dependencies using:

    bundle exec bin/my-script.rb
    
  • Sanity checks with rake in the bundle context:

    bundle exec rake
    

How to create a new release

The repository is hosted on https://bitbucket.org/edgelab/sensu-plugins-edgelab/ and uses Bitbucket Pipeline for continuous integration.

Each commit on master will trigger a new build which run the rake command (with Rubocop code lint) but no gemfile will be created.

To create a new release, after having changed the version in sensu-plugins-edgelab.gemspec and commit it in master, create a new git tag:

# X.X.X is the new version in the gempsec file, tag should be prefix by 'v'
git tag vX.X.X
git push --tags

Pipeline will run a new build and, if successfull, create a new gem and push it to Rubygem.