Commit Graph

12178 Commits

Author SHA1 Message Date
Adrien Delorme a6bb06c04e
Merge pull request #7615 from hashicorp/fix_7607
fix copypasta mistake switching ssh port mix/max for vnc port min/max
2019-05-07 12:17:45 +02:00
Adrien Delorme 3a3dacbfc5
Merge pull request #7617 from radeksimko/b-fix-qemu-version
builder/qemu: Fix typo in version comparison
2019-05-07 12:15:57 +02:00
Radek Simko b4d35eceff
builder/qemu: Fix typo in version comparison 2019-05-07 08:37:57 +01:00
Megan Marsh ad37e45006
Merge pull request #7614 from radeksimko/f-qemu-go-version
builder/qemu: Replace dot-based parsing with hashicorp/go-version
2019-05-06 16:47:19 -07:00
Megan Marsh eb80917024
Merge pull request #7613 from radeksimko/cleanup-net-cache
common/net: Cleanup cache of used port after closing
2019-05-06 16:44:35 -07:00
Megan Marsh bf59f01ba2 fix copypasta mistake switching ssh port mix/max for vnc port min/max 2019-05-06 15:01:09 -07:00
Radek Simko c7cf39808d
builder/qemu: Replace dot-based parsing with hashicorp/go-version 2019-05-06 22:28:27 +01:00
Radek Simko 3e65b5dbcb
vendor: github.com/hashicorp/go-version@v1.2.0 2019-05-06 22:28:27 +01:00
Radek Simko 8519da6ce9
common/net: Cleanup cache of used port after closing 2019-05-06 22:11:52 +01:00
Megan Marsh 69009472b4
Merge pull request #7598 from hashicorp/fix_7595
Fix EBSsurrogate copy, encryption, and deletion of temporary unencrypted amis.
2019-05-06 11:10:06 -07:00
Megan Marsh 2c352cc681 add tests for step_ami_region_copy 2019-05-03 14:47:09 -07:00
Megan Marsh ae3cf48f71 in ebs, don't clean up temporary amis from encryption step. that's handled in step_copy_ami now 2019-05-02 14:38:56 -07:00
Megan Marsh 8c1d0f9686 clean up temporary unencrypted AMI and associated snapshots 2019-05-02 14:20:26 -07:00
Megan Marsh c0e69a9da0 if encrypt_boot is explicitly set to false, don't copy. Also, make sure we don't cause a wait group block when we aren't performing a copy. 2019-05-02 13:28:43 -07:00
Megan Marsh d343852c15
Merge pull request #7591 from hashicorp/doc_docker
docker builder: document entrypoint option
2019-05-01 14:24:35 -07:00
Megan Marsh d58729e73c
Merge pull request #7594 from hashicorp/ansible_wrapper_docs
add some docs for how to do complex custom commands
2019-05-01 13:23:00 -07:00
Megan Marsh c1d69b1f20
Merge pull request #7553 from hashicorp/fix_7404
[WIP] add 30 minute timeout for destroying a VM
2019-05-01 12:13:00 -07:00
Megan Marsh 16f0a80054 Update website/source/docs/builders/docker.html.md 2019-05-01 12:07:47 -07:00
Adrien Delorme d08f3e0bdb document entrypoint option 2019-05-01 12:07:47 -07:00
Megan Marsh c317679f52 add some docs for how to do complex custom commands 2019-05-01 11:00:07 -07:00
Megan Marsh afe760e635
Merge pull request #7593 from hashicorp/fast_crossbuild
circle-ci: build each GOOS in a separate run using vendors
2019-05-01 10:09:14 -07:00
Megan Marsh 113e436e4d
Merge pull request #7589 from hashicorp/no_fslock_solaris
fix flock build errors on solaris by shadowing the pkg
2019-05-01 09:05:23 -07:00
Adrien Delorme 86b7e05ebe circle-ci: build each support GOOS in a separate run using vendors to make this faster
make bin can take more than 10min
2019-05-01 13:54:24 +02:00
Adrien Delorme b329073e54 remove trying port log as retry code will show errors
less logs !
2019-05-01 13:04:51 +02:00
Adrien Delorme 38f789eedc add error types to test for 2019-05-01 13:01:25 +02:00
Adrien Delorme 14f2d1c132 ListenRangeConfig:Listen: use the retry pkg to wait a bit in between opens 2019-05-01 12:27:32 +02:00
Adrien Delorme e14d1b8b0b add a timeout trying to open a random port 2019-05-01 12:01:34 +02:00
Adrien Delorme 2fd7adffc4 add tests for ListenRangeConfig.Listen 2019-05-01 11:46:48 +02:00
Adrien Delorme b7be4f9c74
Merge pull request #7564 from zaenk/proxmox-builder-static-ssh-host
ProxMox builder: Use ssh_host config as host for the communicator
2019-05-01 11:04:04 +02:00
Peter Pribula 14f96e8951 Fixes a typo in a comment 2019-05-01 08:39:48 +02:00
Peter Pribula 778dda9fe0 Takes static WinRM config into consideration 2019-04-30 22:26:40 +02:00
Peter Pribula 02b6e7f3de Changes `qemu_agent` config frm string to bool
Defaults to true
2019-04-30 20:23:34 +02:00
Adrien Delorme d9e5145de9 Shadow the flock pkg & add a noop filelock so that at least the solaris binary can be built
Without this the following error occurs:

