-
Notifications
You must be signed in to change notification settings - Fork 204
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
[Non-npm] Custom plugin not found #1915
Comments
The first problem with your custom auto plugin is that it isn't published anywhere. So when building on CI it never installs the plugin so it can't use it. To fix this you could publish your plugin to npm, install it globally, and then auto should be able to pick it up. For that second approach it should have worked. I can mess around with that. While this does seems like an issue with auto right now I think the better approach would be to add this functionality directly to the auto If it's the former I would happily accept this as a contribution! |
Hey @hipstersmoothie My package is published here: https://www.npmjs.com/package/auto-plugin-gem-canary-release About the contribution to the gem plugin, I think maybe that makes sense to the flow, but I didn't make that in the official plugin because I use a custom gem for some features, so maybe that is a bad requirement for the official plugin. But I will try to create a better approach for that and make a PR for the main repository :) |
@hipstersmoothie I found the problem when using the global package. Is required to provide the correct value for Maybe we could add that in the docs? |
🚀 Issue was released in |
@angeliski I think that release should have fixed it. Could you test it out? |
@hipstersmoothie The global approach works fine, but how about the folder way? In some cases we prefer to use a repository over a published package, could you look at that? |
Describe the bug
I created a custom plugin but when running in CI, auto never finds my plugin
ps: When I tested local, point to the directory I could execute the plugin. But when tried using the global approach doesn't work
To Reproduce
I put a repository here: https://github.com/angeliski/gem-auto-release
First I tried to use the global approach here: angeliski/gem-auto-release#8
The result: https://app.circleci.com/pipelines/github/angeliski/gem-auto-release/45/workflows/ba986523-811a-4db0-b5c4-6c08054bc12e/jobs/121
And after I tried to use the clone approach here: angeliski/gem-auto-release#9
The result: https://app.circleci.com/pipelines/github/angeliski/gem-auto-release/46/workflows/78f6695d-0af9-4e2f-96b9-dcb5f0e57a2a/jobs/124
Expected behavior
The plugin needs to be founded and execute the canary command.
Local Environment information:
Additional context
I am using the
Non-npm
approach.The text was updated successfully, but these errors were encountered: