metavida / nerdpack-workflow-example

Using GitHub actions to deploy a Nerdpack

Home Page:https://one.newrelic.com/launcher/4a5d927c-515e-4bf0-8df3-09ab300ec827.nerdpack-workflow-example-launcher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nerdpack-workflow-example

Using GitHub actions to deploy a Nerdpack to New Relic One.

Screencast of a GitHub Actions workflow deploying a Nerdpack

Local Development

Running the Nerdpack locally

npm install
npm start

Visit https://one.newrelic.com/?nerdpacks=local and ✨

Deploying a change

When you're ready to deploy your local changes for others to use in New Relic One

  1. Use npm version to bump the version number.
  2. Push the version commit to GitHub.
  3. Wait until the Action has completed.
  4. That's it!

Creating new artifacts

If you want to create new artifacts run the following command:

nr1 create

Example: nr1 create --type nerdlet --name my-nerdlet.

About

Using GitHub actions to deploy a Nerdpack

https://one.newrelic.com/launcher/4a5d927c-515e-4bf0-8df3-09ab300ec827.nerdpack-workflow-example-launcher


Languages

Language:JavaScript 63.9%Language:Shell 36.1%