Adrien Delorme
2bfd1f7c74
don't ENABLE_PROCESSED_INPUT on windows
...
( just updating go deps )
2019-03-22 14:24:52 +01: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
Megan Marsh
6e442e616c
Merge pull request #7352 from hashicorp/research_7299
...
use a tty to ui.Ask
2019-03-07 09:47:01 -08: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
Adrien Delorme
7f5c794e5f
add go-tty vendor
2019-02-27 17:01:02 +01:00
Adrien Delorme
c588a8a24d
Revert "cheggaaa.pb: try to not open tty at init to see if it causes #7299 "
...
This reverts commit 4e55278839 .
2019-02-27 16:52:55 +01:00
Adrien Delorme
4e55278839
cheggaaa.pb: try to not open tty at init to see if it causes #7299
2019-02-26 11:55:39 +01:00
Miłosz Smółka
94a7a07c87
Merge branch 'master' into hyperone
2019-02-24 15:16:21 +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
Miłosz Smółka
7501b1434f
Add missing dependency to the vendor tree
2019-02-10 13:20:30 +01: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
Miłosz Smółka
c2b39b8b3b
Add h1-client-go to vendor directory
2019-02-08 11:15:45 +01:00
Rohit Yadav
47e03a815f
vendor: update go-cloudstack v2.4.1
...
This fixes #7263 and updates the dependency go-cloudstack v2.4.1
Signed-off-by: Rohit Yadav <[email protected] >
2019-02-02 00:56:40 +05:30
Adrien Delorme
76ca0ca4a0
Revert "debug should retry"
...
This reverts commit c943ff00a2 .
2019-01-24 16:44:53 +01:00
Adrien Delorme
c943ff00a2
debug should retry
2019-01-24 14:02:10 +01:00
Adrien Delorme
9099bf8a4a
GO111MODULE=on go get github.com/aws/[email protected]
2019-01-24 13:07:34 +01:00
Adrien Delorme
e919c2ff44
GO111MODULE=on go mod vendor && git add vendor/github.com/aws && git add github.com/jmespath/go-jmespath
2019-01-18 12:48:57 +01:00
Adrien Delorme
7655d2efb2
Add tencent cloud builder ( #7135 & #6839 )
2018-12-20 17:09:44 +01:00
dedene
0f3bfbf8e6
Fix timing issues by updating to hcloud-go v1.11.0
2018-11-24 17:56:09 +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
Matthew Hooker
8598e2d0a3
WIP
2018-10-26 16:59:20 -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