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
Megan Marsh
5aeab4ec06
Merge pull request #7300 from kmbulebu/openstack_app_creds
...
OpenStack: Support Application Credential Authentication
2019-03-05 13:11:51 -08: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
Kevin Bulebush
947a172a80
Updated to latest gophercloud/utils with app cred support.
2019-02-09 22:52:02 -05:00
Kevin Bulebush
4025d1da2e
Updated gophercloud to revision with app creds
2019-02-09 22:52:02 -05:00
Adrien Delorme
7655d2efb2
Add tencent cloud builder ( #7135 & #6839 )
2018-12-20 17:09:44 +01:00
Andrew Starr-Bochicchio
444fcd12c9
Update vendored godo.
2018-11-22 21:31:12 -05:00
Wheeler Law
65c1b039cc
Added a sed function. Not quite working yet
2018-11-05 12:30:41 -08:00
Matthew Hooker
ab723eaf78
Update oracle SDK
2018-10-26 16:59:22 -07:00
Megan Marsh
0cd3f36d50
Revert "Merge pull request #6892 from hashicorp/fix_6890"
...
This reverts commit 1c4062c316
, reversing
changes made to 9bc41a23b9
.
2018-10-23 09:34:05 -07:00
Megan Marsh
0924a316b7
fix template-set credentials
...
update tests with mocked session
2018-10-22 13:53:40 -07:00
Megan Marsh
c5b6eff691
Merge pull request #6871 from LKaemmerling/master
...
Add hcloud builder
2018-10-18 11:13:16 -07:00
Lukas Kämmerling
270110767c
Add hcloud Builder
2018-10-17 12:15:47 +02:00
Adrien Delorme
f79582cc3f
update progress bar code
2018-10-16 18:18:29 +02:00
Rickard von Essen
096651e8b5
amazon: Update aws-sdk-go to v1.15.54
...
This adds support for credential_source, see https://github.com/aws/aws-sdk-go/pull/2201
Closes #6717
2018-10-15 11:48:51 +02:00
Rafael Rivera
33e3762817
Update Azure/go-ntlmssp dep
2018-10-04 21:49:33 -07:00
Florian Florensa
02878cc148
scaleway: update scaleway vendor
2018-09-27 16:17:05 +02:00
Megan Marsh
7597f609b1
update winrmcp vendor and update error message in file provisioner to aid user who messes up file path name. update file provisioner docs
2018-09-21 14:51:32 -07:00
Megan Marsh
93f1155a14
remove test-related special casing
2018-09-18 08:08:36 -07:00
Harvey Lowndes
d0a43d142f
Update Official OCI Go SDK
2018-08-29 15:05:29 -07:00
Megan Marsh
7bb687ce64
fix mistake in vendor.json
2018-08-29 14:05:29 -07:00
Megan Marsh
dfaf624f4c
add template function allowing user to read keys from vault
...
update dependencies
add minimal docs
2018-08-28 11:23:47 -07:00
Olivier Ceyral
a906d1d630
Add consul template function
2018-08-28 11:04:33 -07:00
Megan Marsh
10c4aca521
Merge pull request #6534 from ChrisLundquist/clundquist/xz
...
add support for xz compression #6523
2018-08-24 14:15:55 -07:00
Megan Marsh
d883dfe67a
Merge pull request #6566 from hashicorp/atlas-deprecation
...
Complete Atlas deprecation.
2018-08-23 14:35:33 -07:00
Megan Marsh
bb319fb1e8
Merge pull request #6607 from hashicorp/gcp_min_cpu_platform
...
GCP: min cpu platform
2018-08-22 12:58:34 -07:00
Adrien Delorme
e37f126cf1
update gcp google.golang.org/api/compute/v1/
2018-08-21 10:09:01 +02:00
Ali Rizvi-Santiago
dc2088318e
Updated vendor package github.com/cheggaaa/pb to v1.0.25.
2018-08-20 21:55:18 -05:00
Ali Rizvi-Santiago
ac27e54c95
Updated vendor package github.com/cheggaaa/pb to v1.0.22
2018-08-20 21:55:18 -05:00
Ali Rizvi-Santiago
16ecb3ad9a
Reverted removal of progress-bar that was done by commit 5d97b105a8
and added some missing arguments that were missed during the rebase. Modified the default progress bar's width to 80 as a result of the conversation on PR #5851 .
2018-08-20 21:55:18 -05:00
Andrei Ozerov
72de95a7e1
Vendor: add github.com/google/uuid package
...
Add a package to work with UUIDs. This package is used by the OpenStack
builder to check the provided network reference.
2018-08-16 23:42:35 +03:00
Andrei Ozerov
511c4fbabe
Vendor: update OpenStack floatingips
...
Fetch latest version of the Gophercloud Neutron floatingips package and
sort vendor.json.
2018-08-16 22:21:05 +03:00
Andrei Ozerov
68afd3d8da
Vendor: add Gophercloud networking v2 external
...
Add package that allow to work with OpenStack networks with external
attribute via the Networking V2 service API.
2018-08-16 22:14:29 +03:00
Andrei Ozerov
f0f1967c9f
Vendor: add Gophercloud networking v2 networks
...
Add package that allow to work with OpenStack networks via the
Networking V2 service API.
2018-08-16 22:14:29 +03:00
Andrei Ozerov
71bf67620f
Vendor: add Gophercloud compute attachinterfaces
...
Add package that allows to retrieve and manage network interfaces of the
OpenStack intstance.
2018-08-16 22:14:29 +03:00
Andrei Ozerov
a4d7b3a909
Vendor: add Gophercloud networking floatingips
...
Add the OpenStack Networking service's extension package to work with
the newest API for floating IPs.
2018-08-16 22:11:50 +03:00
Rickard von Essen
71c515fda1
Merge pull request #6596 from rickard-von-essen/openstack-cinder-root-volume
...
OpenStack: Block Storage volumes support
2018-08-16 12:47:57 +02:00
Rickard von Essen
17b368cf8b
Fixed vendor.json checksum
2018-08-16 12:40:11 +02:00
Andrei Ozerov
df74951309
Vendor: add Gophercloud BlockStorage volumeactions
...
Add the Block Storage service extenstion client library to allow
detaching of the Instance root volume.
2018-08-16 12:40:11 +02:00
Andrei Ozerov
cfa922a180
Vendor: add Gophercloud Compute bootfromvolume
...
Add the Compute service extenstion client library to allow server to be
created with a remote blockstorage root volume.
2018-08-16 12:36:56 +02:00
Andrei Ozerov
d38bd6b5f8
Vendor: add Gophercloud BlockStorage V3 volumes
...
Add the latest blockstorage v3 volumes client library.
2018-08-16 12:36:56 +02:00
Rickard von Essen
b2d6edf76a
Update gophercloud/utils to add support for clouds-public.yaml
2018-08-16 12:00:09 +02:00
Matthew Hooker
ddf23a2c46
Complete Atlas deprecation.
...
Removes the push command and the Atlas post-processor. Please see our
guide on building immutable infrastructure with Packer on CI/CD for
ideas on implementing these features yourself.
https://www.packer.io/guides/packer-on-cicd/
2018-08-02 20:23:28 -07:00
Chris Lundquist
f1a863ad36
add this to govendor
2018-07-25 02:34:33 +00:00
Matthew Hooker
9bb0681586
Merge pull request #6423 from hashicorp/fix5513
...
cmd/validate: Warn users if configs need fixing
2018-07-23 13:52:28 -07:00
Megan Marsh
d1cc5451e9
Cut version 1.2.5
2018-07-16 13:10:23 -07:00
Christopher Boumenot
f60921ad4b
azure: upgrade Azure/go-autorest to v10.12.0
2018-07-11 14:55:34 -07:00
Christopher Boumenot
b8de835a91
merge conflicts
2018-07-11 14:54:57 -07:00
Sean Malloy
3622a669dc
Add new post processor googlecompute-import
2018-06-26 21:39:55 -05:00
Megan Marsh
e21981e581
fix vendor commit for go-oracle-terraform
2018-06-26 16:21:19 -07:00