Commit Graph

372 Commits

Author SHA1 Message Date
Adrien Delorme 4748958cca go get go get github.com/hashicorp/go-getter@master && tidy 2019-09-06 11:59:23 +02:00
Adrien Delorme 1d00daedac replace github.com/gofrs/flock => github.com/azr/flock v0.0.0-20190823144736-958d66434653
to test my fix
2019-09-05 17:03:54 +02:00
Adrien Delorme 4cb7c30987 Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config 2019-08-21 16:44:23 +02:00
Andre Hilsendeger d832cd6f67 chore: bump hcloud dependency 2019-08-13 08:40:47 +02:00
Megan Marsh 067cb1475f
Merge pull request #7967 from bdwyertech/update-aws-sdk
Update aws-sdk-go to v1.22.2
2019-08-12 16:34:28 -07:00
Brian Dwyer ecd118b6c2
Update aws-sdk-go to v1.22.2
Signed-off-by: Brian Dwyer <Brian.Dwyer@broadridge.com>
2019-08-09 13:01:30 -04:00
xiaohan.liang f4fc9dd09a Rewrite all files, remove sensitive information 2019-08-09 15:00:23 +08:00
Thomas Meckel 5e00253450 Delete stack_test.go 2019-07-26 12:34:25 +02:00
Thomas Meckel 4faed184c9 Added github.com/golang-collections/collections to vendor directory 2019-07-26 12:29:48 +02:00
Megan Marsh 975ee377b2
Merge pull request #7792 from psinghal20/issue-7721
set openstack image metadata with use_blockstorage_volume
2019-07-18 11:58:01 -07:00
Marin Salinas c9234e12a2 add missing vendor dependencies 2019-07-18 09:39:07 -07:00
Jayson Cofell 8d842645b3 Vendor Qemu QMP builder dependencies 2019-07-10 12:30:41 -06:00
Megan Marsh 4adf265b67
Merge pull request #7822 from exoscale/feature/exoscale/post-processor
Add Exoscale Import post-processor
2019-07-03 14:01:35 -07:00
Megan Marsh 4d6891111d update vendor 2019-07-01 12:53:04 -07:00
Pratyush singhal cf8bfa56f0 fix: set openstack image metadata with use_blockstorage_volume
Signed-off-by: Pratyush singhal <psinghal20@gmail.com>
2019-07-01 12:56:00 +05:30
Marc Falzon d4f382a893 fixup! Add Exoscale Import post-processor 2019-07-01 08:59:37 +02:00
ZhiQiang Fan 7235a4a775 feature: support data disks for tencentcloud builder
Data disk is an important feature for instances and images, this
patch implements the basic functionality of it. More work needs
to be done to make it friendly to users. Docs has pointed out
current limitation.

Also update dependencies because this feature requires new code in
tencentcloud go sdk.
2019-06-30 00:05:38 +08:00
Megan Marsh e85bac737b update go-getter client in vendors folder 2019-06-28 14:38:54 -07:00
mingsheng.su 6109ad79a3
Merge branch 'master' into feature/ucloud_builder 2019-06-26 10:09:28 +08:00
Amrita Dutta e96458e8bd Merge branch 'master' of https://github.com/amydutta/packer 2019-06-21 03:43:31 +00:00
Adrien Delorme 4c1abf828c
Merge branch 'master' into scrape_doc_to_builder_struct_config 2019-06-19 11:21:06 +02:00
mingsheng.su d1b9ad90c8 Merge remote-tracking branch 'origin' into feature/ucloud_builder 2019-06-18 18:17:19 +08:00
mingsheng.su 29d46b3104 update vendor about go sdk 2019-06-18 18:07:30 +08:00
Julien Brochet 5efaba6dd1 fix(proxmox): update vendor folder with latest Proxmox dependency 2019-06-17 16:10:22 +02:00
mingsheng.su c8bab9b382 add ucloud packer 2019-06-13 15:16:49 +08:00
Adrien Delorme 6e3dc1aa9a Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config 2019-06-12 14:28:11 +02:00
Adrien Delorme 2eef6a1492
Merge pull request #7726 from hashicorp/packer-interpolate
Packer console
2019-06-12 11:00:11 +02:00
Gennady Lipenkov 87b44a5879 Bulk fixes and enhancements
1) graceful shutdown instance
2) support metadata from file
3) support preemptible instance
2019-06-11 12:28:37 +03:00
Ubuntu fb9fd58dfb Imports for publishing to SIG 2019-06-07 20:47:37 +00:00
Megan Marsh 6fecd7d362 vendors 2019-06-06 15:04:02 -07:00
Adrien Delorme ee716d3f7e up go mod, go mod vendor & go mod tidy 2019-06-06 17:34:17 +02:00
Amrita Dutta 700c95c613 Update Azure SDK for Go to v30.0.0 2019-05-30 21:25:43 +00:00
Sander van Harmelen 8e4251d446 gomod: update go-cloudstack 2019-05-26 11:58:26 +02:00
Megan Marsh 3e73abc93a refresh line endings 2019-05-17 14:58:20 -07:00
Radek Simko 3e65b5dbcb
vendor: github.com/hashicorp/go-version@v1.2.0 2019-05-06 22:28:27 +01:00
Adrien Delorme b68aa40a69
Merge pull request #7567 from creack/bump-goselect2
Update vendors for s390x support. Remove Solaris support.
2019-04-30 12:02:31 +02:00
Megan Marsh e40739f332
Merge pull request #7579 from hashicorp/fix_7525
fix race condition causing hang
2019-04-29 11:03:06 -07:00
Megan Marsh 1287fcfa27 add iochan by mitchell to modules 2019-04-26 16:23:33 -07:00
Adrien Delorme 86d26ac6f1
Merge branch 'master' into bump-goselect2 2019-04-26 11:31:29 +02:00
chhaj5236 6b081cc41c
update alicloud builder to use official SDK (#7477) 2019-04-26 10:37:49 +08:00
Guillaume J. Charmes 40f6fcdcfd Bump goselect version to include mips/ppc/s390x
Signed-off-by: Guillaume J. Charmes <gcharmes@magicleap.com>
2019-04-25 15:40:09 -04:00
Megan Marsh e6363a1bdf
Merge pull request #7517 from hashicorp/fix_7506
fix tty related panics
2019-04-25 11:04:42 -07:00
Adrien Delorme 71c00c200f fix panic: send on closed channel
on windows: if the term is resized when ReadString is being called and no one is reading form ws, we get a panic: send on closed channel.
It could make sense to poll getconsolescreenbufferinfo calls instead of this:
something started from the sigwinch() func

on unix: same story, sigwinch was listened upon by default but if the
signals (chan sends) were not handled, this could cause a crash

fix #7434
2019-04-25 10:49:08 +02:00
amydutta bca4ecda9e update azure sdk version 2019-04-25 02:28:30 +00:00
Marques Johansson 4b36659fcb update vendor/ for linode builder 2019-04-15 20:42:02 -04:00
Adrien Delorme 97f2914c6a
Merge pull request #7484 from yandex-cloud/yandex-cloud-builder
Builder for Yandex.Cloud
2019-04-15 14:02:43 +02:00
Adrien Delorme a81d5de034 up modules and vendor dir 2019-04-12 12:27:32 +02:00
Adrien Delorme d2f036ec44 Revert "Revert "Merge pull request #7391 from carlpett/proxmox-builder""
This reverts commit 032527ecfe.
2019-04-12 12:26:34 +02:00
Gennady Lipenkov be7e0ae4f8 go mod vendor && go mod tidy 2019-04-12 01:29:34 +03:00
Gennady Lipenkov 9f3884814c add dependencies to vendor/ 2019-04-12 01:00:54 +03:00
Adrien Delorme 63f5bbbc73 use our own copy of iochan.LineReader 2019-04-11 14:25:24 +02:00
Adrien Delorme 032527ecfe Revert "Merge pull request #7391 from carlpett/proxmox-builder"
This reverts commit b7d62b2ae0, reversing
changes made to c36eaf16f7.
2019-04-11 14:19:25 +02:00
Adrien Delorme 2f97dc2933 go mod vendor && go mod tidy 2019-04-11 14:19:24 +02:00
Adrien Delorme 2a90ce6178 packer communicator: use iochan.LineReader instead of iochan.LineReader(in)
* as it's the recommended way
2019-04-08 20:09:21 +02:00
Calle Pettersson 65f38978f8 Add vendor 2019-04-04 15:20:46 -07:00
Adrien Delorme f0295a7ca3 fix tty to avoid panic after resizing term near exit time 2019-04-02 10:18:46 +02:00
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 <rohit.yadav@shapeblue.com>
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/aws-sdk-go@v1.16.24 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
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 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 d6b893fb06 add missing vendor file 2018-08-24 15:55: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
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
Rickard von Essen 3b7e23e7f9 Added missing gophercloud files 2018-08-17 20:33:14 +02: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 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 4d17dbd56b Vendor: remove Gophercloud compute floatingips
Remove package to work with floating IPs via the OpenStack Compute API.
Floating IPs support were deprecated in the OpenStack Compute API and
users need to use OpenStack Networking API for that task.
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
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 7461d86405 Actualy add it 2018-07-25 02:36:18 +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
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
Megan Marsh e21981e581 fix vendor commit for go-oracle-terraform 2018-06-26 16:21:19 -07:00
Matthew Hooker a5e29e68da
cmd/validate: notify user if config is "fixable" 2018-06-25 22:21:16 -07:00
Rickard von Essen 8f2fa9c8ec
Vendored github.com/gophercloud/utils and gopkg.in/yaml.v2 2018-06-08 21:37:36 +02:00
Rickard von Essen dc78b30467 Updated gophercloud to 7112fcd50da 2018-06-08 21:21:26 +02:00
M. Marsh 4dc8dd3368
Merge pull request #6261 from DanHam/fix-6240-update-winrm
Update github.com/masterzen/winrm & github.com/masterzen/winrm/soap to latest
2018-05-24 15:38:38 -07:00
Hariharan Jayaraman df5cc234fc updates 2018-05-18 00:39:57 -07:00
Hariharan Jayaraman 1f46271a6b Ensuring device login works for Windows build 2018-05-18 00:32:01 -07:00
DanHam aeadd039b7
Fix #6240 by way of an update to github.com/masterzen/winrm (& winrm/soap)
$ govendor fetch -v github.com/masterzen/winrm
$ govendor fetch -v github.com/masterzen/winrm/soap

* In #6240 users reported problems that could be traced to the use of
  RunWithString in communicator/winrm/communicator.go.
* https://github.com/masterzen/winrm/pull/78 apparently fixed a
  race condition in RunWithString that only materialises with Go <= 1.10;
  This is possibly why we are only seeing this with recent releases.
  Additionally, the intermittent nature of the errors and error messages
  seen are indicative of this type of problem... so here's hoping this
  fixes things...
2018-05-10 15:09:15 +01:00
Matthew Hooker 8848682c35
fix azure vendors.
No changes but correct checksums.
2018-05-07 15:17:45 -07:00
Paul Meyer 69c2d551d0 Update Azure SDK references 2018-05-01 06:04:55 +00:00
M. Marsh eb557af8bf
Merge branch 'master' into f-autocomplete 2018-04-26 11:18:37 -07:00
M. Marsh 148f7d39e4
Merge pull request #6142 from harveylowndes/use-official-go-sdk
builder/oracle: Use official OCI Go SDK
2018-04-24 16:34:38 -07:00
Matthew Hooker 59376294ef
Maximize scancode throughput.
Let's cache the scancodes and flush them at the end. Also make sure to
send only as many as the driver can send correctly. It's important here
to chunk the scancodes correctly, so that we don't accidentally split them
over successive calls to the driver
2018-04-19 14:26:29 -07:00
Albert Lie b41e5fa63b update aliyungo common package 2018-04-18 22:41:56 +07:00
Matthew Hooker 71abcdaab0
lowercase sirupsen is the right version.
sirupsen/logrus#543
2018-04-17 15:59:41 -07:00
Matthew Hooker 678f0647cc
remove lowercase sirupsen 2018-04-17 15:51:03 -07:00
Matthew Hooker 12f80208bb
fix vendor dep casing 2018-04-17 15:48:27 -07:00
Harvey Lowndes 31973d9f8b Add OCI Go SDK dependency 2018-04-17 10:30:30 +01:00
Loïc Carr d2ad4c911f
Merge pull request #6069 from dimtion/scaleway/solaris-build
builder/scaleway: solve compilation issues on Solaris
2018-04-12 09:36:58 +02:00
Matthew Hooker 5206427a47
Update go-fs.
Closes #6083
2018-04-02 20:13:07 -07:00
Loïc Carr f6135a440c builder/scaleway: bump dependencies
This dependency bump solves #5879
2018-03-28 10:30:14 +02:00
Matthew Hooker 2415ca2fd2
fix for linux/ppc64le compilation
closes #5880
2018-02-20 14:10:42 -08:00
Matthew Hooker 7fd71c35ef
update go-aws-sdk to v1.12.72 2018-02-15 13:58:04 -08:00
Matthew Hooker 44647ea185
add vendor deps 2018-02-08 12:10:12 -08:00
Matthew Hooker 6205c71f98
Merge pull request #5791 from YuSungDuk/master
Naver Cloud Platform builder
2018-02-08 11:10:18 -08:00
Matthew Hooker 8827df1ed2
update go-aws-sdk to v1.12.71 2018-02-05 14:21:44 -08:00
Megan Marsh 871ead371a Clean up based on Oracle comments 2018-01-31 10:47:19 -08:00
유성덕 5714108ef9 Merge branch 'master' into support_ncloud 2018-01-29 22:10:18 +09:00
Matthew Hooker dbf5d52c43
update mapstructure library 2018-01-25 16:32:37 -08:00
Matthew Hooker 967b858fc3
add go-oracle client 2018-01-25 14:33:42 -08:00
Matthew Hooker 3bf431a423
construct OCI client 2018-01-25 14:33:41 -08:00
Matthew Hooker 4c5a7e08b5
remove multistep vendor dep 2018-01-24 17:09:15 -08:00
stack72 20f9ef3445 builder/triton: bump triton-go dependencies
This introduces a new triton-go errors package so we can error handle our code in a better way
2018-01-17 16:55:00 +02:00
유성덕 9c72875076 Add tablewriter package 2018-01-14 16:08:06 +09:00