Commit Graph

10622 Commits

Author SHA1 Message Date
Megan Marsh 351cdc8508
Merge pull request #5366 from dpolitis/fix_ovftool
Fix recurring bug #3878, make destination ESXi host selectable in con…
2018-09-10 12:12:40 -07:00
Megan Marsh 2aaad99f38
Merge pull request #6679 from glasnt/docs/retry-template
Add note about reloading templates
2018-09-10 12:02:32 -07:00
Megan Marsh 3d615d8c4d
typo 2018-09-10 12:02:13 -07:00
Megan Marsh eb847d5bad Merge branch 'master' of https://github.com/Hashicorp/packer 2018-09-10 12:00:21 -07:00
Megan Marsh 928ab4d07a update changelog 2018-09-10 12:00:17 -07:00
Megan Marsh 551c19e1b7
Merge pull request #6673 from hashicorp/refreshing_progressbar
refreshing progressbar
2018-09-10 11:54:27 -07:00
dpolitis d1f5312253 fix recurring bug #3878, make destination ESXi host selectable in config, more informative error output 2018-09-10 08:40:03 +03:00
Katie McLaughlin bb46fcb117 Add note about reloading templates 2018-09-10 10:43:53 +10:00
Matthew Hooker 13a44c4d91
Merge pull request #6674 from hashicorp/fix6660
fix docker email fixer
2018-09-07 10:51:31 -07:00
Megan Marsh c1370064f3 update changelog 2018-09-07 09:41:05 -07:00
Adrien Delorme 89e43e7747
Merge pull request #6669 from sargun/root_volume_type
Enable setting the volume type
2018-09-07 14:48:31 +02:00
Sargun Dhillon 3ef15260a9 Add documentation for root_volume_type 2018-09-06 13:23:28 -07:00
Sargun Dhillon 63d784023f Add support to support non-gp2 volume types for building from_scratch 2018-09-06 13:22:09 -07:00
Sargun Dhillon 07ce820c70 Enable setting the volume type when building with the Amazon Chroot builder 2018-09-06 13:22:09 -07:00
Megan Marsh b94e6e913e
Merge pull request #6670 from sargun/fix-ena-on-pv
Allow users to build hvm images from pv images to have ena_support
2018-09-06 12:50:46 -07:00
Matthew Hooker 8a7d43dd44
bug fix and add test 2018-09-06 12:19:31 -07:00
Matthew Hooker 42910a5f8c
fix docker email fixer
Fixing post-processors requires some smart parsing of the template.
Let's turn that logic into a helper and use it everywhere.
2018-09-06 12:19:31 -07:00
Megan Marsh cc5c2fb100
Merge pull request #6675 from hashicorp/revert_executable_req
Revert executable req
2018-09-06 10:31:46 -07:00
Megan Marsh 268886b7d3 exclude git files (including git hooks) from the executable check 2018-09-06 10:23:58 -07:00
Adrien Delorme 0ac7b64364 fix panic of the future using a mutex instead of some atomic calls + more docs 2018-09-06 18:12:15 +02:00
Adrien Delorme 8a851efcc8 progressbar: more godocs 2018-09-06 17:01:14 +02:00
Adrien Delorme 32cacad273 remove comment that is not true anymore 2018-09-06 16:50:47 +02:00
Adrien Delorme bb59a70e8f progressbar: use int64 instead of uint64
* it's what's used for file sizes and used lib
2018-09-06 16:49:15 +02:00
Adrien Delorme f9c58e2b1f download: defer progress bar Finish 2018-09-06 16:38:28 +02:00
Adrien Delorme 3842f85eb4 download: remove close calls that are already defered 2018-09-06 16:30:35 +02:00
Adrien Delorme f3c923c47d add tests for progress bar rpc calls 2018-09-06 16:15:09 +02:00
Adrien Delorme 6d3e36e6ea simplify remote progress bar as we are using a single instance 2018-09-06 16:14:59 +02:00
Adrien Delorme d89e1133c3 use freshly merged random.AlphaNum instead of our own random 2018-09-06 15:55:19 +02:00
Adrien Delorme 23762a1810 fix tests for common/download_test.go 2018-09-06 15:53:59 +02:00
Adrien Delorme 42561cf777 packer/rpc/ui_test.go: test progress bar too 2018-09-06 15:53:59 +02:00
Adrien Delorme 5b66069da0 tests: remove Ui stubs to use packer.NoopUi to deduplicate code 2018-09-06 15:53:59 +02:00
Adrien Delorme 7f50228080 remove old/unused progress code 2018-09-06 15:53:59 +02:00
Adrien Delorme 059e14fe42 put back usefull debug 2018-09-06 15:53:59 +02:00
Adrien Delorme 7efe3cac3d todos 2018-09-06 15:53:59 +02:00
Adrien Delorme a11f985e3c revert unecessary check 2018-09-06 15:53:59 +02:00
Adrien Delorme a9d302def8 removed debug logs 2018-09-06 15:53:59 +02:00
Adrien Delorme 408578507f also prefix bar with number of items processing 2018-09-06 15:53:59 +02:00
Adrien Delorme 541c68aed5 add StackableProgressBar struct that will refresh/show dl status for multiple files
* simplified the downloader interface, and removed the total/current values from them
* downloaders use a proxy reader that will add all read bytes to progress
* removed unused const mtu
* DownloadClient doesn't need a downloader, so I removed it too
2018-09-06 15:53:59 +02:00
Adrien Delorme 9b07d7670e use no ops for ansible ui & MachineReadableUi 2018-09-06 15:53:59 +02:00
Adrien Delorme fd7cb47adc use proxy reader for download progress & stop storing total/current in downloaders 2018-09-06 15:53:59 +02:00
Adrien Delorme ddd96c513b first draft at self refreshing loading bar centralized/controlled by Ui 2018-09-06 15:53:59 +02:00
Megan Marsh 3940cd9c7f
Merge pull request #6657 from hashicorp/fix_6483
randomise temporary AMI name to build encrypted AMIs
2018-09-05 12:49:23 -07:00
Megan Marsh 63dfb1db91 fix default ssh bastion port in docs 2018-09-05 11:29:20 -07:00
Adrien Delorme 5a8af5500b random: optimize allocation & simplify loop 2018-09-05 10:27:02 +02:00
Adrien Delorme 4682b3a9d2 refactor possible random strings into common/random 2018-09-05 10:26:52 +02:00
Adrien Delorme b80e1d51c6 aws: when building an AMI with 'encrypt_boot: true', randomize the name of the temporary AMI 2018-09-05 10:24:28 +02:00
Adrien Delorme 170b2f3383 builder/azure/common.RandomString-> common/random.String
* to share them
* also removed unused PassworString func & arm.TempPasswordAlphabet package const
2018-09-05 10:24:28 +02:00
Sargun Dhillon 902497d6ce Allow users to build hvm images from pv images to have ena_support 2018-09-04 18:16:52 -07:00
Megan Marsh cfbba44fdd
Merge pull request #6667 from hashicorp/fix_4538
Update docs to clarify keep_registered defaults
2018-09-04 15:28:04 -07:00
Megan Marsh 34f323ce9e update keep_registered docs for vmware 2018-09-04 14:25:15 -07:00