Commit Graph

207 Commits

Author SHA1 Message Date
Chris Bednarski b767aa7f99 Change to compression_level, fix and add tests for format detection 2015-06-18 03:55:51 -07:00
Chris Bednarski 8fdb4f77e0 WIP 2/4 tests passing, still need to re-implement ZIP and bare compression files and do some cleanup 2015-06-18 00:47:33 -07:00
Chris Bednarski 47bb5ae899 Re-added benchmark and license 2015-06-16 20:23:40 -07:00
Chris Bednarski 2d6f8279e6 Restore configuration structure from vtolstov's branch 2015-06-16 19:08:22 -07:00
Chris Bednarski b2ad92f414 Merged changes from f-file-builder and master 2015-06-16 19:07:29 -07:00
Chris Bednarski ddbc145d29 Implemented acceptance test for compress 2015-06-16 16:31:09 -07:00
Chris Bednarski f5067e9736 Merge branch 'f-file-builder' of github.com:mitchellh/packer into f-file-builder 2015-06-16 12:11:33 -07:00
Chris Bednarski fe105107d2 Removed extra files -- will re-add later 2015-06-16 12:11:11 -07:00
Chris Bednarski 12cf6650a0 Revert compress post-processor to master to get baseline test 2015-06-16 12:10:28 -07:00
Chris Bednarski fe0c548619 Added acceptance test for file builder 2015-06-16 11:30:49 -07:00
Chris Bednarski 946abd99d8 Merge branch 'master' into f-vtolstov-compress 2015-06-15 10:19:03 -07:00
Chris Bednarski 9c5845e3c7 Merge branch 'master' into f-file-builder 2015-06-15 10:18:42 -07:00
Emil Hessman 1999c83a0c post-processor/atlas: adjust test for cross-platform filepath separator
Make TestLongestCommonPrefix cross-platform friendly by defining
the test cases with filepath.Separator.

