GithubHelp home page GithubHelp logo

isabella232 / plugin-validator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from grafana/plugin-validator

0.0 0.0 0.0 157 KB

Tool for validating Grafana community plugins

License: Apache License 2.0

Go 99.06% Dockerfile 0.94%

plugin-validator's Introduction

Grafana Plugin Validator

License

A tool for validating community plugins for publishing to Grafana.com.

The tool expects path to either a remote or a local ZIP archive.

Install

cd pkg/cmd/plugincheck
go install

Run

Validate a remote archive:

plugincheck https://github.com/marcusolsson/grafana-jsonapi-datasource/releases/download/v0.6.0/marcusolsson-json-datasource-0.6.0.zip

Validate a local plugin archive:

plugincheck ./marcusolsson-json-datasource-0.6.0.zip

Install V2

cd pkg/cmd/plugincheck2
go install

Run V2

Typically running the checker with default settings is the easiest method to see if there are issues with a plugin.

plugincheck2 -config config/default.yaml https://github.com/marcusolsson/grafana-jsonapi-datasource/releases/download/v0.6.0/marcusolsson-json-datasource-0.6.0.zip

To wrap the output with another tool (like the validator ui), running with the terse-json.yaml config can be used.

plugincheck2 -config config/terse-json.yaml https://github.com/marcusolsson/grafana-jsonapi-datasource/releases/download/v0.6.0/marcusolsson-json-datasource-0.6.0.zip

Verbose json output is available to show all checks made, with status for each.

plugincheck2 -config config/verbose-json.yaml https://github.com/marcusolsson/grafana-jsonapi-datasource/releases/download/v0.6.0/marcusolsson-json-datasource-0.6.0.zip

License

Grafana Plugin Validator is distributed under the Apache 2.0 License.

plugin-validator's People

Contributors

briangann avatar diafour avatar jeschkies avatar marcusolsson avatar mbialon avatar slach 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.