Commit Graph

12422 Commits

Author SHA1 Message Date
Megan Marsh 01a27e4f37 update changelog 2019-05-07 11:58:18 -07:00
Hao Luo 98ea8b272f removed the other count 2019-05-07 12:44:49 -05:00
Megan Marsh e4326d1045
Update website/source/docs/builders/azure.html.md
Co-Authored-By: howlowck <howlowck@gmail.com>
2019-05-07 12:40:19 -05:00
Megan Marsh 5e23083df1
Merge pull request #7605 from hashicorp/verbose-packer-binary-copy
scripts/build.sh: don't discard stderr when copying packer
2019-05-07 10:23:20 -07:00
Megan Marsh c290414f63
Merge pull request #7610 from hashicorp/doc_ovf_local_only
virtualbox-ovf.html.md.erb: update doc to current usage
2019-05-07 10:22:30 -07:00
Megan Marsh c28ab292a4
Merge pull request #7618 from hashicorp/build_on_solaris
allow building packer on solaris by removing progress bar and tty imports on solaris
2019-05-07 10:10:02 -07:00
Megan Marsh 7e91a3c8ea
Merge pull request #7501 from wandel/limit-parallel
limit number of builds running in parallel & test BuildCommand more
2019-05-07 10:09:07 -07:00
Adrien Delorme 5f076d4328 allow building packer on solaris by removing progress bar and tty imports
fix #7586
2019-05-07 15:58:49 +02:00
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
Adrien Delorme cb2d89af6f simplify path parsing by making at string instead of an array + add tests 2019-05-07 11:51:21 +02:00
Adrien Delorme a4b8570991 refactor arg parsing into it's own cfg maker & test it 2019-05-07 11:43:18 +02:00
Adrien Delorme 7e8c42d243 BuildCommand: put config in a local struct 2019-05-07 11:15:35 +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
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/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
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