Commit Graph

45 Commits

Author SHA1 Message Date
Adam Robinson 8715bfbf70 set all tar timestamp fields to the zero date 2018-06-26 21:39:54 -05:00
Sean Malloy 3622a669dc Add new post processor googlecompute-import 2018-06-26 21:39:55 -05:00
Matthew Hooker ebe995c0ff
run goimports 2018-01-22 17:21:10 -08:00
Matthew Hooker 81522dced0
move packer to hashicorp 2017-04-04 13:39:01 -07:00
Matthew Hooker d1b20b3d9c
remove a bunch of dead code.
https://github.com/dominikh/go-tools/tree/master/cmd/unused
2017-03-28 20:36:20 -07:00
Vasiliy Tolstov 6a5f6938ef post-processor/compress: add bgzf format support
* add bgzf compressor (it allows seek inside compressed file)
* add optional format config variable to specify archive format
* Update pgzip to get sse4 and avx optimizations.

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-05-13 11:51:00 +02: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
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 5241d8c6d6 post-processor/*: fix interpolation context 2015-06-22 12:24:55 -07: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
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 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 dc1e67b6d2 post-processor/*: interpolation 2015-05-27 14:56:22 -07:00
Julian Phillips 90a57c411f Expand Artifact API to expose build state
In order that something consuming an artifact can have access to extra
builder specific data add the State method which allows the caller to
ask for arbitary values by name.
2014-09-22 11:15:47 +01:00
Mitchell Hashimoto b2255751a1 post-processor/compress: style 2014-09-08 10:28:16 -07:00
John Bellone a492ca7424 Fix warnings about not utilizing test module.
Make these tests green adn them figure out how to test the actual post-processor.
2014-06-12 16:45:37 -04:00
John Bellone 7da7623d38 Fix user variables to properly evaluate. 2014-06-12 16:36: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
Mitchell Hashimoto a7c12fadc6 Remove the "compress" post-processor for now 2013-06-27 08:32:15 -07:00
Mitchell Hashimoto b98df11cbf fmt 2013-06-18 21:54:33 -07:00
Mitchell Hashimoto 0a90d3e791 post-processor/compress: Boilerplate for the compress PP 2013-06-18 21:18:41 -07:00