Commit Graph
18838 Commits
Author SHA1 Message Date
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
Hao Luo 2c24c36589 Update azure.html.md
Getting the count right.
2019-05-06 17:02:13 -05: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/[email protected] 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
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