Commit Graph

12663 Commits

Author SHA1 Message Date
Megan Marsh 352438c090 vendoring 2019-06-14 11:14:12 -07:00
Megan Marsh 0a2f4d884a make bin currently won't work outside of GOPATH 2019-06-14 11:12:58 -07:00
Megan Marsh 8d25cc578f
Merge pull request #7746 from hashicorp/fix_7671
Abort hyperv build if there's a name collision
2019-06-14 10:58:22 -07:00
bzhaoopenstack f7793649ec
Fix failed to copy binary when using make bin
If we use make bin, XC_OS and XC_ARCH will be None, the binary will failed to be copied.
2019-06-15 00:34:33 +08:00
Adrien Delorme 5971368f4e
Merge pull request #7750 from wrolisonaflac/patch-1
Update ncloud.html.md
2019-06-14 15:09:45 +02:00
Adrien Delorme 065fee86a8 fix more urls 2019-06-14 15:08:59 +02:00
wrolisonaflac d8b91cd7a5
Update ncloud.html.md
Fixed  blog link at cloudwindows
2019-06-14 07:54:00 -04:00
Adrien Delorme cfda61b81f
Merge pull request #7747 from chhaj5236/bugfix/refine_io_optimize
let product API determine the default value of io_optimized
2019-06-14 11:58:03 +02:00
Adrien Delorme c9a22b6380
Merge pull request #7745 from hashicorp/investigate_crash
small cleanups
2019-06-14 10:09:32 +02:00
mingsheng.su 787485f66f add validate project_id 2019-06-14 14:50:46 +08:00
bozhi.ch b3277698f6 let product API determine the default value of io_optimized 2019-06-14 11:49:42 +08:00
Megan Marsh daddb65da8 add tests 2019-06-13 14:29:22 -07:00
Megan Marsh 2e821da84b check to make sure a vm-name isn't already in use before trying to launch a vm with said name. 2019-06-13 14:09:45 -07:00
Megan Marsh 1c3b234b55
Merge pull request #7737 from hashicorp/document_retry
retry.Backoff: document
2019-06-13 10:54:08 -07:00
Megan Marsh 88e5a21170 make sure machine readable logs print what's come through the UI into the logs 2019-06-13 10:51:44 -07:00
Megan Marsh 6982ec796f remove redundant error check 2019-06-13 10:51:44 -07:00
mingsheng.su 9798c86a0d update string to const 2019-06-13 20:17:08 +08:00
mingsheng.su 156d31f933 update acc test 2019-06-13 18:38:07 +08:00
Adrien Delorme e68f55d76c
Merge pull request #7744 from chhaj5236/bugfix/cleanup_when_timeout
cleanup image and snapshot if target image is still not available after timeout
2019-06-13 10:40:57 +02:00
mingsheng.su c8bab9b382 add ucloud packer 2019-06-13 15:16:49 +08:00
bozhi.ch 6a5db1e948 cleanup image and snapshot if target image is still not available after timeout 2019-06-13 11:17:39 +08:00
Megan Marsh a907adb4ab
Merge pull request #7743 from hashicorp/fix_7728
filter machine readable UI
2019-06-12 13:00:26 -07:00
Megan Marsh df977926ba filter machine readable UI 2019-06-12 09:50:27 -07:00
mingsheng.su 838f2ad0ad
Merge pull request #1 from tangjunjie119/master
Updated the translation
2019-06-12 19:06:56 +08:00
Adrien Delorme ccd4397f26
Merge pull request #7738 from hashicorp/fix_7727
prevent nil pointer dereference by defining IsUserAuthority. This occ…
2019-06-12 12:07:16 +02:00
Adrien Delorme 632e42eb88
Merge pull request #7720 from psinghal20/issue-6617
Add feature to import user-data from a file
2019-06-12 11:06:33 +02:00
Adrien Delorme f097deab3b
Merge pull request #7739 from hashicorp/fix_7728
apply logSecretFilter to output from ui.Say
2019-06-12 11:01:25 +02:00
Adrien Delorme 2eef6a1492
Merge pull request #7726 from hashicorp/packer-interpolate
Packer console
2019-06-12 11:00:11 +02:00
tangjunjie119 6a7f23c401
Updated the translation 2019-06-12 14:53:00 +08:00
Megan Marsh 1e5866bd2a apply logSecretFilter to output from ui.Say 2019-06-11 14:04:36 -07:00
Megan Marsh 6dcff18d36 prevent nil pointer dereference by defining IsUserAuthority. This occurred as a regression when we updated the crypto library in v1.4.0 2019-06-11 13:43:13 -07:00
Pratyush singhal 92af5847a7 refactor: replace *packer.MultiError from type signature of createInstanceMetadata with generic error interface
Signed-off-by: Pratyush singhal <psinghal20@gmail.com>
2019-06-11 21:01:26 +05:30
Adrien Delorme 0a74a6ae10
Merge pull request #7734 from yandex-cloud/yandex-cloud-builder-2
graceful shutdown instance, metadata from file and preemptible instance type
2019-06-11 17:23:42 +02:00
Pratyush singhal 6ce6bd8ad3 refactor: add multiError in createInstanceMetadata method to capture multiple errors
Signed-off-by: Pratyush singhal <psinghal20@gmail.com>
2019-06-11 20:09:14 +05:30
Gennady Lipenkov 9c7e6a0aec fix test 2019-06-11 17:04:51 +03:00
Pratyush singhal 4a369b4ef1 chore: add test for MetadataFiles option
Signed-off-by: Pratyush singhal <psinghal20@gmail.com>
2019-06-11 17:45:30 +05:30
mingsheng.su 612d7a8d57 add ucloud packer docs 2019-06-11 20:02:00 +08:00
Pratyush singhal 99a3e9cf0a chore: update tests for createInstaceMetadata
Signed-off-by: Pratyush singhal <psinghal20@gmail.com>
2019-06-11 16:47:16 +05:30
Pratyush singhal 529dff0abb refactor: add error handling in createInstanceMetadata method
Signed-off-by: Pratyush singhal <psinghal20@gmail.com>
2019-06-11 16:36:16 +05:30
Adrien Delorme ca33f8bc5c Revert "Backoff.Linear: panic when InitialBackoff > MaxBackoff"
This reverts commit 39cfacd5fa.
2019-06-11 12:53:06 +02:00
Adrien Delorme 39cfacd5fa Backoff.Linear: panic when InitialBackoff > MaxBackoff
this probably means there's a configuration issue.

