Commit Graph

418 Commits

Author SHA1 Message Date
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
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
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 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 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
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 7461d86405 Actualy add it 2018-07-25 02:36:18 +00: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
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 8aee53ebe9
Merge pull request #6224 from paulmey/update-azure-sdk
Update Azure SDK
2018-05-04 09:47:28 -07:00
Matthew Hooker 6ff69461f5
remove bad newline 2018-05-03 12:26:55 -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
Megan Marsh ffaa60eb37 fix accidental deletion in vendor file 2018-04-24 16:25:04 -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
Edouard BONLIEU 7e36cfcff1
Add Scaleway builder 2018-02-08 12:09:24 -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 7f21ca546d
we're not using go-getter 2018-01-25 14:47:30 -08:00
Megan Marsh 6556a851dc
fix ssh key handling 2018-01-25 14:34:01 -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 aa667577a5
update context library 2018-01-24 17:09:18 -08:00
Matthew Hooker 2afd81741c
use correct context 2018-01-24 17:09:18 -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
Jason Wieringa 78ff4d1eed Updated github.com/aws/aws-sdk-go/service/ec2
Upgrades to v1.12.57 for the field KmsKeyID on EbsBlockDevice
introduced in v1.12.35 on November 2017.
2018-01-11 20:27:38 -08:00
유성덕 4f9754a75c add ncloud-sdk-go dependency to vendor 2018-01-11 19:41:47 +09:00
Megan Marsh 7fe1ec03ca update winrmcp to fix #5752 2018-01-04 11:34:05 -08:00
stack72 c3467b686c builder/triton: Add support for Triton RBAC
Fixes: #5737

Triton allows for subusers to be granted access to your account. This PR allows a user to be specified
2017-12-29 21:20:40 +02:00
zhuzhih2017 bdc1fa0527
Merge pull request #5641 from zhuzhih2017/master
Add security token supported and TLS handshake timeout support
2017-11-28 11:15:56 +08:00
zhuzhih2017 de0017c37a Add security token supported and TLS handshake timeout support 2017-11-28 10:32:17 +08:00
Christopher Boumenot 247da61ad1
Merge pull request #5593 from boumenot/pr-azure-keep-resource-group
Azure: Keep temporary resource group.
2017-11-16 17:39:33 -08:00
Matthew Hooker b07a0cd6f0
fix tests
always sort telemetry options
2017-11-14 16:39:03 -08:00
Matthew Hooker 60b013f5af
Merge pull request #5439 from pkilar/socks5_proxy
SOCKS5 proxy support
2017-11-06 15:43:09 -08:00
Arjen Schwarz f4600a208f
Azure: Keep temporary resource group. Fixes #5045
This changeset will detect if the defined temporary resource group
already exists. If it does, it will not destroy it, but clean up
every resource required for building that is created by Packer
individually, both on success and failure.

Unit tests have been fixed, but more tests should be added for the new
functionalities.
2017-11-06 16:16:58 +11:00
stack72 b04796c2cc Bump Joyent/triton-go to modern version of the SDK
This brings packer into the same version of triton-go as that in Terraform, where we rewrote the package from a library with everything in 1 place to individual packages

I was able to successfully provision a machine on triton using this new change, you can find the output in the attached gist

https://gist.github.com/stack72/a64d745459107c5a16bcb156965597ce
2017-10-31 18:08:53 +02:00
Jeremy Voorhis 001d632bcd Update mitchellh/cli and add posener/complete dep 2017-10-13 11:57:38 -07:00
Matt McQuillan e0942e8998 Updating go-checkpoint lib to have a fixed timeout 2017-10-10 12:48:29 -04:00
Paul Kilar 01ff96b341 Added missing dependency and updated documentation 2017-10-10 15:39:18 +01:00
Megan Marsh d4031420ab fun with wait groups; prevents hanging 2017-09-29 15:03:44 -07:00
zhuzhih2017 1861a22c77 Merge pull request #5219 from zhuzhih2017/master
update alicloud go sdk and enable multi sites support for alicloud
2017-09-06 09:41:38 +08:00
Megan Marsh 3974976518 Merge pull request #5137 from vilkaspilkas/f-googlecompute-accelerator
Add accelerator api support to googlecompute builder
2017-09-01 14:12:26 -07:00
bugbuilder 138f54d9d3 Merge branch 'master' of https://github.com/hashicorp/packer into vsphere-tpl 2017-08-30 18:13:54 -03:00
Jake Champlin 2d3ee06ecd Remove LGPL dependencies
This changeset performs the following:

