Commit Graph

30 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
Hanjie Wang d9a128a375 In Vagrant post-processor, check whether the host system is able to create a dummy Vagrant box before processing (#8431) 2020-01-08 11:33:39 -08:00
Matthew Hooker 60986ae682
better comment about why gnu tar 2018-03-29 16:18:55 -07:00
Matthew Hooker 742e366367
conditionally set tar header on go >= 1.10 2018-03-29 14:21:54 -07:00
Stefan Scherer 832f390733
Set tar header format to tar.FormatGNU 2018-03-29 22:46:59 +02:00
Sander Saares fb4db02586 Copy/link permissions 0777 -> 0755
Previous permission flags were unusually permissive. Almost everything else in Packer uses 0755.
2017-09-02 15:06:04 +03:00
Sander Saares 0ebf1d0da9 Link VHD instead of copy where allowed by OS
No need to incur that copy I/O if we don't even change the file!
2017-09-02 14:56:59 +03:00
Matthew Hooker 81522dced0
move packer to hashicorp 2017-04-04 13:39:01 -07:00
Chris Bednarski 9ee07f1e8d Add parallel gzip compression to the vagrant post-processor 2015-08-12 12:34:52 -07:00
Mitchell Hashimoto 7c11d2a313 post-processor/vagrant: style 2014-09-02 09:54:55 -07:00
Andrey Levkin e0c6285088 Change creating boxes for customizing metadata.json 2014-07-24 17:39:21 +04:00
Rickard von Essen d08ee4adfd Added support for Parallels Desktop for Mac [GH-233] in the vagrant post-processor.
Fixes https://github.com/rickard-von-essen/packer-parallels/issues/3
2014-05-01 20:29:22 +02:00
Seth Vargo abe9bf8581 Ensure parent directories are created for base boxes 2014-04-24 23:32:42 -04:00
Mitchell Hashimoto 3dd4c08f2d post-processor/vagrant: start new format 2013-12-19 13:22:46 -08:00
Mitchell Hashimoto 7831e0c08c post-processor/vagrant: style nitpicks
/cc @rasa
2013-11-18 15:38:54 -08:00
Ross Smith II 7d33d39da3 Skip gzip compression if compression_level=0 2013-11-18 10:38:19 -08:00
Mark Aaron Shirley e5c5f685b9 Add compression_level option to vagrant post-processors 2013-10-07 21:59:26 -07:00
Mitchell Hashimoto aeb395fe90 post-processor/vagrant: nitpick format 2013-08-23 15:14:58 -07:00
Jason A. Beranek c5d2b791df post-processor/vagrant/virtualbox: support ova artifacts [GH-315] 2013-08-22 21:47:50 -05:00
Mitchell Hashimoto faf6eb1c67 post-processor/vagrant: show file being compressed [GH-314] 2013-08-19 22:38:32 -07:00
Mitchell Hashimoto fcb24f6896 post-processor/vagrant: process output path properly 2013-08-18 20:37:04 -06:00
Mitchell Hashimoto 89e07b875d post-processor/vagrant: properly close file handles [GH-100] 2013-07-07 17:44:13 -07:00
Mitchell Hashimoto 553800b362 post-processor/vagrant: provider PPs get properly configured 2013-07-05 11:11:54 -07:00
Mitchell Hashimoto 1a2e4f9d0b fmt 2013-07-05 11:00:18 -07:00
Mitchell Hashimoto 857beb6167 post-processor/vagrant: check for error when tarring earlier 2013-07-02 08:46:20 -07:00
Mitchell Hashimoto 223f573dbb fmt 2013-07-01 15:07:37 -07:00
Mitchell Hashimoto 39095e48ea post-processor/vagrant: make output contain build name by default
[GH-92]
2013-07-01 15:07:09 -07:00
Mitchell Hashimoto c0d690209c post-processor/vagrant: Only tar files 2013-06-27 14:06:14 -07:00
Mitchell Hashimoto 6f3d0f6bcd post-processor/vagrant: compile the output path 2013-06-27 10:51:13 -07:00
Mitchell Hashimoto f4c9f96085 post-processor/vagrant: Can make AWS boxes! 2013-06-26 18:55:11 -07:00