Megan Marsh
9dafa310f3
remove redundant keep_input_artifact code from googlecompute-export and googlecompute-import pps. The behavior coded here was already enforced by the core postprocessor code in packer/build.go
2019-04-03 12:05:38 -07:00
Megan Marsh
1b77b05ce2
remove redundant keep_input_artifact from compress pp and clarify keep behavior in shell-local pp
2019-04-03 12:03:40 -07:00
Megan Marsh
056fcb7cea
fix tests and add a few new ones
2019-04-03 11:32:49 -07:00
Megan Marsh
12fc1fa751
default_keep_input_artifact
2019-04-02 16:51:58 -07:00
Megan Marsh
2c67cd966b
Merge pull request #7396 from c0sco/amazon-import-encryption
...
Support S3 and AMI encryption in amazon-import post-processor
2019-03-25 17:24:49 -06:00
Megan Marsh
24c42e4a1f
Merge pull request #7397 from vhaidamaka/fix-7321
...
Add vagrant-cloud post-processor support for the vagrant builder
2019-03-15 16:00:05 -07:00
Adrien Delorme
9f82b75e57
Use the hashicorp/go-getter to download files
...
* removed packer.Cache and references since packer.Cache is never used except in the download step. The download step now uses the new func packer.CachePath(targetPath) for this, the behavior is the same.
* removed download code from packer that was reimplemented into the go-getter library: progress bar, http download restart, checksuming from file, skip already downloaded files, symlinking, make a download cancellable by context.
* on windows if packer is running without symlinking rights and we are getting a local file, the file will be copied instead to avoid errors.
* added unit tests for step_download that are now CI tested on windows, mac & linux.
* files are now downloaded under cache dir `sha1(filename + "?checksum=" + checksum) + file_extension`
* since the output dir is based on the source url and the checksum, when the checksum fails, the file is auto deleted.
* a download file is protected and locked by a file lock,
* updated docs
* updated go modules and vendors
2019-03-13 12:11:58 +01:00
Vadym Haidamaka
4855bc79c9
Add vagrant-cloud post-processor support for the vagrant builder
2019-03-12 05:33:46 +02:00
Matt Stofko
ab4382360d
Support S3 and AMI encryption
2019-03-11 13:21:47 -07:00
Megan Marsh
67fe820465
Merge pull request #7361 from hashicorp/fix_insecure_skip_tls_verify
...
fix proxy and tls
2019-03-07 09:21:06 -08:00
Davi Vidal
b0e3128125
Improves test message
2019-03-05 14:39:50 +01:00
Davi Vidal
1a94ad14bd
Adds test for insecure_skip_tls_verify
2019-03-05 14:37:37 +01:00
Davi Vidal
a2fd287e56
Ignores SSL verification when on premise vagrant cloud
2019-03-05 10:57:11 +01:00
Megan Marsh
3ed9fe6dee
remove unused imports
...
remove HttpClientWithEnvironmentProxy from amazon builders; let access config handle it
2019-03-04 16:42:33 -08:00
Arnaud Dezandee
f9ae926d8f
googlecompute-export: set network project id to builder
2019-03-01 15:12:31 +01:00
Megan Marsh
be21850e32
Merge pull request #7060 from andrewsomething/do-post-processor
...
Add digitalocean-import post-processor.
2019-02-14 11:58:00 -08:00
Andrew Starr-Bochicchio
37b3305301
Better varibable naming.
2019-02-13 18:55:27 -05:00
Andrew Starr-Bochicchio
ee430d9a40
Only filter on suffix if more than one file.
2019-02-12 20:20:39 -05:00
Andrew Starr-Bochicchio
203b6ca8b4
Prefix env vars w/ 'DIGITALOCEAN_'
2019-02-11 18:20:35 -05:00
Megan Marsh
6cac03044f
Merge pull request #7248 from oceyral/oceyral/feat/add_user_data
...
Add "custom_data" key to packer manifest post-processor
2019-02-01 11:37:44 -08:00
Olivier Ceyral
4d10d668ee
Add "custom_data" key to packer manifest
2019-02-01 10:41:34 +01:00
Megan Marsh
eef4fc7a01
Merge pull request #7222 from Adezandee/gce-post-processors
...
googlecompute-postprocessors: service account and export configs
2019-01-31 16:58:42 -08:00
Megan Marsh
035c3506ba
manually set proxyfromenvironment in default http client for ec2 sessions
2019-01-25 12:33:25 -08:00
Megan Marsh
c63b54a1e7
move http with proxy call into a helper function
2019-01-25 12:32:52 -08:00
Arnaud Dezandee
8975f67901
googlecompute-export: add exporter instance configs
2019-01-25 11:36:18 +01:00
Arnaud Dezandee
91d2cb8c83
googlecompute-import: add service accounts
2019-01-25 11:36:18 +01:00
Arnaud Dezandee
3d41cdfacb
googlecompute-import: add guest os features
2019-01-22 18:42:38 +01:00
Rickard von Essen
a02bd23f56
When import task fails show the StatusMessage
...
This will hopefully tell the user the reason of the failure.
2019-01-17 13:36:44 +01:00
Adrien Delorme
9f7b4ffc17
Merge branch 'master' into pr/6950
2019-01-09 10:11:18 +01:00
Ladar Levison
3cc83167c8
Added map structure type to config changes.
2018-12-18 00:48:58 -06:00