- Updates `masterzen/winrm` vendor to include change from (https://github.com/masterzen/winrm/pull/73).
- Removes `masterzen/xmlpath` dependency, as it is licensed under the LGPL license.
- Updates `dylanmei/winrmtest` vendor to include change from (https://github.com/dylanmei/winrmtest/pull/4).
- Updates `packer-community/winrmcp` vendor to include the removal of the `masterzen/winrm/winrm` sub-class as a result of the `winrm` CLI tool being removed from the `masterzen/winrm` repository.
- Updates nested dependencies as a result of the above vendor changes.
- Refactors `parallels/driver_9` to use `goxpath` instead of `xmlpath`, as `xmlpath` is licensed under LGPL.
- Adds a basic unit test for the refactor work in `parallels/driver_9` to confirm functionality.

This should completely remove any LGPL licensed dependencies inside of the Packer project.

```
$ make test
/home/jake/src/go/src/github.com/hashicorp/packer/scripts/gofmtcheck.sh $(find . -not -path "./vendor/*" -name "*.go")
==> Checking that code complies with gofmt requirements...
Check passed.
ok      github.com/hashicorp/packer     0.044s
ok      github.com/hashicorp/packer/builder/alicloud/ecs        0.055s
ok      github.com/hashicorp/packer/builder/amazon/chroot       0.040s
ok      github.com/hashicorp/packer/builder/amazon/common       0.021s
ok      github.com/hashicorp/packer/builder/amazon/ebs  0.016s
ok      github.com/hashicorp/packer/builder/amazon/ebssurrogate 0.015s
ok      github.com/hashicorp/packer/builder/amazon/ebsvolume    0.014s
ok      github.com/hashicorp/packer/builder/amazon/instance     0.058s
ok      github.com/hashicorp/packer/builder/azure/arm   2.833s
ok      github.com/hashicorp/packer/builder/azure/common        0.018s
?       github.com/hashicorp/packer/builder/azure/common/constants      [no test files]
?       github.com/hashicorp/packer/builder/azure/common/lin    [no test files]
?       github.com/hashicorp/packer/builder/azure/common/logutil        [no test files]
ok      github.com/hashicorp/packer/builder/azure/common/template       0.038s
ok      github.com/hashicorp/packer/builder/azure/pkcs12        0.120s
ok      github.com/hashicorp/packer/builder/azure/pkcs12/rc2    0.020s
ok      github.com/hashicorp/packer/builder/cloudstack  0.038s
ok      github.com/hashicorp/packer/builder/digitalocean        0.015s
ok      github.com/hashicorp/packer/builder/docker      0.028s
ok      github.com/hashicorp/packer/builder/file        0.029s
ok      github.com/hashicorp/packer/builder/googlecompute       3.162s
ok      github.com/hashicorp/packer/builder/hyperv/common       0.006s
ok      github.com/hashicorp/packer/builder/hyperv/iso  0.042s
ok      github.com/hashicorp/packer/builder/null        0.018s
ok      github.com/hashicorp/packer/builder/oneandone   0.022s
ok      github.com/hashicorp/packer/builder/openstack   0.052s
ok      github.com/hashicorp/packer/builder/parallels/common    2.549s
ok      github.com/hashicorp/packer/builder/parallels/iso       0.050s
ok      github.com/hashicorp/packer/builder/parallels/pvm       0.033s
ok      github.com/hashicorp/packer/builder/profitbricks        0.023s
ok      github.com/hashicorp/packer/builder/qemu        0.039s
ok      github.com/hashicorp/packer/builder/triton      0.018s
ok      github.com/hashicorp/packer/builder/virtualbox/common   5.533s
ok      github.com/hashicorp/packer/builder/virtualbox/iso      0.044s
ok      github.com/hashicorp/packer/builder/virtualbox/ovf      0.012s
ok      github.com/hashicorp/packer/builder/vmware/common       5.325s
ok      github.com/hashicorp/packer/builder/vmware/iso  0.076s
ok      github.com/hashicorp/packer/builder/vmware/vmx  0.010s
ok      github.com/hashicorp/packer/command     0.062s
ok      github.com/hashicorp/packer/common      0.053s
ok      github.com/hashicorp/packer/common/json 0.003s [no tests to run]
ok      github.com/hashicorp/packer/common/powershell   0.015s
?       github.com/hashicorp/packer/common/powershell/hyperv    [no test files]
?       github.com/hashicorp/packer/common/ssh  [no test files]
ok      github.com/hashicorp/packer/common/uuid 0.010s
ok      github.com/hashicorp/packer/communicator/none   0.008s
ok      github.com/hashicorp/packer/communicator/ssh    0.068s
ok      github.com/hashicorp/packer/communicator/winrm  0.046s
ok      github.com/hashicorp/packer/fix 0.005s
ok      github.com/hashicorp/packer/helper/builder/testing      0.007s
ok      github.com/hashicorp/packer/helper/communicator 0.013s
ok      github.com/hashicorp/packer/helper/config       0.004s
?       github.com/hashicorp/packer/helper/enumflag     [no test files]
ok      github.com/hashicorp/packer/helper/flag-kv      0.009s
ok      github.com/hashicorp/packer/helper/flag-slice   0.006s
ok      github.com/hashicorp/packer/packer      0.219s
ok      github.com/hashicorp/packer/packer/plugin       0.233s
ok      github.com/hashicorp/packer/packer/rpc  0.141s
ok      github.com/hashicorp/packer/plugin/example      0.008s [no tests to run]
?       github.com/hashicorp/packer/post-processor/alicloud-import      [no test files]
?       github.com/hashicorp/packer/post-processor/amazon-import        [no test files]
ok      github.com/hashicorp/packer/post-processor/artifice     0.003s [no tests to run]
ok      github.com/hashicorp/packer/post-processor/atlas        0.018s
ok      github.com/hashicorp/packer/post-processor/checksum     0.015s
ok      github.com/hashicorp/packer/post-processor/compress     0.047s
ok      github.com/hashicorp/packer/post-processor/docker-import        0.012s
ok      github.com/hashicorp/packer/post-processor/docker-push  0.012s
ok      github.com/hashicorp/packer/post-processor/docker-save  0.008s
ok      github.com/hashicorp/packer/post-processor/docker-tag   0.008s
ok      github.com/hashicorp/packer/post-processor/googlecompute-export 0.015s [no tests to run]
?       github.com/hashicorp/packer/post-processor/manifest     [no test files]
ok      github.com/hashicorp/packer/post-processor/shell-local  0.028s
ok      github.com/hashicorp/packer/post-processor/vagrant      0.030s
ok      github.com/hashicorp/packer/post-processor/vagrant-cloud        0.028s
ok      github.com/hashicorp/packer/post-processor/vsphere      0.014s
ok      github.com/hashicorp/packer/provisioner 0.011s
ok      github.com/hashicorp/packer/provisioner/ansible 0.140s
ok      github.com/hashicorp/packer/provisioner/ansible-local   0.056s
ok      github.com/hashicorp/packer/provisioner/chef-client     0.050s
ok      github.com/hashicorp/packer/provisioner/chef-solo       0.061s
ok      github.com/hashicorp/packer/provisioner/converge        0.018s
ok      github.com/hashicorp/packer/provisioner/file    0.015s
ok      github.com/hashicorp/packer/provisioner/powershell      0.168s
ok      github.com/hashicorp/packer/provisioner/puppet-masterless       0.008s
ok      github.com/hashicorp/packer/provisioner/puppet-server   0.031s
ok      github.com/hashicorp/packer/provisioner/salt-masterless 0.010s
ok      github.com/hashicorp/packer/provisioner/shell   0.010s
ok      github.com/hashicorp/packer/provisioner/shell-local     0.037s
ok      github.com/hashicorp/packer/provisioner/windows-restart 0.180s
ok      github.com/hashicorp/packer/provisioner/windows-shell   0.159s
?       github.com/hashicorp/packer/scripts     [no test files]
ok      github.com/hashicorp/packer/template    0.008s
ok      github.com/hashicorp/packer/template/interpolate        0.004s
?       github.com/hashicorp/packer/version     [no test files]
```
2017-08-30 12:10:12 -07:00
Megan Marsh f19040f3aa Merge pull request #5196 from cstuntz/aws-add-tags
Upgrade aws-sdk-go to 1.10.14, add tags at instance run time
2017-08-28 13:17:29 -07:00
Jasmin Gacic fce08fce73 Merge pull request #5233 from StackPointCloud/packer-builder-profitbricks-updates
Packer builder ProfitBricks Cloud API V4 updates
2017-08-22 17:50:31 +02:00
Sean Chittenden 2393d94beb
Update golang/x/sys/unix to `master`
`master` contains the necessary fixes required to support `flock(3C)`
on `GOOS=solaris`.
2017-08-14 11:09:22 -07:00
Matthew Hooker 16773bed6a
update aws-sdk-go to v1.10.23 (2017-08-10) 2017-08-11 13:07:00 -07:00
Ali Bazlamit c67d118523 Update packer to Use ProfitBricks Image Alias feature 2017-08-10 16:15:53 +03:00
Megan Marsh 535268cf85 update atlas-go to fix symlink-related packer push failures 2017-08-08 09:40:44 -07:00
zhuzhih2017 096a0cd4fb update aliyun go sdk and enable multi sites support for alicloud 2017-08-04 09:56:04 +08:00
cstuntz 60cbd49536 updating govendor imports 2017-07-31 11:47:56 -07:00
cstuntz 42444e58e6 Updating step_run_source_instance to add tags at instance start instead of adding them to running instance 2017-07-31 11:38:30 -07:00
Saulius Grusnys 5ebc96744d Accelerator api is now GA, switching back to v1 from v0.beta 2017-07-21 15:05:24 +01:00
Saulius Grusnys 200113b8c1 Switch googlecompute builder to use compute/v0.beta and add support for accelerator api 2017-07-17 15:39:41 +01:00
bugbuilder c8747f138f Adding template feature 2017-07-09 14:56:39 -04:00
Rickard von Essen d61c3f5938 Update dependency osext to support Android 2017-07-08 11:20:05 +02:00
Megan Marsh 9bc0e17e1c Merge pull request #5057 from ygina/update-gophercloud
Update gophercloud version #5046
2017-06-27 13:10:35 -07:00
Christopher Boumenot 123c45caca azure: Include missing vendor file
I forgot to execute govendor sync.  Adding the missing file.
2017-06-26 11:13:40 -07:00
Christopher Boumenot c6ff4aae59 Support for building from custom managed images 2017-06-26 11:13:38 -07:00
Christopher Boumenot 054a75de26 azure: Azure/go-autorest v8.0.0 2017-06-26 11:13:37 -07:00
Christopher Boumenot 74ee9a8eab azure: Azure/azure-sdk-for-go v10.0.3-beta 2017-06-26 11:13:37 -07:00
Matthew Hooker 83ba291f41
update go-checkpoint 2017-06-23 19:36:32 -07:00
Gina Yuan 469f125933 Update gophercloud version #5046 2017-06-23 14:48:38 -04:00
Matthew Hooker 6ff34c8788
update go-checkpoint 2017-06-16 17:56:41 -07:00
Matthew Hooker 35332e4498
fix panic with deadlines. update panicwrap dep 2017-06-15 13:23:05 -07:00
Matthew Hooker 7382382727
Add telemetry reporting through checkpoint
Will report builders/provisioner/post-processor types used per build,
and whether or not the build passed.

Will also report any panics we see.

You may opt out of this reporting by setting the environment variable
`CHECKPOINT_DISABLE`.
2017-06-15 13:21:11 -07:00
Rickard von Essen 7360ba4fd7
Updated aws-sdk-go from v1.4.6 to v1.7.1 2017-06-09 10:17:04 -07:00
Matthew Hooker 1533f5564f
update changelog 2017-06-08 15:44:51 -07:00
Matthew Hooker cd147e2da4 Merge pull request #4970 from hashicorp/4727_sensitive_vars
allow user to mark variables as sensitive for packer push
2017-06-08 15:27:37 -07:00
Megan Marsh e81cc7d890 documentation
update to use atlas/go master with newly merged changes for govendor
2017-06-08 13:01:31 -07:00
Megan Marsh fdca364f4b allow user to mark variables as sensitive for packer push 2017-06-08 13:01:23 -07:00
Matthew Hooker b1bcf62ae1 Merge pull request #4619 from zhuzhih2017/master
Add packer plugin which support to create alicloud ecs image
2017-06-02 13:33:10 -07:00
Matthew Hooker 5fa704e3df
update winrm to use keepalives 2017-06-01 15:16:20 -07:00
zhuzhih2017 a26c72f38e fix the comments about root and apply the keypair with latest dependence 2017-05-25 18:27:54 +08:00
Matthew Hooker 2ceaa2b79e Merge pull request #4748 from greenhouse-org/download-winrm
Add support for download in WinRM communicator
2017-05-22 13:35:25 -07:00
Matthew Hooker 249cb690e0
update crypto/ssh 2017-05-18 12:01:29 -07:00
Matthew Hooker 1a26fbd59c
update changelog 2017-05-15 13:52:29 -07:00
Sean Chittenden 236c12c07a
Update github.com/joyent/triton-go to the latest. 2017-05-09 14:20:30 -07:00
Justin Reagor 7725403462 Bump tracked version of joyent/triton-go 2017-05-05 10:00:09 -04:00
James Nugent 237180a95b deps: Add joyent/triton-go 2017-04-26 14:02:04 -07:00
James Nugent 648b7f471b deps: Remove joyent/gosdc and dependencies 2017-04-26 14:02:03 -07:00
David Jahn 42656ce2c7 Bump winrm library
- Fix race condition in io.copy (https://github.com/masterzen/winrm/pull/67)

Signed-off-by: Amin Jamali <ajamali@pivotal.io>
2017-04-26 12:16:12 -04:00
Paul Nikonowicz 0614fc234f Implement download for WinRM communicator
Signed-off-by: Mark DeLillo <mdelillo@pivotal.io>
2017-04-26 12:15:30 -04:00
zhuzhih2017 d646e1d035 refactor the code according hashicorp rename the repository 2017-04-18 15:14:45 +08:00
Luke Farnell 5b7ec545c5 Added monitoring and updated godo 2017-04-08 15:52:57 -04:00
Matthew Hooker dba189f587
update vendors slightly 2017-04-04 22:07:17 -07:00
Matthew Hooker 83bf5e67a9
update cli library 2017-03-27 23:13:26 -07:00
Matthew Hooker 48441a3913
update github.com/mitchellh/multistep 2017-03-16 14:20:33 -07:00
Matthew Hooker 262c8dc24a
WIP fix #4670 2017-03-16 14:18:41 -07:00
zhuzhih2017 b7c1765deb Merge branch 'master' of github.com:zhuzhih2017/packer 2017-03-12 11:42:30 +08:00
zhuzhih2017 0400ebae95 Fix the code according PR review 2017-03-12 10:22:25 +08:00
zhuzhih2017 b420c0fe0c Fix the code according PR review 2017-03-04 18:33:42 +08:00
zhuzhih2017 3f7de941f1 Add dependences 2017-03-03 17:19:16 +08:00
zhuzhih2017 86515cd537 Add the depdences in the vendor.json 2017-03-03 17:14:31 +08:00
Matthew Hooker aaba5286a6 Revert "Use SSH agent when enabled for bastion step" 2017-02-27 11:30:08 -08:00
Matthew Hooker 23aee04b29
fix vendor 2017-02-26 18:02:58 -08:00
David Campbell 6c7e3b70a9
- use xanzy/ssh-agent for windows compatibility 2017-02-26 18:01:45 -08:00
Matthew Hooker 2e6fb010f4
update crypto/ssh lib
Follows the lead of
https://github.com/hashicorp/terraform/pull/11853 which is meant to fix
odd problems with large file uploads.
2017-02-10 12:28:24 -08:00
Matthew Hooker 1c570b4b46
Update winrm dep. support proxyfromenv 2017-01-26 11:13:08 -08:00
Eike Verdenhalven 525d7c946e update vendor packages for winrm from upstream 2017-01-18 22:03:02 +01:00
Jasper Siepkes 7606dd541b * Contains the SSH fix by @watters of #3840.
* Fixed minor lint error.
* Added documentation for this builder in `triton.html.md`.
* Added (and updated) the needed Joyent Triton Cloud API Go libraries
  to `vendor.json`.
2016-12-27 17:05:27 +01:00
James Nugent 396147b1ee builder/triton: Vendor dependencies 2016-12-24 10:25:31 +01:00
Matthew Hooker 00e4585ce5
first pass at adding new members 2016-12-13 16:32:30 -08:00
Matthew Hooker 9d7df95cdf
correctly vendor gophercloud dep 2016-12-13 15:23:30 -08:00
Matthew Hooker 98051a5207
add openstack imageservice 2016-12-13 15:00:09 -08:00
Zanetti, David 01e3e7f7a3
Second part of resync of gophercloud 2016-12-13 14:06:01 -08:00
Zanetti, David b43882748d
Resync gophercloud OpenStack SDK with new repo
- github.com/rackspace/gophercloud is now feature frozen and is replaced by the repo at github.com/gophercloud/gophercloud
- Remove old vendored files for rackspace version of gophercloud
- Add new vendored version of gophercloud from new repo
- Fix various API changes in gophercloud
- Remove support for RackSpace API keys (not supported in new gophercloud repo)
2016-12-13 14:04:19 -08:00
Matthew Hooker 64fbe12976
govendor sync 2016-12-12 18:42:34 -08:00
Taliesin Sisson d56d683bd1 Add vendoring for unicode:
govendor fetch golang.org/x/text/encoding/unicode
2016-12-12 22:45:07 +00:00
Matthew Hooker c510988cbf Merge pull request #4209 from bhcleek/ansible-winrm
provisioner/ansible: assume scp target is file (resolves winrm incompatibility)
2016-12-08 22:37:41 -08:00
Matthew Hooker d3ddd99721 Merge pull request #4163 from StackPointCloud/packer-builder-oneandone
Packer Builder 1&1
2016-12-08 14:07:35 -08:00
Dave Buckley 0c94e37c42 pull down fix to authv3 from upstream gophercloud 2016-12-07 01:36:41 +00:00
Billie Cleek f5ca0de225 provisioner/ansible: assume scp target is file
Assume the scp target is a file instead of a directory. Assuming the scp
target is a file instead of a directory allows uploading files to a node
being provisioned with the ssh communciator using sftp and with the
winrm communicator. It is fully compatible with ansible; ansible
communicators only allow for files (never directories) to be uploaded
(when the copy module is used to upload a directory, ansible walks the
directory and uploads files one at a time).

Update documentation to explain how to provision a Windows image.

Extend tests that use ssh to communicate with the node to include single
files, recursive copies, and content-only recursive copies.

Add test to verify support for the winrm communicator.

Remove the err argument from adapter.scpExec, because it was unused.

Fixes #3911
2016-11-26 14:40:39 -08:00
jasminSPC 484960c9d1 Fixes #4169 2016-11-16 00:17:30 +01:00
Matthew Hooker c122a178a9 Merge pull request #4089 from mitchellh/replace3076
command/push: Fix variable pushes to Atlas
2016-11-15 12:24:51 -08:00
Matthew Hooker dfb9fa52f7
govendor fetch atlas-go/archive 2016-11-15 11:38:37 -08:00
jasminSPC 4bcba37f38 Packer Builder 1&1 2016-11-13 23:34:36 +01:00
Matthew Hooker c0a4e6ed7c
update go-fs
resolves #2421
2016-11-08 11:13:52 -08:00
Justin Campbell fdaa89681a
Update go-atlas.
Use the atlas.BuildVars type.

The -var/-var-file precedence issue is a bug documented in #2682. Not
introduced in this patch
2016-11-07 12:52:32 -08:00
Matthew Hooker 01be917450 Merge pull request #3660 from StackPointCloud/packer-builder-profitbricks
Packer Builder ProfitBricks
2016-10-31 15:45:24 -07:00
Matthew Hooker 93f0436766 Merge pull request #3909 from svanharmelen/f-cloudstack-builder
Add a CloudStack builder
2016-10-31 13:34:20 -07:00
Chris Bednarski 4348f5f54d Update atlas-go to get ATLAS_TLS_NOVERIFY option for packer push command 2016-10-12 15:04:35 -07:00
jasminSPC dca286bf38 Merge remote-tracking branch 'upstream/master' into packer-builder-profitbricks 2016-10-10 23:53:52 +02:00
Rickard von Essen 722b0d7338
Updated dep: go-fs (2) 2016-10-08 22:09:53 +02:00
Rickard von Essen f3265e92e0
Updated dep: go-fs 2016-10-08 17:07:26 +02:00
Sander van Harmelen ba00afd4f1 govendor: add go-cloudstack depedency 2016-10-07 21:42:17 +02:00
Matthew Hooker 5ab19ea469 bump ssh library, check for ssh.ExitMissingError
should resolve #3920
2016-10-05 18:16:08 -07:00
Matthew Hooker fb8ced982a removes vendor make target
documents how to correctly add deps

removes unused dependencies

installs govendor as part of deps make target
2016-10-05 15:50:17 -07:00
Matthew Hooker 9ff9539d72 Ignores appengine
The appengine imports cause govendor to fail since it's imported as
"appengine". We get failures like:

    Error: Package "appengine" not a go package or not in GOPATH.

If we ignore it, the issue goes away and we can still comple
2016-10-05 15:50:06 -07:00
Matthew Hooker d08f1b503f Applies govenor migrate godep
Updates contributing and make file

Removes empty vendor package

Removes go 1.4 logic
2016-10-05 15:49:22 -07:00
Rickard von Essen f4eb612594 Propery vendor github.com/approvals/go-approval-tests 2016-10-03 13:48:29 -07:00
Rickard von Essen 8431fd5f41 Drop unused vendored deps 2016-10-03 13:48:29 -07:00
Rickard von Essen 6376d2744f builder/googlecompute: Properly vendor test dependencies
Properly vendor github.com/stretchr/testify/assert
2016-10-03 13:48:29 -07:00
Rickard von Essen 51a9a51699 Update winrm and winrmcp dependencies
Updated winrm and winrmcp dependencies. Relevant unit and acceptance tests passed successfully.

shell.Execute didn't return a Command object.

See f1bcf36a69/winrmcp/cp.go (L167) and 54ea5d0147/winrm/shell.go (L10-L22) respectively.

Closes #3763

Original patch by: Philipp Kosel <philipp.kosel@gmail.com>
2016-10-03 13:48:29 -07:00
jasminSPC 325401eaf0 Merge remote-tracking branch 'upstream/master' into packer-builder-profitbricks 2016-09-13 12:06:45 +02:00
Rickard von Essen c3861d1675 Merge pull request #3856 from rickard-von-essen/ecr-support
Improved support for Amazon EC2 Container Registry - ECR
2016-09-12 13:43:41 +02:00
Rickard von Essen 667b97062e
Fixed github.com/stretchr/testify deps 2016-09-12 12:53:01 +02:00
Scott Crunkleton 913a9db23f Added github.com/stretchr/testify to vendor. 2016-09-09 18:31:21 -07:00
Rickard von Essen e68f2782f8
Updated aws-sdk-go from v1.1.2 to v1.4.6
Updated github.com/aws/aws-sdk-go/aws from v1.1.2 to v1.4.6 to support
Amazon EC2 Container Registry - ECR.
2016-09-04 14:45:01 +02:00
jasminSPC 1ef326ad68 Added missing dependencies 2016-08-01 14:02:25 +02:00
jasminSPC e26e533e9b Fixed godep 2016-08-01 13:15:21 +02:00
jasminSPC a61716d4a4 Merge remote-tracking branch 'upstream/master' into packer-builder-profitbricks
# Conflicts:
#	Godeps/Godeps.json
2016-08-01 13:09:07 +02:00
jasminSPC 92e0f2bf4c Merge remote-tracking branch 'upstream/master' into packer-builder-profitbricks
# Conflicts:
#	Godeps/Godeps.json
2016-08-01 12:09:03 +02:00
Chris Bednarski f9cea9edd1 Merge pull request #3651 from mitchellh/f-manifest-post-processor
Manifest post processor
2016-07-21 15:55:47 -07:00
Christopher Boumenot 323dc70ed6 Merge remote-tracking branch 'origin/master' into pr-3680-update-azure-sdk 2016-07-20 12:08:28 -07:00
Christopher Boumenot 7d259ab098 Update Azure dependencies.
* azure-sdk-for-go to 3.1.0-beta
 * go-autorest to 7.0.7
 * dgrijalva/jwt-go to 3.0.0

Add the German cloud configuration.
Ensure the different cloud URLs are _actually_ used.
2016-07-20 10:47:46 -07:00
Christopher Boumenot 31b5cee287 Add Approvals dependency 2016-07-15 21:21:23 -07:00
jasminSPC fdffa25028 godep fix 2016-07-08 19:40:36 +02:00
jasminSPC df0298c9ae Packer Builder ProfitBricks 2016-06-29 04:35:41 +02:00
Chris Bednarski 104cdcf266 Added go-uuid 2016-06-10 15:58:17 -07:00
Paul Meyer 1fa8255bdb Update to go-autorest v7.0.6. 2016-06-10 14:23:42 -07:00
Christopher Boumenot dca2b515a3 Update to go-autorest v7.0.5. (#3554) 2016-05-18 17:18:46 -07:00
Peter Schultz f469434f74 Update google.golang.org/api/compute/v1 2016-05-13 15:24:02 -07:00
Vasiliy Tolstov 6a5f6938ef post-processor/compress: add bgzf format support
* add bgzf compressor (it allows seek inside compressed file)
* add optional format config variable to specify archive format
* Update pgzip to get sse4 and avx optimizations.

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-05-13 11:51:00 +02:00
Chris Bednarski d458f81dd8 Revert "Updated vendor pacakge for winrmcp"
This reverts commit e38c1122ab.
2016-05-06 23:02:09 -07:00
Chris Bednarski e38c1122ab Updated vendor pacakge for winrmcp 2016-05-06 22:57:29 -07:00
Christopher Boumenot 0abf0bbab0 Update Azure dependencies.
Add go-ntlmssp.

blah
2016-05-05 13:40:17 -07:00
Paul Hinze adcae08cd5 Update atlas-go to latest version that uses go-rootcerts (#3494)
Fixes issues on OS X w/ verifying against an Atlas using a custom certificate.
2016-05-03 16:41:59 -07:00
Chris Bednarski 209603ec88 Vendor Azure dependencies 2016-03-14 20:08:41 -07:00
Chris Bednarski ab36418729 Udpated winrmcp dep 2016-03-10 15:05:34 -08:00
Chris Bednarski 588f9f30b2 Remove unused dependencies; see godep v54 2016-02-22 16:21:39 -08:00
Chris Bednarski 8a53385cbc Revert "Remove a bunch of unused dependencies (godep v54+ required)"
This reverts commit 9ed133ea01.
2016-02-22 11:44:12 -08:00
Chris Bednarski 9ed133ea01 Remove a bunch of unused dependencies (godep v54+ required) 2016-02-22 11:40:02 -08:00
Rickard von Essen 0cffcb0c39 Updated vendor after update of gophercloud in 88a84f5 2016-02-22 09:45:21 +01:00
Jeff Mitchell bbafc0469b Update go-cleanhttp 2016-02-17 17:22:21 -05:00
Chris Bednarski 115426becb Update aws-sdk-go to 1.1.2 release 2016-02-12 16:17:46 -08:00
Chris Bednarski 53176f8cdb Added amazon s3 service to vendor, to support the amazon-import feature 2016-02-12 10:41:26 -08:00
Chris Bednarski dbdb988634 Vendor all dependencies 2016-02-04 17:33:36 -08:00