6003 Commits

Author SHA1 Message Date
Chris Bednarski
35506b89a2 Added checksum post-processor to changelog 2016-05-18 17:51:57 -07:00
Vasiliy Tolstov
d64603e137 initial import of checksum post-processor (#3492)
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-05-18 17:31:16 -07:00
Christopher Boumenot
c1e7caf53c Validate capture variables to obey Azure's rules. (#3537) 2016-05-18 17:25:57 -07:00
Gonzalo Peci
9c9f8cd451 Add winrm functionality to null provisioner (#2525)
* Add new functions to communicator helper to return the user, password, host, based on the communicator used.

This implementation can help then generalize the provisioeners later on.

* Update null builder checks to utilize the new functions and check for ANY hostname or user or password

* Update builder to user any hostname
2016-05-18 17:22:53 -07:00
Christopher Boumenot
dca2b515a3 Update to go-autorest v7.0.5. (#3554) 2016-05-18 17:18:46 -07:00
Vasiliy Tolstov
b67ee530c8 post-processor/shell-local: don't set executable bit for artifact files (#3505)
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-05-18 16:15:26 -07:00
Avi Deitcher
e9a9219725 Clarify how shell-local post-processor gets called and when, with an example (#3511) 2016-05-18 16:07:21 -07:00
Hidekazu Tanaka
3728e076fe Fix SSH Agent Forwarding exmaple 2016-05-18 16:04:56 -07:00
David J. Felix
b7bff9d251 Fix misdocumentation of "variables" attribute (#3433)
- Variables is not a JSON array or "[]" it is a JSON object "{}" or map.
2016-05-18 16:00:49 -07:00
Vasiliy Tolstov
0f638f9111 builder/qemu: add simple kvm/tcg autodetection
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-05-18 15:38:38 +03:00
Sean Chittenden
ef42021f8f Fix unit tests, broken in #3549. (#3548) 2016-05-17 15:42:15 -07:00
Chris Bednarski
5a5d59c2bd Merge pull request #3547 from sean-/f-debug-boot-commands
Debug boot commands for QEMU and Parallels
2016-05-17 14:32:09 -07:00
Christopher Boumenot
83e6044595 Documentation for the Azure builder. (#3518) 2016-05-17 14:15:24 -07:00
Sean Chittenden
98bae9c98e
Pause between boot_commands when debugging a QEMU build
When debugging a build (or maintaining an existing packer template), teach `packer build -debug` how to step through individual `boot_command`s in order to triage the packer template.
2016-05-17 17:14:50 -04:00
Sean Chittenden
d0fd698fb5
Pause between boot_commands when debugging a Parallels build
When debugging a build (or maintaining an existing packer file), teach `packer build -debug` how to step through individual `boot_command`s in order to triage the packer template.
2016-05-17 17:10:10 -04:00
Christopher Boumenot
5484b9c7d0 Do not use a communicator for unit tests. (#3539) 2016-05-17 13:53:01 -07:00
Sean Chittenden
d430b7b763 Go's -X linker flag now requires only one argument (#3540)
This fixes building `packer` with Go >1.6.  From https://golang.org/cmd/link/:

```
-X importpath.name=value
	Set the value of the string variable in importpath named name to value.
	Note that before Go 1.5 this option took two separate arguments.
	Now it takes one argument split on the first = sign.
```
2016-05-17 13:24:04 -07:00
Chris Bednarski
c34324b78c Added boot_command pause to changelog 2016-05-17 13:06:03 -07:00
Chris Bednarski
a4f855803c Merge pull request #3542 from sean-/f-debug-boot-commands
Pause between boot_commands when debugging a VMware/VirtualBox build
2016-05-17 13:04:27 -07:00
Sean Chittenden
3ca4782b56
Pause between boot_commands when debugging a Virtualbox build
When debugging a build (or maintaining an existing packer file), teach `packer build -debug` how to step through individual `boot_command`s in order to triage the packer file.
2016-05-17 04:03:45 -04:00
Sean Chittenden
9b3f8a4be9
Pause between boot_commands when debugging a VMware build
When debugging a build (or maintaining an existing packer file), teach `packer build -debug` how to step through individual `boot_command`s in order to triage the packer file.

```
==> vmware-iso: Typing the boot command over VNC...
==> vmware-iso: Pausing after run of step 'boot_command[0]: <enter><wait>'. Press enter to continue.
==> vmware-iso: Pausing after run of step 'boot_command[1]: <enter><wait>'. Press enter to continue.
==> vmware-iso: Pausing after run of step 'boot_command[2]: freebsd-vagrant<enter><wait>'. Press enter to continue.
==> vmware-iso: Pausing after run of step 'boot_command[3]: <down><spacebar>'. Press enter to continue. ^C
```
2016-05-17 03:50:00 -04:00
Chris Bednarski
71ccbd4421 Added google image_family to changelog 2016-05-13 19:30:55 -07:00
Chris Bednarski
a5b763418f Merge pull request #3531 from mitchellh/f-gce-image-family
Add support for Google image family
2016-05-13 15:40:03 -07:00
Chris Bednarski
2f0e1218dc Move regexp to package scope so it will be validated by the compiler instead of at runtime 2016-05-13 15:37:25 -07:00
Peter Schultz
f469434f74 Update google.golang.org/api/compute/v1 2016-05-13 15:24:02 -07:00
Peter Schultz
a99a417db9 builder/googlecompute: validate image_family 2016-05-13 15:24:02 -07:00
Peter Schultz
8546aafec5 builder/googlecompute: support image family 2016-05-13 15:24:02 -07:00
Chris Bednarski
229d1b79d2 Update version to dev mode 2016-05-13 14:30:00 -07:00
Rickard von Essen
5f3d26b12f Updated CHANGELOG 2016-05-13 11:52:06 +02: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
Petr Kletečka
d6764ff37a Find markdown files with short suffix (#3525) 2016-05-11 02:30:57 -07:00
Chris Bednarski
e6ae4d9370 Add note about only update what we need to update 2016-05-09 17:19:11 -07:00
Chris Bednarski
239933b3ff Change contributor guidelines for vendor folder; also rephrase some areas on ACC tests 2016-05-09 17:17:16 -07:00
Chris Bednarski
b41b408800 Update atlas.html.md (#3520) 2016-05-09 16:53:27 -07:00
Christopher Boumenot
d40e115ad7 Only cleanup if necessary. (#3517)
Do not delete the resource group as part of cleanup unless it exists.
2016-05-09 14:19:55 -07:00
Chris Bednarski
39e863ed24 Added release date and version to the changelog 2016-05-07 00:38:58 -07:00
Chris Bednarski
9a83ead688 Updated website version 2016-05-07 00:32:13 -07:00
Chris Bednarski
4a4a03ffc3
Cut version 0.10.1 2016-05-07 00:23:50 -07:00
Chris Bednarski
4e5f65131b
Cut version 0.10.1 v0.10.1 2016-05-07 00:19:36 -07:00
Chris Bednarski
2c27461892 Change version.go to 0.10.1 release 2016-05-07 00:14:37 -07:00
Chris Bednarski
aa47c90ddd Udpdated test/race timeouts to 2m because AWS seems to be taking a while 2016-05-06 23:15:05 -07:00
Christopher Boumenot
a91156b134 Dump Azure configuration values.
Dump the top level variables in the config object. Any values with
'secret' or 'password' in the name are masked.
2016-05-06 23:14:18 -07:00
Chris Bednarski
d2921a11ab Remove winrmcp update from changelog 2016-05-06 23:02:44 -07:00
Chris Bednarski
32b94a2398 Revert "Update winrmcp revision to include Windows path fix (#3488)"
This reverts commit dcf9f661ee21f0982e41d338310d0d6e0a6afc5c.
2016-05-06 23:02:15 -07:00
Chris Bednarski
d458f81dd8 Revert "Updated vendor pacakge for winrmcp"
This reverts commit e38c1122ab98d8cf4217a97a2a0d537bdfc6a81f.
2016-05-06 23:02:09 -07:00
Chris Bednarski
e38c1122ab Updated vendor pacakge for winrmcp 2016-05-06 22:57:29 -07:00
Chris Bednarski
da4491f65e Added Azure and other improvements to the changelog 2016-05-06 21:59:12 -07:00
Chris Bednarski
b30689b7b5 Updated documentation for Azure builder 2016-05-06 21:56:27 -07:00
Scott Pynn
dcf9f661ee Update winrmcp revision to include Windows path fix (#3488)
On Windows, packer's 'file' provisioner fails to copy files/directories that include both a volume identifier (e.g. C:) and spaces in the path.

The root cause of this was found to be embedded single quotes in the 'destination' value, added by the github.com/packer-community/winrmcp/winrmcp project.

This updated winrmcp revision includes the fix to resolve this issue.
2016-05-06 21:19:18 -07:00
Chris Bednarski
e3b9ec62ac Merge pull request #3507 from mitchellh/f-azure-windows
Add Support for Building Windows Images in Azure
2016-05-06 20:34:31 -07:00