Fixes test failure on Windows.
2015-06-13 18:58:19 +02:00
Chris Bednarski 53e4688529 Renamed some things to be more consistent with existing modules 2015-06-12 17:25:09 -07:00
Chris Bednarski 3ac74bbae8 Remove redundant aliases 2015-06-10 14:07:13 -07:00
Chris Bednarski e294db8ede Revert to original BuilderId 2015-06-10 14:04:24 -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
Chris Bednarski 52269b66b9 Added new compress post-processor, contributed by Vasiliy Tolstov 2015-06-10 12:30:18 -07:00
Mitchell Hashimoto 23a48d6619 go fmt 2015-06-08 21:34:20 -07:00
Mitchell Hashimoto 10e35a5e8c Merge pull request #1959 from ryanuber/h-atlas
post-processor/atlas: fix index out of range panic
2015-06-08 21:20:31 -07:00
James G. Kim 5bd2d4e6e0 Fix a problem preventing `tag` or `save` from docker-tag artifacts 2015-06-05 22:01:29 +09:00
Mitchell Hashimoto 6109c51115 post-processor/docker-tag: fix failing test 2015-05-29 16:35:41 -07:00
Mitchell Hashimoto 350aa4e522 Merge pull request #2055 from FGtatsuro/docker_tag_force
Support force option for docker-tag.
2015-05-29 16:05:00 -07:00
Mitchell Hashimoto e728c09301 post-processor/vagrant-cloud: in error, don't delete version [GH-2014] 2015-05-29 13:30:52 -07:00
Mitchell Hashimoto 76e9045bc0 post-processor/atlas: find common prefix on Windows [GH-1874] 2015-05-29 11:26:07 -07:00
Mitchell Hashimoto 1a15371c7a post-processor/docker-tag: remove decodeconfig usage 2015-05-27 14:57:57 -07:00
Mitchell Hashimoto dc1e67b6d2 post-processor/*: interpolation 2015-05-27 14:56:22 -07:00
Mitchell Hashimoto 5b343ca98c post-processor/vagrant: interpolation 2015-05-27 14:36:15 -07:00
Mitchell Hashimoto cbe6e83b60 post-processor/docker-*: fix compilation errors 2015-05-27 14:27:11 -07:00
FGtatsuro 09f379a928 Support force option for docker-tag. 2015-04-18 13:12:28 +09:00
Ryan Uber f9c14aee90 post-processor/atlas: fix index out of range panic when artifacts are present 2015-03-02 11:59:18 -08:00
Emil Hessman 8144c92dd0 post-processor/vagrant-cloud: fix incorrect printf verb types
Fixes the following vet reports:

post-processor/vagrant-cloud/client.go:81: arg resp for printf verb %s of wrong type: *net/http.Response
post-processor/vagrant-cloud/client.go:99: arg resp for printf verb %s of wrong type: *net/http.Response
post-processor/vagrant-cloud/client.go:131: arg resp for printf verb %s of wrong type: *net/http.Response
post-processor/vagrant-cloud/client.go:156: arg resp for printf verb %s of wrong type: *net/http.Response
post-processor/vagrant-cloud/client.go:175: arg resp for printf verb %s of wrong type: *net/http.Response
2015-02-25 05:43:18 +01:00
Emil Hessman 9c31822a2b post-processor/vagrant: address vet report
Fixes the following vet report:

post-processor/vagrant/post-processor_test.go:135: possible formatting directive in Fatal call
2015-02-25 05:43:18 +01:00
Seth Vargo 06e73691d1 Merge pull request #1885 from ceh/fix-win-test
post-processor/vagrant: fix test failure on Windows
2015-02-24 20:06:00 -05:00
lalyos a9648be580 Clarify error message in case of an atlas client connection failure
When a packer json contains an atlas postprocessor, and `packer validate` runned locally
in case of the missing ATLAS_TOKEN env var, the following error message is displayed:

* Error initializing client: authentication failed

It wasn't clear which plugin produced this message, so the amazon-ebs builder was the suspect
2015-02-11 11:25:30 +01:00
Seth Vargo 444fe40588 Do not use Unsetenv 2015-02-04 13:30:40 -05:00
Seth Vargo 08ba23f10f Unset the ATLAS_TOKEN environment variable before that test 2015-02-04 13:30:40 -05:00
Emil Hessman 345d3751b0 post-processor/vagrant: fix test failure on Windows
Close temporary file created in test before trying to remove it.
Fixes test failure on Windows, which cannot remove the file unless
it has been closed.
2015-01-30 20:43:19 +01:00
Rickard von Essen 798458481a Fixes #1881 Don't include Windows Disks when packaging boxes for prl
This excludes the directory "Windows Disks" present in the VM data
directory if you hava a Windows VM with Parallels tools installed.
2015-01-30 10:30:42 +01:00
Johannes Graf 277632ad99 Removed version.number / vagrant-cloud post-processor
A few weeks ago ... the version.number changed from an integer to a
semver based string.

I guess version.number and version.version are equals now. So
version.version can be used.

This commit should fix #1735
2014-12-27 15:30:34 +01:00
Seth Vargo ef9cceca06 Merge pull request #1748 from BlackIkeEagle/constant-4294967295-overflows-int
atlas post-processor on 32bit uint32 overflows int
2014-12-11 12:02:31 -08:00
BlackEagle 272ef5a6ba atlas post-processor on 32bit uint32 overflows int
post-processor/atlas/util.go:16: constant 4294967295 overflows int

Signed-off-by: BlackEagle <ike.devolder@gmail.com>
2014-12-11 20:14:16 +01:00
BlackEagle ddb966061f atlas post-processor unknown atlas.UploadartifactOpts field BuildId
in https://github.com/hashicorp/atlas-go/blob/master/v1/artifact.go
we can see it is BuildID and not BuildId

Signed-off-by: BlackEagle <ike.devolder@gmail.com>
2014-12-11 13:51:59 +01:00
Mitchell Hashimoto 0ffd184be6 post-processor/atlas: proper package 2014-12-09 16:14:05 -08:00
Mitchell Hashimoto f3c1132f23 post-processor/atlas: make it 2014-12-09 16:14:04 -08:00
Seth Vargo 64397f2116 Merge pull request #1730 from ceh/issue-801
post-processor/vagrant: check if vagrantfile_template exists
2014-12-08 11:28:18 -08:00
Armon Dadgar fdeb2bc8a2 Merge pull request #1694 from ceh/issue-1125
Test for user variables in vagrantfile_template [GH-1125]
2014-12-08 11:15:12 -08:00
Emil Hessman 53b1db1669 post-processor/vagrant: check if vagrantfile_template exists
Fixes #801
2014-11-25 13:02:32 +01:00
Emil Hessman a65dc929f2 post-processor/vagrant: test if vagrantfile_template exists
Test for #801
2014-11-25 12:41:24 +01:00