Commit Graph

127 Commits

Author SHA1 Message Date
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
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