Adrien Delorme
e02d0dacc4
Merge branch 'master' into aws-filters
2018-09-07 16:14:00 +02: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
Megan Marsh
cb35829f80
Merge pull request #6411 from jmartin-r7/esxi_compact
...
add support for disk compaction to esx5 builder
2018-09-04 12:44:32 -07:00
Christopher Boumenot
2e294da82a
Merge pull request #6644 from riezebosch/master
...
[azure-arm] retry cleanup individual resources on error
2018-09-04 11:40:27 -07:00
Megan Marsh
349f9ae62b
Merge pull request #6641 from hashicorp/increase_retries
...
Increase retries
2018-09-04 11:39:28 -07:00
Adrien Delorme
819bda50d5
Merge pull request #6648 from hashicorp/fix_6642
...
Update public google cloud image projects
2018-09-03 09:29:31 +02:00
Adrien Delorme
2a2734505b
Merge pull request #6649 from hashicorp/fix_6569
...
Fix 6569
2018-09-03 08:44:07 +02:00
Adrien Delorme
261347a175
Merge pull request #6653 from butuzov/fix_6652
...
Misaligned help entries
2018-09-03 08:40:26 +02:00
RenaudS
26aab49aaf
aws spot instances: add block_duration_minutes option ( #6638 )
...
* Add block_duration_minutes option
* int64 cannot be nil
* Update doc
* Fix formating
2018-09-03 08:33:58 +02:00
Oleg Butuzov
079b317b62
Misaligned help entries
...
Descriptions for `build` subcommand aligned.
hashicorp/packer#6652
2018-09-01 10:32:23 +03:00
Megan Marsh
4472ecccb0
fix waiters that weren't applying env defaults
2018-08-31 13:30:41 -07:00