Commit Graph

229 Commits

Author SHA1 Message Date
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
Chris Bednarski fbb24d4acf Changed interpolation logic so .BuildName can be used in the output config option 2015-08-04 19:49:41 -07:00
Chris Bednarski 4ef3baa3ee Update test to include some interpolation configs 2015-08-04 19:30:57 -07:00
Chris Bednarski 8d6719e71f Add failing test for compress interpolation 2015-08-03 16:34:24 -07:00
Sam Dunne ee1b6a72ea Fixes #2478 2015-07-21 15:54:48 +01:00
Chris Bednarski eba28519db Move vars to the top and cleanup extra whitespace 2015-06-24 18:29:32 -07:00
Chris Bednarski 1831a09055 Fix compress crash
- Changed config from pointer to value to fix crash
- Removed acceptance flag from compress tests since they would have
caught this
2015-06-24 17:47:00 -07:00
Mitchell Hashimoto d429b75fcc post-processor/vagrant: fix interpolation 2015-06-23 08:39:57 -07:00
Vasiliy Tolstov 2b36bcc502 allow import qemu builded artifacts
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-06-23 14:28:03 +03:00
Mitchell Hashimoto 5db4d7c01f fmt 2015-06-22 12:37:52 -07:00
Mitchell Hashimoto 5241d8c6d6 post-processor/*: fix interpolation context 2015-06-22 12:24:55 -07:00
Salvador Girones 6cb51f21de Make ResourcePool optional 2015-06-22 10:13:49 -07:00
Mitchell Hashimoto 259dba38da Merge pull request #2269 from mitchellh/b-vagrant-cloud-retry
post-processor/vagrant-cloud: retry uploads [GH-2167]
2015-06-19 06:05:53 +02:00
Chris Bednarski 2d92fd8733 Added test case for gzip that expands the data and compares to what we put in 2015-06-18 19:08:13 -07:00
Chris Bednarski 801e5aaa30 Move test configs into the test func 2015-06-18 18:25:46 -07:00
Chris Bednarski d02f6644d2 Refactored test so it's more DRY and also rearranged things so the test cases and configs are at the top of the file 2015-06-18 18:21:03 -07:00
Chris Bednarski 7497db67b4 Tweaked some of the UI/UX around GOMAXPROCS 2015-06-18 14:22:26 -07:00
Chris Bednarski 0880d448f0 Cleanup some debug code and reorganize config struct 2015-06-18 14:01:00 -07:00
Chris Bednarski 9cd572461d Updated docs, fix artifact bug 2015-06-18 05:13:48 -07:00
Chris Bednarski e81378ac39 Fix test case 2015-06-18 04:46:39 -07:00
Chris Bednarski d8f78d9174 Cleanup 2015-06-18 04:41:05 -07:00
Chris Bednarski b767aa7f99 Change to compression_level, fix and add tests for format detection 2015-06-18 03:55:51 -07:00
Mitchell Hashimoto f6660e8a4f post-processor/vagrant-cloud: retry uploads [GH-2167] 2015-06-18 10:25:47 +02: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