Commit Graph

12575 Commits

Author SHA1 Message Date
Megan Marsh c722afe707 stop calculating spot bids; amazon changed the way spot instances are priced to be stable rather than bid-based, so when user sets auto, we can just default to the ondemand price and know that they'll get the same price as everyone else bidding at that time. 2019-07-01 13:01:41 -07:00
Megan Marsh 4d6891111d update vendor 2019-07-01 12:53:04 -07:00
Megan Marsh b82ab2cc6a change installation of pigeon if off gopath 2019-07-01 12:16:50 -07:00
Megan Marsh 1678d66e31
Merge pull request #7818 from StileEducation/master
Allow EC2 Spot Fleet packer instances to run in parallel
2019-07-01 09:47:40 -07:00
Megan Marsh 3896ef29bd
Merge pull request #7819 from phils/patch-4
Fix IAM permissions for spot based on changes in 7682
2019-07-01 09:40:25 -07:00
Megan Marsh e2fe35ef40
Merge pull request #7814 from hashicorp/fix_7805
fix bug where ReadAll on the stderr pipe was causing an infinite hang…
2019-07-01 09:03:55 -07:00
Marc Falzon d4f382a893 fixup! Add Exoscale Import post-processor 2019-07-01 08:59:37 +02:00
Marc Falzon 00c2df24df Add Exoscale Import post-processor
This change adds a new `exoscale-import` post-processor allowing users
to create Private Templates on Exoscale.
2019-07-01 08:40:26 +02:00
phils 700e747cb9
Fix IAM permissions for spot based on changes in 7682 2019-07-01 00:51:34 +10:00
Daniel Rodgers-Pryor 8a9753032c Allow EC2 fleet packer instances to run in parallel
Without conflicting over the name of the launch template that they create/delete.

Previously, the launch template name was just hard coded to `packer-fleet-launch-template`, but since AWS enforces unique template names within an account, this caused simultaneously running packer instances to hit template-already-exists errors when creating their templates and race-conditions around deleting the template. Now, the template name is randomly generated on each run, so there should be no conflicts.
2019-06-30 16:19:35 +10:00
ZhiQiang Fan 7235a4a775 feature: support data disks for tencentcloud builder
Data disk is an important feature for instances and images, this
patch implements the basic functionality of it. More work needs
to be done to make it friendly to users. Docs has pointed out
current limitation.

