Commit Graph

4277 Commits

Author SHA1 Message Date
Mitchell Hashimoto 9d89ca8e07 command: build should be converted to new API, compiles 2015-05-23 16:30:45 -07:00
Mitchell Hashimoto 3ebfe06ec8 packer: render build names 2015-05-23 16:12:32 -07:00
Mitchell Hashimoto 47b570a2d2 template/interpolate: flip disable to enableenv 2015-05-23 16:06:11 -07:00
Mitchell Hashimoto 97a48e35bb template: ParseFile 2015-05-23 15:44:54 -07:00
Mitchell Hashimoto d74dacc4c0 packer: Core.Build 2015-05-23 15:08:50 -07:00
Mitchell Hashimoto ded13a8b10 packer: Core, and template validate 2015-05-23 14:48:07 -07:00
Seth Vargo 168fe98610 Merge pull request #2109 from bosr/docs-homebrew-notap
doc update: no need for homebrew/binary anymore
2015-05-23 13:12:09 -04:00
Seth Vargo 86c2043a64 Merge pull request #2089 from ehershey/patch-1
Remove duplicate "directly"
2015-05-23 13:11:58 -04:00
lokulin bda4ef7c65 Retry the AWS API when looking for a newly created instance
Sometimes the AWS API responds that it can't find a newly created
instance if you poll it too soon after creation.  Retry a few times
to be sure it really hasn't been created.
2015-05-22 15:08:51 +10:00
Mitchell Hashimoto 28dc1c2aed template: validate post-processor only/except 2015-05-21 15:42:12 -06:00
Mitchell Hashimoto 637fabc1c7 template: validate only/except 2015-05-21 15:39:32 -06:00
Mitchell Hashimoto 2f7e95cc46 template: Validate 2015-05-21 15:29:45 -06:00
Mitchell Hashimoto 2e4dd63912 template: parse push 2015-05-21 14:44:29 -06:00
Mitchell Hashimoto 43fbd26dc9 template: copy some description and min vesrion 2015-05-21 14:41:33 -06:00
Mitchell Hashimoto 839784b044 template: parse post-processors 2015-05-21 14:32:22 -06:00
Mitchell Hashimoto fbda5b119a template: variable parsing 2015-05-21 13:40:33 -06:00
Mitchell Hashimoto 4583ed6108 template: parse provisioners 2015-05-21 13:34:44 -06:00
Mitchell Hashimoto 95890003b7 template: builder parsing 2015-05-19 15:25:56 -06:00
Josh Bleecher Snyder 2fe785ed35 common: remove dead code
The referenced bug was fixed in Go 1.2,
and Packer requires Go 1.2+.
2015-05-18 15:13:36 -07:00
Josh Bleecher Snyder 76c8cfd498 common: don't scrub ""
If the access_key or secret_key were loaded from
somewhere other than the packer file then
ScrubConfig can get called to scrub "" and "".

This results in very long output:

<Filtered><<Filtered>F<Filtered>i...

