-
Notifications
You must be signed in to change notification settings - Fork 32
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
Conversation
There was a problem hiding this 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!
docusaurus/docs/create-a-plugin/develop-a-plugin/provide-provisioning.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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
@Ukochka I'd like to take a quick look at this before you merge, I should be able to do so tomorrow 🙏 |
docusaurus/docs/create-a-plugin/develop-a-plugin/provide-provisioning.md
Outdated
Show resolved
Hide resolved
packages/create-plugin/templates/provisioning-template/docker-compose.yaml
Outdated
Show resolved
Hide resolved
packages/create-plugin/templates/provisioning-template/provisioning/dashboards/providers.yaml
Outdated
Show resolved
Hide resolved
packages/create-plugin/templates/provisioning-template/provisioning/datasources/datasources.yml
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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.
docusaurus/docs/create-a-plugin/develop-a-plugin/provide-provisioning.md
Outdated
Show resolved
Hide resolved
packages/create-plugin/templates/provisioning-template/README.md
Outdated
Show resolved
Hide resolved
packages/create-plugin/templates/provisioning-template/README.md
Outdated
Show resolved
Hide resolved
packages/create-plugin/templates/provisioning-template/README.md
Outdated
Show resolved
Hide resolved
packages/create-plugin/templates/provisioning-template/docker-compose.yaml
Outdated
Show resolved
Hide resolved
packages/create-plugin/templates/provisioning-template/README.md
Outdated
Show resolved
Hide resolved
packages/create-plugin/templates/provisioning-template/provisioning/dashboards/providers.yaml
Outdated
Show resolved
Hide resolved
packages/create-plugin/templates/provisioning-template/provisioning/dashboards/providers.yaml
Outdated
Show resolved
Hide resolved
packages/create-plugin/templates/provisioning-template/provisioning/datasources/datasources.yml
Outdated
Show resolved
Hide resolved
Co-authored-by: David Harris <[email protected]>
Co-authored-by: Jack Westbrook <[email protected]>
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: Giuseppe Guerra <[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]>
packages/create-plugin/templates/app/provisioning/plugins/README.md
Outdated
Show resolved
Hide resolved
packages/create-plugin/templates/scenes-app/provisioning/README.md
Outdated
Show resolved
Hide resolved
Co-authored-by: David Harris <[email protected]>
Co-authored-by: David Harris <[email protected]>
Co-authored-by: David Harris <[email protected]>
There was a problem hiding this 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 🚀 🙌
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:
npx @grafana/create-plugin@latest provisioning
depending on plugin typeWhich issue(s) this PR fixes:
Fixes #497
📦 Published PR as canary version:
Canary Versions
✨ Test out this PR locally via: