Commit Graph

6123 Commits

Author SHA1 Message Date
Matthew Hooker c3a0182f65 our next release will be 0.11 2016-09-21 13:31:55 -07:00
Matthew Hooker 6e119476e6 put change in correct place 2016-09-21 11:35:04 -07:00
Matthew Hooker c5a01e4148 Cut version 0.10.2 2016-09-21 11:30:46 -07:00
Rickard von Essen 34e608a9a4 Updated CHANGELOG.md 2016-09-20 21:39:21 +02:00
Rickard von Essen 06e3539ffa Merge pull request #3767 from taliesins/ExtendScanCodes
Add support for ctrl, shift and alt keys and using them as key modifier.
2016-09-20 21:36:46 +02:00
Taliesin Sisson ec6ea32618 Made requested documentation changes.
Line break at 80 chars.
2016-09-20 16:55:56 +01:00
Rickard von Essen 8b6df2da28 Updated CHANGELOG.md 2016-09-20 13:00:33 +02:00
Rickard von Essen 9ce70bfce0 Merge pull request #3338 from yuki-takeichi/gce-nvme 2016-09-20 12:50:43 +02:00
Yuki Takeichi 04078c5c48 Enable to select NVMe images for googlecompute builder 2016-09-20 12:47:14 +02:00
Rickard von Essen 13c9db5dd5 Merge pull request #3885 from orivej/on-error
Add -on-error command line argument to allow preserving artifacts on builder errors
2016-09-20 12:28:14 +02:00
Rickard von Essen 476d981211 Merge pull request #3800 from benwtr/issue-3142-match-dotfiles-docker-communicator
Fix file provisioner dotfile matching w/ docker builder
2016-09-20 12:25:37 +02:00
Rickard von Essen b98f8052e9 Merge pull request #3904 from arthurbarr/patch-1
Fix typo
2016-09-20 12:09:19 +02:00
Arthur Barr d2c6b0ef8a Fix typo
"i.e." instead of "i.g."
2016-09-20 09:36:15 +01:00
Rickard von Essen ad982faefe Merge pull request #3902 from mitchellh/3901-fix
QemuArggs -> QemuArgs
2016-09-19 23:39:26 +02:00
Matthew Hooker 7cbb98f2d5 QemuArggs -> QemuArgs
Avast ye, resolves #3901
2016-09-19 14:34:13 -07:00
Orivej Desh 4fe86244a5 Improve -on-error descriptions 2016-09-18 03:00:36 +00:00
Orivej Desh 639bf356aa Fail on unknown values of -on-error 2016-09-17 14:42:21 +00:00
Rickard von Essen b97e5219da Updated CHANGELOG.md 2016-09-17 10:15:16 +02:00
Rickard von Essen fd5f5dd87b Merge pull request #3895 from jeremy-asher/fix-amazon-chroot-regression
fix nil pointer dereference in amazon-chroot
2016-09-17 10:13:58 +02:00
Jeremy Asher aea05f6485 fix nil pointer dereference in amazon-chroot
The refactor of StepRegisterAmi to add the from_scratch parameter
incorrectly replaced iteration over image.BlockDeviceMappings with
iteration over the new mapping array when not using from_scratch.  This
fixes the regression and renames the parameters to newMappings and
mappings for better clarity.
2016-09-16 18:35:36 -07:00
Orivej Desh 389603cc0f Allow upper case input to -on-error=ask 2016-09-16 12:15:00 +00:00
Orivej Desh 115cb5080f Document NewRunner 2016-09-16 12:15:00 +00:00
Orivej Desh e9cc28565b Document -on-error on the "packer build" page 2016-09-16 12:15:00 +00:00
Orivej Desh 6762965696 Add -on-error command line argument to allow preserving artifacts on builder errors
Resolves #409
2016-09-16 12:15:00 +00:00
Rickard von Essen d310de8cf5 Updated CHANGELOG.md 2016-09-14 21:22:28 +02:00
Rickard von Essen c5e9944969 Merge pull request #3790 from yoctocloud/manifest
post-processor/manifest: add artifact file size to manifest
2016-09-14 21:20:29 +02:00
Rickard von Essen 01ebb9c8f2 Merge pull request #3884 from rickard-von-essen/aws-ssh-ec2classic-fix
builder/amazon: guard aginst empty/nil PrivateIpAddress and updated tests.
2016-09-14 20:34:37 +02:00
Rickard von Essen 3b47893eb8
builder/amazon: reverted wrongly modified ssh_test's. 2016-09-14 20:26:09 +02:00
Vasiliy Tolstov fe76081e0a post-processor/manifest: allow to strip path components from artifact path
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-09-14 11:32:25 +03:00
Rickard von Essen 067155c344
builder/amazon: guard aginst empty/nil PrivateIpAddress and updated tests. 2016-09-14 00:16:09 +02:00
Rickard von Essen f6f50cd1df Updated CHANGELOG.md 2016-09-13 23:08:00 +02:00
Rickard von Essen 7dafd4421e Merge pull request #3737 from clstokes/docs-googlecompute-metadata
builder/googlecompute: Clarify metadata usage.
2016-09-13 23:05:16 +02:00
Rickard von Essen 7f4bee737c Merge pull request #3752 from tarrall/issue3751-ssh-privateip-classic
builder/amazon: Honor ssh_private_ip flag in EC2-Classic, not just VPC
2016-09-13 22:54:00 +02:00
Rickard von Essen 3ab49595e6 Merge pull request #3681 from yoctocloud/communicator
builder/qemu: dont fail on communicator set to none
2016-09-13 22:45:12 +02:00
Rickard von Essen 4021ce78de Merge pull request #3882 from bhcleek/doc-ansible-command
document ansible provisioner's command option.
2016-09-13 17:25:59 +02:00
Billie H. Cleek 9cf476289f document ansible provisioner's option. 2016-09-13 08:18:21 -07:00
Christopher Boumenot 372bffef36 Merge pull request #3876 from AwaNoodle/master
Fix for #3875 - Azure documentation updates
2016-09-12 10:09:52 -07:00
Rickard von Essen 1e4bc512ce Updated CHANGELOG.md 2016-09-12 15:06:56 +02:00
Rickard von Essen 120b60ae37 Merge pull request #3865 from dpiddy/amazon-ssh-retry-fix
amazon/common/ssh: fix saving of instance to state
2016-09-12 15:04:35 +02:00
Rickard von Essen 2a4780967f Updated CHANGELOG.md 2016-09-12 14:23:54 +02:00
Rickard von Essen 3a709fcdc0 Merge pull request #3861 from bhcleek/ansible-scp
add scp support to ansible provisioner
2016-09-12 14:10:37 +02:00
Rickard von Essen 10cba9795f Merge pull request #3476 from bhcleek/ansible-with-docker
fix docker builder with ansible provisioner
2016-09-12 13:56:28 +02:00
Rickard von Essen ed1b664d65 Merge pull request #3855 from jeremy-asher/chroot-from-scratch
amazon-chroot build AMI from scratch
2016-09-12 13:48:04 +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 1ca79ad0cb Merge pull request #3873 from crunk1/master
With testify deps fix.
2016-09-12 12:54:25 +02:00
Rickard von Essen 667b97062e
Fixed github.com/stretchr/testify deps 2016-09-12 12:53:01 +02:00
Billie H. Cleek f760ab2fd8 Make SCP the default for provisioner/ansible
Add a new option, `use_sftp` to the ansible provisioner. It's default
value is false; ansible provisioner will use SCP by default.

Refactor to consistently set all configure options for ansible
provisioner in the Prepare step.

Remove incorrect information about `ANSIBLE_HOST_KEY_CHECKING=False`
being set when `ansible_env_vars` is not set in the packer template.

Update BATS tests for the ansible provisioner to actually check that the
fetched directory contains the contents expected. This revealed a
problem with the all_options template that required adding a host to the
hosts list in the test playbook.
2016-09-11 23:58:31 -07:00
Billie H. Cleek e6a0e523e2 refactor sftp subsystem request handling
Refactor the sftp subsystem request handling to make it more similar to
an exec request. This simplifies and improves the readability of the
code.
2016-09-11 23:58:31 -07:00
Billie H. Cleek da223b9539 add scp support to ansible provisioner
Handle running `scp -t` and `scp -f` exec requests in the
ansible-provisioner's SSH
server to allow Ansible to use SCP so that SFTP doesn't have to be
installed on the node.

Update the BATS tests to test the ansible provisioner.
2016-09-11 23:58:31 -07:00
Rickard von Essen b82e6df775 Merge pull request #3765 from bhcleek/provisioner-ansible-tests
add blackbox tests for ansible provisioner
2016-09-12 08:44:12 +02:00