Skip to content

maxbeatty/grunt-raygun-deployment

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grunt-raygun-deployment Build Status Code Climate Test Coverage

This plugin makes it easy to notify Raygun of your deployments using a grunt task.

Install

npm install maxbeatty/grunt-raygun-deployment --save-dev

Use

Load the task in your Gruntfile:

grunt.loadNpmTasks('grunt-raygun-deployment')

Environment Variables

RAYGUN_DEPLOY_KEY

RAYGUN_DEPLOY_KEY should be set to your Raygun API Key from "Application Settings".

RAYGUN_DEPLOY_TOKEN

RAYGUN_DEPLOY_TOKEN should be set to your External Auth Token from "My Settings".

RAYGUN_DEPLOY_KEY=fR0mApp RAYGUN_DEPLOY_TOKEN=uS3r grunt raygun-deployment

You could use something like dotenv in your Gruntfile to avoid specifying environment variables before calling grunt.

Fork Differences

  • no yaml file declaring release details
  • no declaring sensitive information in your Gruntfile
  • convention of using latest git tag for version
  • convention of using latest git tag commit for scmIdentifier
  • not setting any other deployment fields

Known Issues

  1. Finding the latest git tag relies on the --sort flag which was added in git v2.0.0. If you are using a previous version of git, please open an issue for us to work it out.

About

A grunt plugin for sending Deployment information to Raygun.io

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%