Also update dependencies because this feature requires new code in
tencentcloud go sdk.
2019-06-30 00:05:38 +08:00
Megan Marsh 8d5ecb9514 fix bug where ReadAll on the stderr pipe was causing an infinite hang because there was no stderr to report 2019-06-28 16:23:28 -07:00
Megan Marsh 049811d329
Merge pull request #7804 from hashicorp/esx5_checksum_files
parse checksum file so that we can use the checksums inside in the vm…
2019-06-28 15:55:18 -07:00
Megan Marsh d6d4eb2087 fix some tests and some config behavior to prevent null dereference errors and incorrect precedence between iso checksum and iso checksum url 2019-06-28 15:29:39 -07:00
Megan Marsh 9e5b12cbf3
Merge pull request #7774 from davidhao3300/patch-2
Make salt-masterless provisioner respect disable_sudo directive for all commands
2019-06-28 14:42:20 -07:00
Megan Marsh 9dd871120a
Merge pull request #7810 from zqfan/tencent-add-run-tags
feature: add run_tags to instance in tencentcloud builder
2019-06-28 14:39:52 -07:00
Megan Marsh e85bac737b update go-getter client in vendors folder 2019-06-28 14:38:54 -07:00
Megan Marsh 21e35edfe2 update go mod file 2019-06-28 14:36:54 -07:00
Megan Marsh 998ef4053f parse checksum file so that we can use the checksums inside in the vmware-esxi builder stepuploadiso 2019-06-28 14:35:43 -07:00
Megan Marsh 3a56c16308 update changelog 2019-06-28 10:54:32 -07:00
Megan Marsh 1d1ff4ebc9
Merge pull request #7775 from shawnmssu/feature/ucloud_builder
Packer plugin support UCloud
2019-06-28 10:28:37 -07:00
ZhiQiang Fan 310a40f8fe feature: add run_tags to instance in tencentcloud builder
Instance tags are useful, our customer asks us to support it in packer as
well, to enable them to identify the purpose of the instance, even the
instance runs in a very short time.
2019-06-28 23:18:41 +08:00
mingsheng.su ce761bdcb4 Update example of ucloud-uhost 2019-06-28 18:14:00 +08:00
mingsheng.su 19933e83d3 Update docs of ucloud-uhost about note 2019-06-28 13:58:30 +08:00
mingsheng.su 863a80a29f
Update website/source/docs/builders/ucloud-uhost.html.md
Co-Authored-By: Megan Marsh <megan@hashicorp.com>
2019-06-28 12:05:46 +08:00
mingsheng.su d3414e31e4
Update builder/ucloud/uhost/step_create_instance.go
Co-Authored-By: Megan Marsh <megan@hashicorp.com>
2019-06-28 12:05:23 +08:00
mingsheng.su 591f2833b8
Update builder/ucloud/uhost/step_create_instance.go
Co-Authored-By: Megan Marsh <megan@hashicorp.com>
2019-06-28 12:04:55 +08:00
mingsheng.su 0679f64689
Update builder/ucloud/uhost/step_copy_image.go
Co-Authored-By: Megan Marsh <megan@hashicorp.com>
2019-06-28 12:04:36 +08:00
mingsheng.su 33d9e1ca49
Update builder/ucloud/uhost/step_copy_image.go
Co-Authored-By: Megan Marsh <megan@hashicorp.com>
2019-06-28 12:03:11 +08:00
mingsheng.su c8a9447aa4
Update builder/ucloud/uhost/step_create_image.go
Co-Authored-By: Megan Marsh <megan@hashicorp.com>
2019-06-28 12:02:56 +08:00
mingsheng.su 4dfb338915
Update builder/ucloud/uhost/step_config_vpc.go
Co-Authored-By: Megan Marsh <megan@hashicorp.com>
2019-06-28 12:02:45 +08:00
mingsheng.su 71fcc9fce3
Update builder/ucloud/uhost/step_config_subnet.go
Co-Authored-By: Megan Marsh <megan@hashicorp.com>
2019-06-28 12:02:24 +08:00
mingsheng.su 7fdd72d418
Update builder/ucloud/uhost/step_config_security_group.go
Co-Authored-By: Megan Marsh <megan@hashicorp.com>
2019-06-28 12:02:03 +08:00
mingsheng.su a44df3d899
Update builder/ucloud/uhost/step_config_security_group.go
Co-Authored-By: Megan Marsh <megan@hashicorp.com>
2019-06-28 12:01:47 +08:00
mingsheng.su e9e5493fd1
Update builder/ucloud/uhost/step_check_source_image.go
Co-Authored-By: Megan Marsh <megan@hashicorp.com>
2019-06-28 12:01:26 +08:00
Megan Marsh 44d2198a1b
Merge pull request #7800 from hashicorp/smb_getter
Smb getter
2019-06-27 12:05:15 -07:00
mingsheng.su fdb1caf309 fmt examples of ucloud 2019-06-27 14:28:46 +08:00
mingsheng.su 0ca67081c9 update examples && CODEOWNERS 2019-06-27 14:10:26 +08:00
Megan Marsh e42e8d4936 update to 1.4.3-dev 2019-06-26 15:28:19 -07:00
Megan Marsh ad7f0bda56 cut release 1.4.2 2019-06-26 15:23:23 -07:00
Megan Marsh 59d42b9e73 update changelog 2019-06-26 15:23:23 -07:00
Megan Marsh 350894200e
Merge pull request #7786 from zqfan/tencent-rm-img-name-limit
remove image name check in tencentcloud builder
2019-06-26 14:22:50 -07:00
Megan Marsh 88d589cc88 enable smb share double backslash pathing too 2019-06-26 13:43:05 -07:00
Megan Marsh 12471a8b06 use file getter for smb shares 2019-06-26 13:21:49 -07:00
Megan Marsh 081ee1a5a4 update changelog 2019-06-26 12:53:50 -07:00
Megan Marsh b565075813
Merge pull request #7791 from 70k10/qemuadddisks
Add additional disk support for QEMU builder.
2019-06-26 12:47:05 -07:00
Megan Marsh 4fe356bcba fix changelog 2019-06-26 11:40:16 -07:00
Megan Marsh 823e2e260f recommit generated code 2019-06-26 11:06:06 -07:00
mingsheng.su ded67a29b3 delete repetitive modules 2019-06-26 11:16:00 +08:00
mingsheng.su 6109ad79a3
Merge branch 'master' into feature/ucloud_builder 2019-06-26 10:09:28 +08:00