edgelaboratories / sensu-plugins-edgelab

Plugins for Sensu
0 stars 0 forks source link

======================== Sensu plugins repository

.. |travis-build| image:: https://travis-ci.org/edgelaboratories/sensu-plugins-edgelab.svg?branch=master .. _travis-build: https://travis-ci.org/edgelaboratories/sensu-plugins-edgelab/ .. |rubygems-version| image:: https://badge.fury.io/rb/sensu-plugins-edgelab.svg .. _rubygems-version: https://rubygems.org/gems/sensu-plugins-edgelab/

|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:

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.