Commit Graph

22 Commits

Author SHA1 Message Date
Matthew Hooker 7a189a83a1
fix imports
`find . -type f -name '*.go' -not -path "./vendor/*" -exec goimports -w {} \;`
2018-01-24 17:09:17 -08:00
Matthew Hooker a831d522be
change run signatures
Run now takes a context as well as a statebag. We'll assign the context
to the blank identifier to prevent namespace collisions. We'll let the
step authors opt-in to using the context.

`find . -iname "step_*.go" -exec gsed -i'' 's/func \(.*\)Run(/func \1Run(_ context.Context, /' {} \;`
2018-01-24 17:09:17 -08:00
Matthew Hooker 366dc3da0a
move multistep imports to helper.
gomvpkg -from "github.com/mitchellh/multistep" -to "github.com/hashicorp/packer/helper/multistep"
2018-01-24 17:09:15 -08:00
Matthew Hooker 81522dced0
move packer to hashicorp 2017-04-04 13:39:01 -07:00
James Nugent b60e1fd862 Add suggestion to AWS Instance builder error message
A common cause of the failure of the bundle volume step is missing the
ec2-bundle-vol command on the target instance. This commit adds a note
about this to the error message produced as Packer output if the
bundling step fails (it is already in the documentation).
2015-10-02 17:06:33 -04:00
Mitchell Hashimoto 84189f7a28 builder/*: properly save interpolation context 2015-06-22 09:22:42 -07:00
Seth Vargo 33ca8b7fb5 Migrate to new AWS repo 2015-06-03 17:13:52 -04:00
Mitchell Hashimoto 44b980e659 Merge branch 'aws-sdk-go' of https://github.com/jen20/packer into jen20-aws-sdk-go 2015-05-28 08:24:41 -07:00
Mitchell Hashimoto 034e4e676c amazon/*: use new interpolation functions 2015-05-27 11:47:45 -07: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
abishopric d62edd6c05 Print the evaluated bundle commands 2014-07-24 16:30:30 -07:00
Mitchell Hashimoto 0231d798e4 builder/amazon/instance: new multistep API 2013-08-31 13:03:13 -07:00
Mitchell Hashimoto f76a09fc08 builder/amazon/instance: remove check for AMI tools [GH-330] 2013-08-23 15:53:54 -07:00
Mitchell Hashimoto 716d68bff3 builder/amazon: more efficient use of templates 2013-08-08 17:25:26 -07:00
Mitchell Hashimoto 75ff149ac1 builder/amazon/instance: switch to new template stuff 2013-08-08 17:25:25 -07:00
Mitchell Hashimoto 0552bc7306 builder/amazon/instance: register the AMI 2013-07-25 00:19:04 -05:00
Mitchell Hashimoto 03a2cc8b22 builder/amazon/instance: prefix has CreateTime support 2013-07-24 23:51:46 -05:00
Mitchell Hashimoto 877172166b builder/amazon/instance: bundle volume and keep track of dir 2013-07-24 23:22:16 -05:00
Mitchell Hashimoto 7763411914 builder/amazon/instance: detect error bundling 2013-07-24 15:44:58 -05:00
Mitchell Hashimoto c1361b0cf5 builder/amazon/instance: ec2-bundle-vol is called 2013-07-24 15:43:35 -05:00
Mitchell Hashimoto fd43c27de1 builder/amazon/instance: check for the ami tools 2013-07-23 23:19:44 -05:00
Mitchell Hashimoto f94500b324 builder/amazon/instance: boilerplate for bundle volume 2013-07-23 22:48:33 -05:00