How to contribute post-processor

20 views
Skip to first unread message

Scott Kellish

unread,
Sep 18, 2016, 9:24:23 AM9/18/16
to Packer
Hi, 
New to this and didnt see a guideline anywhere. I developed a post-processor for creating encrypted versions of amis produced by the amazon-ebs builder that I would like to share. 

How do I go about doing that?

Thanks
Scott

Rickard von Essen

unread,
Sep 18, 2016, 10:03:02 AM9/18/16
to packe...@googlegroups.com

Hi Scott,

The best way is to read CONTRIBUTING.md in the repo and open a pull request.

Looking forward to it.


--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/55fff251-b950-48a2-ae2c-74f7d19c852e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Scott Kellish

unread,
Sep 18, 2016, 11:19:56 PM9/18/16
to Packer
Hi Rickard,,
Thanks. I should have been more specific in my question. I've read the CONTRIBUTING.md which only talks about contributing changes the Packer source itself. My understanding that developing plug-ins (which is how I've implemented by post-processor) is the preferred method rather than submitting changes to the packer source. Do I just check me code into my own github account or is there something like a central "packer" github for publishing "plug-ins"?

Scott

On Sunday, September 18, 2016 at 10:03:02 AM UTC-4, Rickard von Essen wrote:

Hi Scott,

The best way is to read CONTRIBUTING.md in the repo and open a pull request.

Looking forward to it.

On Sep 18, 2016 3:24 PM, "Scott Kellish" <skel...@comcast.net> wrote:
Hi, 
New to this and didnt see a guideline anywhere. I developed a post-processor for creating encrypted versions of amis produced by the amazon-ebs builder that I would like to share. 

How do I go about doing that?

Thanks
Scott

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.

Rickard von Essen

unread,
Sep 19, 2016, 2:39:12 AM9/19/16
to Packer
Ok, you have two options 1) Distribute it as a standalone packer plugin, 2) contribute it to the packer core plugins. 

First some general info about the plugin system can be found here. It's slightly outdated, first all core packer plugins are now bundled in one binary packer and there are no separate binary for say packer-builder-amazon-ebs anymore. And command plugins are not supported any longer.

1) You can maintain your own repo with the code for your repo and instructions to build/download it. For an old example see packer-parallels. The benefit is that you regain full control. The drawback is that less users will find it and there is a extra installation step. Currently there are no official list of 3pp plugins, but it have been talked about.

2) Open a PR to packer. Almost everything in packer is a plugin, core plugins are distributed with packer and now built in to a single binary. If your plugin is general and target AWS I think it's at least a good candidate for a review of inclusion into the packer core plugins.

// Rickard
Reply all
Reply to author
Forward
0 new messages