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

Use pluginId to generate the docker-compose.yml file #128

Merged
merged 1 commit into from
Nov 7, 2022

Conversation

academo
Copy link
Member

@academo academo commented Oct 28, 2022

What this PR does / why we need it:

Changes the docker-compose.yml template to use pluginID and adds the required logic for create-tool to generate the templates using said plugin id.

Migrate already passes pluginId to handlebars when rendering template.

Which issue(s) this PR fixes:

Fixes: #125

Special notes for your reviewer:

@academo academo requested a review from jackw October 28, 2022 13:08
@academo academo self-assigned this Oct 28, 2022
@academo academo added the bug label Oct 28, 2022
@academo academo added this to the v1.0.0 milestone Oct 28, 2022
@academo academo enabled auto-merge (squash) October 28, 2022 13:08
@jackw jackw added patch Increment the patch version when merged release Create a release when this pr is merged create-plugin related to the create-plugin tool labels Nov 7, 2022
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.

LGTM! 🚀

@academo academo merged commit 1aab15b into main Nov 7, 2022
@academo academo deleted the academo/fix-docker-compose-pluginid branch November 7, 2022 09:06
@grafanabot
Copy link
Contributor

🚀 PR was released in @grafana/create-plugin@0.5.0 🚀

@grafanabot grafanabot added the released This issue/pull request has been released. label Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
create-plugin related to the create-plugin tool patch Increment the patch version when merged release Create a release when this pr is merged released This issue/pull request has been released.
Projects
Development

Successfully merging this pull request may close these issues.

Bug: Migrating a plugin should respect the current plugin ID
3 participants