Since this struct is mainly set manually from code, I think it is okay to panic here.
2019-06-11 12:41:21 +02:00
Adrien Delorme 98206d59d7 aws: step_create_tags make the max waiting time 30s and not 30ns 2019-06-11 12:37:52 +02:00
Adrien Delorme ac03fddfe5
Merge pull request #7731 from psinghal20/issue-7636
add retry for temp key-pair generation in amazon-ebs
2019-06-11 12:35:32 +02:00
Pratyush Singhal d92e82c43f refactor: replace the maxBackoff from 30 nanosecond to 30 seconds
Co-Authored-By: Adrien Delorme <azr@users.noreply.github.com>
2019-06-11 16:01:03 +05:30
Adrien Delorme 36e4eaff99 document retry.Backoff better 2019-06-11 12:20:00 +02:00
Gennady Lipenkov 3ac82de00c Update doc for yandex builder 2019-06-11 12:30:01 +03:00
Gennady Lipenkov 87b44a5879 Bulk fixes and enhancements
1) graceful shutdown instance
2) support metadata from file
3) support preemptible instance
2019-06-11 12:28:37 +03:00
Adrien Delorme 94ab45095c
Merge pull request #7736 from chhaj5236/bugfix/ignore_data_disks
fix describing snapshots issue when image_ignore_data_disks is provided
2019-06-11 11:14:46 +02:00
Adrien Delorme 9d00173b96
Merge pull request #7733 from hashicorp/fix_var_recurisve_itnerpolation
fixing interpolation
2019-06-11 11:10:08 +02:00
Adrien Delorme ddb4d77dc8
Update packer/core.go
remove commented log line
2019-06-11 11:09:22 +02:00