Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create-plugin: Add provisioning scaffold #529

Merged
merged 47 commits into from
Dec 7, 2023
Merged

Conversation

Ukochka
Copy link
Contributor

@Ukochka Ukochka commented Nov 8, 2023

What this PR does / why we need it:
To be able to improve plugin review process we need to ask plugin developers to provide provisioning to their plugin. It will save us time to prepare testing environment and it will speed up plugin review process.

This PR consists of the following changes:

  1. Adds new folder 'provisioning' to each plugin type template with examples of provisioning files and README.
  2. Adds option to add provisioning while editing.
    npx @grafana/create-plugin@latest provisioning depending on plugin type
  3. Creates documentation about provisioning

Which issue(s) this PR fixes:
Fixes #497

📦 Published PR as canary version: Canary Versions

✨ Test out this PR locally via:

npm install @grafana/[email protected]
npm install @grafana/[email protected]
# or 
yarn add @grafana/[email protected]
yarn add @grafana/[email protected]

Copy link

github-actions bot commented Nov 8, 2023

Hello! 👋 This repository uses Auto for releasing packages using PR labels.

✨ This PR can be merged and will trigger a new minor release.
NOTE: When merging a PR with the release label please avoid merging another PR. For further information see here.

Copy link
Contributor

@oshirohugo oshirohugo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! 🚀
I've left some small suggestions!

@Ukochka Ukochka added release Create a release when this pr is merged minor Increment the minor version when merged labels Nov 8, 2023
Copy link
Contributor

@oshirohugo oshirohugo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
But as I don't have much experience with plugin-tools I would wait for @academo or @leventebalogh reviews

@sympatheticmoose
Copy link
Contributor

@Ukochka I'd like to take a quick look at this before you merge, I should be able to do so tomorrow 🙏

jackw
jackw previously requested changes Nov 9, 2023
Copy link
Collaborator

@jackw jackw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This repo uses NPM not yarn. I'm sorry for the confusion but it came to my attention that the contributing guides are out of date this morning. Please can you delete the yarn.lock from this PR? It's also preventing publishing the canary release which is really helpful for reviewing these changes.

Update: I've now opened a PR here to help resolve this for future contributors.

jackw and others added 18 commits November 24, 2023 15:44
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcus Andersson <[email protected]>
Co-authored-by: David Harris <[email protected]>
Co-authored-by: Jack Westbrook <[email protected]>
Co-authored-by: Joseph Perez <[email protected]>
Co-authored-by: Jack Westbrook <[email protected]>
Co-authored-by: David Harris <[email protected]>
Copy link
Contributor

@sympatheticmoose sympatheticmoose left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - lets get this merged 🚀 🙌

@Ukochka Ukochka merged commit 2dfba91 into main Dec 7, 2023
20 checks passed
@Ukochka Ukochka deleted the add-provisioning-scaffold branch December 7, 2023 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor version when merged release Create a release when this pr is merged
Projects
Development

Successfully merging this pull request may close these issues.

Add provisioning scaffold
10 participants