Patrick Double
d796edc783
Add to vagrant post-processor support for Azure
2018-08-08 10:04:28 -05:00
Megan Marsh
8f1eb5a61b
fix crash caused by invalid datacenter url
2018-07-23 16:12:21 -07:00
Megan Marsh
66c45273fb
Merge pull request #6494 from double16/vagrant-docker
...
Vagrant post-processor for using a Docker image
2018-07-23 12:18:52 -07:00
Patrick Double
4f9a91012f
Change docker-push to return docker-import artifact
2018-07-20 15:27:29 -05:00
Patrick Double
066b364873
Remove packer.docker from vagrant post processor builtins
2018-07-17 15:07:22 -05:00
Patrick Double
a301145ae1
Allow docker build as input to vagrant, docs
2018-07-17 09:41:18 -05:00
Patrick Double
1781d352a5
Add Vagrantfile fragment with docker tag specified
2018-07-16 15:35:02 -05:00
Megan Marsh
f657ca39c9
refactored env var code and tests so that I don't have to set env vars during tests to check logic
2018-07-11 10:36:21 -07:00
Megan Marsh
bfbe318727
fix the homegrown waiters
...
fix image import; issue was with wait options not being evaluated
2018-07-11 10:36:21 -07:00
Megan Marsh
f49a2d8aed
move UI call to before the wait; add context to these steps
2018-07-11 10:36:21 -07:00
Megan Marsh
cf63dd10bf
replace AMIStateRefreshFunc, InstanceStateRefreshFunc, our spot instance waiter, our chroot volume waiter, and our snapshot waiters with waiters form AWS's SDK.
2018-07-11 10:34:20 -07:00
Patrick Double
e7fc651f60
First cut at vagrant post-processor for docker
2018-07-06 17:11:24 -05:00
Sean Malloy
d8b229b59a
Add feature to googlecompute-import post-processor to delete GCS files
...
New skip_clean config option added to control deleting import tar
files from GCS bucket. Defaults to false meaning by default delete
import tar files from the GCS bucket.
2018-07-02 21:44:30 -05:00
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
788418cff2
Add unit test to show that we handle tars safely
2018-05-25 12:13:59 -07:00
Megan Marsh
7e9a653da7
use testify instead of homegrown string compare
2018-05-21 15:26:57 -07:00
Megan Marsh
58acb7f436
fix windows test
2018-05-07 15:10:10 -07:00
Megan Marsh
fabd1a6517
windows cmd env vars
2018-05-07 15:10:10 -07:00
Megan Marsh
e983a94a88
fix default windows bash call for shell-local provisioner and move chmod command from the execute_command array into the portion of code where we actually generate inline scripts, sparing users the need to think about this modification which Packer should really handle on its own
...
make bash call work on windows
2018-05-07 15:10:10 -07:00
Megan Marsh
5da4377f21
first pass at docs update
2018-05-07 15:10:10 -07:00
Megan Marsh
854d6fb141
add tests making sure post-processor has backwards compatability
2018-05-07 15:10:10 -07:00
Megan Marsh
d304234725
fix tests
2018-05-07 15:10:10 -07:00
Megan Marsh
6dc4b1cbdc
move all of the run commands for shell-local provisioner and postprocessor into common library too
2018-05-07 15:10:09 -07:00
Megan Marsh
926327beba
deduplicate all validation and interpolation of the shell-local config, sharing options between shell-local provisioner and post-processor. Maintain backwards compatibility with shell-local provisioner.
2018-05-07 15:10:09 -07:00
Megan Marsh
616b41e58f
deduplicate the nearly identical communicators for the shell-local provisioner and post-processor, moving single communicator into a new common/shell-local module
2018-05-07 15:10:09 -07:00
Matthew Hooker
c6299972b9
s/boot_command/bootcommand/
2018-04-19 14:26:31 -07:00
Megan Marsh
6855216387
force QueryEscape to escape spaces as %20 instead of as + for ovftool.
2018-04-06 15:48:04 -07:00
Matthew Hooker
60986ae682
better comment about why gnu tar
2018-03-29 16:18:55 -07:00
Matthew Hooker
742e366367
conditionally set tar header on go >= 1.10
2018-03-29 14:21:54 -07:00
Stefan Scherer
832f390733
Set tar header format to tar.FormatGNU
2018-03-29 22:46:59 +02:00
Megan Marsh
2cecd73aad
add clarity to error message in vsphere-template postprocessor
2018-03-20 11:32:01 -07:00
Matthew Hooker
3c37aaf4e6
update atlas deprecation language
...
This is a follow-on to #6018
2018-03-19 10:50:29 -07:00
Josh Soref
939e7d5587
spelling: delete
2018-03-13 07:36:38 +00:00
Josh Soref
f6745897c5
spelling: compute
2018-03-13 07:21:31 +00:00
Josh Soref
c312493c38
spelling: available
2018-03-13 07:13:24 +00:00
Josh Soref
5c0191828f
spelling: account
2018-03-13 07:05:56 +00:00
Graham Hayes
91d60d6b81
Add LXC to vagrant post-processor
2018-03-07 15:17:52 +00:00
Matthew Hooker
975b50005b
Merge branch 'master' into local-vsphere-template
2018-02-09 11:18:13 -08:00
Edouard BONLIEU
ae18995ca1
Fix builder id
2018-02-08 12:10:10 -08:00
Edouard BONLIEU
7e36cfcff1
Add Scaleway builder
2018-02-08 12:09:24 -08:00
Matthew Hooker
c03ce222b2
add atlas deprecation warnings.
2018-02-07 15:45:00 -08:00
Matthew Hooker
625201c819
Merge pull request #4148 from minimum2scp/features/googlecompute-export-application-default-credential
...
googlecompute-export: use application default credential
2018-02-05 09:51:21 -08:00
SwampDragons
074ddbea8e
Merge pull request #5732 from KohlsTechnology/vagrant_google
...
Add vagrant post-processor support for Google
2018-01-31 15:49:02 -08:00
Matthew Hooker
48e12b6bee
only set role name if it's set.
2018-01-25 10:39:21 -08:00
Brian Terry
380147200c
Added role in amazon-import
2018-01-25 10:56:30 -05:00
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
ebe995c0ff
run goimports
2018-01-22 17:21:10 -08:00