Commit Graph

97 Commits

Author SHA1 Message Date
Wilken Rivera 9ec8b67392
Add golangci-lint to project (#8686)
* Add golangci-lint as linting tool

* Disable failing staticchecks to start; GitHub issue to handle coming soon

* Run `goimports -w` to repair all source files that have improperly
formatted imports

* makefile: Add ci-lint target to run on travis

This change adds a new make target for running golangci-lint on newly
added Go files only. This target is expected to run during Packer ci builds.

* .github/contributing: Add code linting instructions

* travis: Update job configuration to run parallel builds
2020-02-14 11:42:29 -05:00
Megan Marsh b4659945b3 delete unneeded plugin file 2017-09-28 10:52:54 -07:00
Chris Lundquist cd2a783382 [lxc] update to new conventions, improve docs 2017-09-05 15:19:25 -07:00
Michele Catalano f4f0ab9f50 add integrate lxc builder in packer
add lxc with scripts/generate-plugins.go
2017-09-05 15:17:15 -07:00
Matthew Hooker 81522dced0
move packer to hashicorp 2017-04-04 13:39:01 -07:00
Chris Bednarski 0fb97a1d55 Add example plugin for third-party plugin use 2016-03-16 16:42:24 -07:00
Chris Bednarski 39a1b88e3a Remove plugin files since these are no longer used 2016-03-16 16:42:09 -07:00
Chris Bednarski 569e6cc464 go fmt 2016-02-08 17:34:06 -08:00
Ian Duffy 34b59bc051 Create a shell-local post processor
The following commits build on work from @vtolstov to create a
post processor shell-local plugin. Please see his original work
over at https://github.com/vtolstov/packer-post-processor-shell

I have modified it slightly to output information onto the packer
ui as shown in the below screenshot which executes a script that
runs env.

This plugin enables users to submit environmental variables to
external external shell script(s) to do some post processing
e.g. (Upload to somewhere, convert to different format, and so
on)

Most of the work is a merge from the provisioner shell and
shell-local scripts.

![Example run of post processor shell-local](http://i.imgur.com/kJv6j9l.png)

Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-02-01 14:11:25 +00:00
Billie H. Cleek 23415b3fe3 correct plugin imports 2015-10-31 10:39:33 -07:00
Billie H. Cleek cc8ca3098e add ansible provisioner 2015-10-31 10:39:33 -07:00
Chris Bednarski 6dd0a21c89 Added an artifice post-processor which allows you to override artifacts in a post-processor chain 2015-08-07 18:21:23 -07:00
Mitchell Hashimoto a0b6928dce plugin: add the plugin 2015-06-19 15:31:40 -07:00
Chris Bednarski f06847ff10 Merge branch 'master' into f-vtolstov-compress 2015-06-18 05:19:30 -07:00
Mitchell Hashimoto 339a4ccdab provisioner/windows-shell 2015-06-14 11:23:29 -07:00
Mitchell Hashimoto 840ddb4f20 provisioner/windows-restart 2015-06-14 11:14:47 -07:00
Mitchell Hashimoto 040ff0706d provisioner/powershell 2015-06-14 11:01:28 -07:00
Chris Bednarski f7d85eb49c Add main() for file builder 2015-06-12 17:35:17 -07:00
Chris Bednarski 42d749ab5f Light style and typo cleanup 2015-06-10 13:46:21 -07:00
Chris Bednarski c4fc365c65 Updated to reflect changes to template code 2015-06-10 13:33:50 -07:00
Mitchell Hashimoto f3c1132f23 post-processor/atlas: make it 2014-12-09 16:14:04 -08:00
Mitchell Hashimoto fa36cf82ee command: move all remaining commands 2014-10-27 20:34:49 -07:00
Mitchell Hashimoto 8054e66db6 command: move more to this package, remove old packages 2014-10-27 20:31:02 -07:00
Mitchell Hashimoto b5f9528738 Merge pull request #1081 from johnbellone/compress-post-processor
post-processor/compress Add support for artifact compression.
2014-09-08 10:26:50 -07:00
Andy Thompson ed446782f9 Add a docker save post processor 2014-07-21 20:42:24 +01:00
Andy Thompson bf16683140 Add a docker tag post processor 2014-07-21 20:42:23 +01:00
Jack Pearkes 7d4efdc236 post-processor/vagrant-cloud: initial commit 2014-06-16 15:53:37 -04:00
John Bellone a4de58b5f6 [post-processor/compress] Add support for compress.
This commit adds support for a post-processor that produces a compressed
archive that can be uploaded to an OpenStack cluster through either
the Horizon web interface or Glance.
2014-06-12 16:36:37 -04:00
Rickard von Essen cdaa9d5a8e Added support for Parallels Desktop for Mac [GH-223]
Added builder plugins: builder-parallels-iso and builder-parallels-pvm.
2014-05-01 20:29:22 +02:00
Florian Noeding b879ec85cc implemented null buider
The null builder is not really a bulider, it just setups a SSH
connection and runs the provisioners. It can be used to debug
provisioners without incurring high wait times. It does not create any
kind of image or artifact.
2014-03-24 11:26:10 +01:00
Mitchell Hashimoto 2af91addf9 Merge pull request #796 from Jimdo/puppet-server
Add puppet server provisioner
2014-02-24 09:49:27 -08:00
Mitchell Hashimoto 000e5b67ff provisioner/chef-client: docs and validation key path 2014-02-24 09:45:04 -08:00
Jan Brauer ee50657097 Merge remote-tracking branch 'upstream/master' into puppet-server 2014-02-18 09:41:10 +01:00
Elachance 3183a52778 Update main.go 2014-01-29 15:53:16 -08:00
Bailey Johnson 73bbfab8f1 adding chef-client provisioner 2014-01-25 01:06:55 +00:00
Mathias Lafeldt 5bee1b2699 Add missing main_test.go for puppet-server provisioner
This is required to pick up the tests with `make test`.
2014-01-09 11:25:12 +01:00
Jan Brauer 646f4a6dd3 Implement puppet-server provisioner
This closely modeled after the same provisioner
in Vagrant.
2014-01-08 12:50:24 +01:00
Matthew McKeen 3d60bfb312 Add docker-import post-processor.
Implemented initial working version
of Docker image importing code. #774
2014-01-02 14:49:14 -08:00
Matthew McKeen a0e533db41 Rename docker post processor to docker-push.
Implement login to a docker registry, error handling
2014-01-01 22:30:28 -08:00
Matthew McKeen 8bdb723264 Do some forward porting of the old work of
mitchellh/packer's docker branch. #774
2014-01-01 21:18:09 -08:00
Mitchell Hashimoto b994b8c09e Add vmware-vmx plugin 2013-12-26 14:55:06 -07:00
Mitchell Hashimoto ca867cdbb1 rename vmware to vmware-iso 2013-12-25 11:12:09 -07:00
Mitchell Hashimoto d73844c3ef plugin/builder-vmware: fix package 2013-12-23 22:59:11 -07:00
Mitchell Hashimoto efac707078 Rename "virtualbox" builder to "virtualbox-iso" 2013-12-22 15:52:23 -08:00
Mitchell Hashimoto eb542229cd plugin/builder-virtualbox-ovf 2013-12-22 15:47:02 -08:00
Mitchell Hashimoto 09c3d67c51 plugin/builder-virtualbox: new package 2013-12-21 14:27:23 -08:00
Mitchell Hashimoto 0b40251a29 plugin/builder-googlecompute: compile 2013-12-12 21:53:04 -08:00
Kelsey Hightower cc1130962b Use the same license as Packer core 2013-12-12 21:53:04 -08:00
Kelsey Hightower 58c73727e5 builder/googlecompute: Add new googlecompute builder 2013-12-12 21:53:03 -08:00
Mitchell Hashimoto 82bf5fc79e plugin/*: update to latest API 2013-12-10 13:59:38 -08:00