Don't do that.
2015-05-18 15:13:01 -07:00
Vasiliy Tolstov 3984f5e6f6 add discard option to qemu builder
Enabling discards for disk can greatly minimize disk size then user
inside vm use fstrim command or trim/discard unneded blocks.

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-05-17 20:48:58 +03:00
Mitchell Hashimoto 1e745d9508 template/interpolate: user variables 2015-05-15 21:18:27 -07:00
Mitchell Hashimoto a4b5e08fe4 template/interpolate: upper/lower 2015-05-15 21:16:52 -07:00
Mitchell Hashimoto 7659a91445 template/interpolate: timestamp 2015-05-15 21:14:41 -07:00
Mitchell Hashimoto b84ec8da4b template/interpolate: isotime 2015-05-15 21:12:54 -07:00
Mitchell Hashimoto 5d205ec1fc template/interpolate: wd 2015-05-15 21:10:12 -07:00
Mitchell Hashimoto 125369d102 template/interpolate: can specify template data 2015-05-15 21:08:46 -07:00
Mitchell Hashimoto ff6573ce10 template/interpolate: basic + some funcs 2015-05-15 21:05:47 -07:00
Seth Vargo 350a5f8cad Merge pull request #2115 from mitchellh/sethvargo/update_middleman
Update middleman-hashicorp
2015-05-15 16:32:11 -04:00
Seth Vargo 527a9e9bfc Update middleman-hashicorp 2015-05-15 16:19:35 -04:00
Seth Vargo 0652a76af4 Merge pull request #2111 from asagage/fix-typo-getting-started-remote-builds
Fix typo in getting started remote builds example code
2015-05-14 17:31:20 -04:00
Asa Gage c3a6e60e6c removed NL 2015-05-14 17:27:30 -04:00
Asa Gage 849b825d18 Fixed missing comma in remote-builds example code. 2015-05-14 17:22:32 -04:00
Romain Bossart 8944824fa8 doc update: no need for homebrew/binary anymore 2015-05-14 21:11:44 +02:00
Rickard von Essen 835aff4562 Fixes #2079 - Documentation parallel_tools_mode / guest_additions_mode 2015-05-05 09:21:32 +02:00
Ernie Hershey d903b6d56a Remove duplicate "directly" 2015-05-01 14:34:37 -04:00
Seth Vargo c8b3dfff5f Merge pull request #2059 from KFishner/hashicorp-ecosystem
Add how Packer fits into the HashiCorp Ecosystem
2015-04-24 12:11:53 -04:00
Eric Johnson 3bdf80a7e9 Merge pull request #2061 from duftler/google-cleanup-disk-on-sigint
Delete GCE disk on SIGINT.
2015-04-22 11:12:44 -07:00
duftler 6d28ee931c Delete GCE disk on SIGINT. 2015-04-21 18:02:05 +00:00
Kevin Fishner 2c8ddc384b add packer and the hc ecosystem 2015-04-20 15:55:16 -07:00
FGtatsuro 09f379a928 Support force option for docker-tag. 2015-04-18 13:12:28 +09:00
Eric Johnson 419f3271f1 Merge pull request #2052 from sparkprime/useragent
Use new Google API and OAuth libs, add UserAgent string
2015-04-17 12:20:35 -07:00
Dave Cunningham 982934dfb9 Use new Google API and OAuth libs, add UserAgent string 2015-04-17 15:12:39 -04:00
Dan Schaffer 03436a3745 builder/amazon/chroot: fix no attachments on volume error.
This adds retry logic to the amazon/chroot builder.  The builder
intermittently fails when ec2conn shows the volume in the attached
state but calling Volumes[0].Attachments return an empty array. The
fix adds a retry logic for when Volumes[0].Attachments has len 0 sleep
for 2 seconds and retry up to 30 times.

When the Volumes[0].Attachments is empty I find within 5 seconds the
Volumes[0].Attachments contains the correct value.

The issue is reported in:
https://github.com/mitchellh/packer/issues/1854
2015-04-16 13:06:48 -04:00
Jack Pearkes 344c741642 command/push: allow specifying a -name param for push target 2015-04-15 12:54:58 -07:00
James Nugent 6a3bf9d87e Remove Go 1.2 from the Travis build 2015-04-15 12:18:33 -07:00
James Nugent 65a9347b1e Fix potential nil pointer errors in ported code
This commit adds extra nil checks for some pointers which were not
necessary when using goamz
2015-04-15 12:17:44 -07:00
James Nugent 33b4f5cc0a Check for EBS being nil before assigning it 2015-04-15 11:49:29 -07:00
Travis Truman 7bd37b1f7a Tests were failing incorrectly when OpenStack environment variables were set in the environment running the tests 2015-04-14 11:14:58 -04:00
James Nugent e99cd56b6c Migrate from mitchellh/goamz to awslabs/aws-sdk-go
This commit moves the Amazon builders of Packer away from the Hashicorp
fork of the goamz library to the official AWS SDK for Go, in order that
third party plugins may depend on the more complete official library
more easily.
2015-04-12 21:33:09 -04:00