$ GOOS=solaris go build .
# github.com/hashicorp/packer/vendor/github.com/gofrs/flock
vendor/github.com/gofrs/flock/flock_unix.go:28:22: undefined: syscall.LOCK_EX
vendor/github.com/gofrs/flock/flock_unix.go:39:22: undefined: syscall.LOCK_SH
vendor/github.com/gofrs/flock/flock_unix.go:56:12: undefined: syscall.Flock
vendor/github.com/gofrs/flock/flock_unix.go:66:12: undefined: syscall.Flock
vendor/github.com/gofrs/flock/flock_unix.go:96:12: undefined: syscall.Flock
vendor/github.com/gofrs/flock/flock_unix.go:96:42: undefined: syscall.LOCK_UN
vendor/github.com/gofrs/flock/flock_unix.go:118:21: undefined: syscall.LOCK_EX
vendor/github.com/gofrs/flock/flock_unix.go:130:21: undefined: syscall.LOCK_SH
vendor/github.com/gofrs/flock/flock_unix.go:149:9: undefined: syscall.Flock
vendor/github.com/gofrs/flock/flock_unix.go:149:44: undefined: syscall.LOCK_NB
vendor/github.com/gofrs/flock/flock_unix.go:149:44: too many errors
2019-04-30 16:01:23 +02:00
Adrien Delorme 5d9d43c01d add tests for ListenRangeConfig.Listen 2019-04-30 15:42:59 +02:00
Adrien Delorme fd63ec9a6c ListenRangeConfig.Listen: move trying port log after fslock trylock for less logs 2019-04-30 15:35:22 +02:00
Adrien Delorme 79ae62801f ListenRangeConfig: default network ( protocol ) to tcp 2019-04-30 14:55:38 +02:00
Adrien Delorme a2b0babd23
Merge pull request #7587 from hashicorp/circle_make_bin
circle-ci: run `make bin` to make sure all binaries build
2019-04-30 12:23:20 +02:00
Adrien Delorme ae46fcec01 circle-ci: run `make bin` to make sure all of our binaries can build 2019-04-30 12:06:34 +02: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
Adrien Delorme 051f39e21d
Merge pull request #7583 from hashicorp/update_custom_plugin_docs
update docs defining Builders and PostProcessors
2019-04-30 11:58:53 +02:00
Megan Marsh e7c4cc622e
Update website/source/docs/extending/custom-post-processors.html.md
Co-Authored-By: azr <azr@users.noreply.github.com>
2019-04-30 11:56:56 +02:00
Megan Marsh 27cf53003f
Update website/source/docs/extending/custom-post-processors.html.md
Co-Authored-By: azr <azr@users.noreply.github.com>
2019-04-30 11:56:39 +02:00
Megan Marsh dd7030453f
Merge pull request #7575 from hashicorp/fix_7534
Step download: always copy local files
2019-04-29 12:35:55 -07: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 2e0f9223c8 remove all the extra debug lines 2019-04-29 10:33:41 -07:00
Adrien Delorme 1be337b383 update docs for definig Builders and PostProcessors 2019-04-29 13:16:46 +02:00
Adrien Delorme ee4f16d3a4
Merge pull request #7582 from h4ckninja/patch-1
Move the communicator pause_before_connecting
2019-04-29 10:25:44 +02:00
Adrien Delorme 65be2be38b step_download: force copy of local files only on windows 2019-04-29 09:39:21 +02:00
h4ckNinja a537888fb0
Move the communicator pause_before_connecting
block to a code block and fix the JSON
2019-04-28 23:20:13 -07:00
chhaj5236 4639f92f63
Merge pull request #7574 from lrxcy/add_support_encryption
support encryption with default service key
2019-04-27 10:35:13 +08:00