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
Adrien Delorme
5fd683c0cf
virtualbox-ovf.html.md.erb: update doc to current usage
2019-05-06 17:08:45 +02:00
Adrien Delorme
cdbb742496
add more cancellation tests
2019-05-06 16:29:35 +02:00
Adrien Delorme
73a55631c4
fix testfile call
2019-05-06 15:47:53 +02:00
Adrien Delorme
2890687b2b
fix race condition in BuildCommand
...
a map[string]error was being written on unprotectedly
2019-05-06 15:42:23 +02:00
Adrien Delorme
af15ed3583
nil signals are probably just a cancellation in disguise
2019-05-06 15:29:59 +02:00
Adrien Delorme
583d93790f
add tests for cancellation while building
2019-05-06 15:07:57 +02:00
Adrien Delorme
dd2785ff08
BuildCommand.Run: avoid triggering a cancellation on termination
2019-05-06 12:26:22 +02:00
Adrien Delorme
0094d2878c
Build: move BuildCommand.Run into a RunContext command to allow testing for cancellation, put cancellation in `Run`
2019-05-06 12:19:59 +02:00
Adrien Delorme
e8ac0e6c75
scripts/build.sh: don't discard stderr when copying packer
...
fix #7604
2019-05-06 11:06:38 +02:00
krisko
e96bda6466
Remove config interface. Make CreateImage function to accept config as list of config fields
2019-05-05 17:17:08 +02:00
Megan Marsh
2c352cc681
add tests for step_ami_region_copy
2019-05-03 14:47:09 -07:00
Adrien Delorme
6fe6c08b4d
appveyor: remove verbose mode as output is truncated, and I can't see what's wrong
2019-05-03 16:24:18 +02:00
Adrien Delorme
a2cc2532ea
add TestBuildParallel_Timeout to test errors on parallel builds
2019-05-03 09:02:56 +02:00
Adrien Delorme
d40d3eca88
swap semaquire and wg.Add to avoid a deadlock
2019-05-03 08:19:33 +02: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
krisko
f2f6772aee
Document image_encryption_key
2019-05-02 17:58:47 +02:00
Adrien Delorme
263f318e82
be true to docs
2019-05-02 17:48:34 +02:00
krisko
f1e9664012
Googlebuilder: Add image key encryption
2019-05-02 17:37:43 +02:00
krisko
9b39e3f928
GCP builder add image encryption support
2019-05-02 17:37:36 +02:00
Adrien Delorme
1dca416f87
move the semacquire to the main build loop so that the build order is kept
...
* a goroutine could start before another !
2019-05-02 16:58:28 +02:00
Adrien Delorme
852af993e6
BuildParallel: test with 3 parallel builds
2019-05-02 16:24:28 +02:00
Adrien Delorme
9281fada2d
prevent a breaking change so that we can merge the `-parallel-builds` option first.
2019-05-02 16:24:28 +02:00
Adrien Delorme
14486003a1
fix test to be race free
2019-05-02 15:04:02 +02:00
Adrien Delorme
c1527d9b47
fix text
2019-05-02 14:41:44 +02:00
Adrien Delorme
2f577e60b6
tidy vendors
2019-05-02 11:50:26 +02:00
Adrien Delorme
ae71a81c1e
Merge remote-tracking branch 'origin/master' into pr/7501
2019-05-02 11:47:43 +02:00
Olaf Seibert
377867969b
Remove some debugging messages.
2019-05-02 10:56:09 +02:00
Olaf Seibert
43bb372f84
Fix edge case with results spread over several pages
...
When most_recent=false, and one page contains just a single potential
result, but a following page may contain more (which needs to be
reported as an error).
2019-05-02 10:47:04 +02:00
Brett Wandel
aaf56ffd26
added: testing
2019-05-02 08:38:56 +10: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