Adrien Delorme
bf3d9841c6
Force durations to be passed a strings
...
Before this commit it was possible to set a duration using an integer or a float. Go's time.Duration is an int64 internally an mapstructure will take advantage of this and load the number as a int64 but `1` means one ns which is unexpected/confusing. To avoid confusion and enforce readability this forces users to pass a string with a unit for a duration; ex "56s".
2019-10-31 11:47:19 +01:00
Adrien Delorme
ada9821897
Merge pull request #8294 from hashicorp/do_7974
...
add insert_key option for toggling whether to add Vagrant's insecure key
2019-10-31 10:27:27 +01:00
Megan Marsh
2fa79c6086
fix tests
2019-10-30 13:48:12 -07:00
Megan Marsh
8f996cd4de
update docs
2019-10-30 13:36:56 -07:00
Megan Marsh
3b3aa562ed
add insert_key option for toggling whether to add Vagrant's insecure key
2019-10-30 13:27:34 -07:00
Megan Marsh
553ca2e15d
Merge pull request #8293 from alrs/fix-azure-chroot-dropped-err
...
builder/azure/chroot: fix dropped error
2019-10-30 13:13:25 -07:00
Megan Marsh
ca64cc1237
Merge pull request #8261 from shawnmssu/feature/ucloud_import
...
Packer Post-Processor support UCloud import
2019-10-30 13:11:55 -07:00
Lars Lehtonen
6862e3534f
builder/azure/chroot: fix dropped error
2019-10-30 11:14:32 -07:00
Megan Marsh
9d45604f27
go mod vendor
2019-10-30 10:49:33 -07:00
Megan Marsh
1ac41e91c1
go mod vendor
2019-10-30 10:48:41 -07:00
Megan Marsh
991af72758
checkout go.mod and go.sum from master, rebuild
2019-10-30 10:47:13 -07:00
Megan Marsh
6191b9c8c6
Merge pull request #8288 from hashicorp/fix_8271
...
add some extra layers of validation to make sure that people don't tr…
2019-10-30 10:41:52 -07:00
Megan Marsh
d084cd1895
Update builder/amazon/common/ami_config.go
2019-10-30 09:41:23 -07:00
Megan Marsh
58b94574c5
clean up dependencies
2019-10-30 09:33:09 -07:00
Adrien Delorme
d915618819
Merge pull request #8289 from hashicorp/test_filter_builder
...
add test to catch this case
2019-10-30 10:34:58 +01:00
mingsheng.su
4f140d0071
fix docs of ucloud-uhost
2019-10-30 15:05:54 +08:00
Megan Marsh
b627c550c4
update vendor
2019-10-29 16:11:44 -07:00
Megan Marsh
3c58b9c1f6
update vendor lib
2019-10-29 16:11:44 -07:00
Megan Marsh
9c02d7c1eb
fix modules
2019-10-29 16:11:44 -07:00
mingsheng.su
545575b879
optimize code about ufile config
2019-10-29 16:11:44 -07:00
mingsheng.su
934698c7d1
Update website/source/docs/post-processors/ucloud-import.html.md
...
Co-Authored-By: Megan Marsh <megan@hashicorp.com>
2019-10-29 16:11:44 -07:00
mingsheng.su
94fbdd52bc
Update website/source/docs/post-processors/ucloud-import.html.md
...
Co-Authored-By: Megan Marsh <megan@hashicorp.com>
2019-10-29 16:11:44 -07:00
mingsheng.su
313723e03b
Update website/source/docs/post-processors/ucloud-import.html.md
...
Co-Authored-By: Megan Marsh <megan@hashicorp.com>
2019-10-29 16:11:44 -07:00
mingsheng.su
6b29e3a892
Update website/source/docs/post-processors/ucloud-import.html.md
...
Co-Authored-By: Megan Marsh <megan@hashicorp.com>
2019-10-29 16:11:44 -07:00
mingsheng.su
ece6702afb
Update website/source/docs/post-processors/ucloud-import.html.md
...
Co-Authored-By: Megan Marsh <megan@hashicorp.com>
2019-10-29 16:11:44 -07:00
mingsheng.su
37e898e115
optimize code style
2019-10-29 16:11:44 -07:00
mingsheng.su
9de1c42ad4
fix ucloud builder acctest
2019-10-29 16:11:44 -07:00
Megan Marsh
a4f95c8e7d
fux gebeaj
2019-10-29 16:11:44 -07:00
mingsheng.su
fb9c624281
update docs
2019-10-29 16:11:43 -07:00
mingsheng.su
1099777978
update bucket about no create
2019-10-29 16:11:43 -07:00
mingsheng.su
083d7896f4
update message of ucloud import
2019-10-29 16:11:43 -07:00
mingsheng.su
2c513fce64
update ucloud packer
2019-10-29 16:11:43 -07:00
mingsheng.su
61f9d3a9fe
add ucloud import
2019-10-29 16:11:43 -07:00
Megan Marsh
f72da4b7f7
update changelog
2019-10-29 15:30:16 -07:00
Megan Marsh
811f2cb8a7
Merge pull request #8279 from andreykaipov/feature/builder/openstack-network-discovery
...
[builder/openstack] adds option to discover provisioning network
2019-10-29 11:30:42 -07:00
Megan Marsh
e9f02e44cb
add test to catch this case
2019-10-29 11:28:56 -07:00
Megan Marsh
7cf47fc463
add some extra layers of validation to make sure that people don't trip over magical encrypt_boot settings later in the build
2019-10-29 11:26:22 -07:00
Andrey Kaipov
5da5b00e1c
[builder/openstack] adds option to discover provisioning network
2019-10-29 13:02:27 -04:00
Megan Marsh
0b9391b092
Merge pull request #8285 from hashicorp/document-code-generation
...
Document how code generation works a little in .github/CONTRIBUTING.md
2019-10-29 09:25:55 -07:00
Adrien Delorme
06d29d279a
Document how code generation works a little in .github/CONTRIBUTING.md
2019-10-29 15:29:29 +01:00
Adrien Delorme
889ab163f1
Merge pull request #8241 from carlpett/bump-proxmox-api
...
Bump proxmox dependency
2019-10-29 14:45:41 +01:00
Adrien Delorme
8b6f1358fb
Merge pull request #8281 from alrs/fix-builder-oneandone-errors
...
builder/oneandone: fix dropped errors
2019-10-29 12:25:27 +01:00
Adrien Delorme
3eef8f15c1
Merge pull request #8276 from alrs/fix-post-processor-compress-errors
...
post-processor/compress: fix dropped errors
2019-10-29 12:23:08 +01:00
Adrien Delorme
b2b12d6b04
Merge pull request #8280 from blinohod/cloudstack-display-name
...
[WIP] Add instance_display_name for cloudstack builder
2019-10-29 12:19:50 +01:00
Lars Lehtonen
5edabfc849
post-processor/compress: fix dropped errors
2019-10-28 16:19:46 -07:00
Megan Marsh
1b3e346297
Merge pull request #8284 from hashicorp/fix_performance_regression
...
Fix performance regression
2019-10-28 15:58:05 -07:00
Megan Marsh
124ae7d225
add vendored code
2019-10-28 14:38:53 -07:00
Megan Marsh
1d489d1899
revert bad commit and re-vendor code.
2019-10-28 14:38:18 -07:00
Megan Marsh
e2283445f2
need to initialize variables scoped to the individual loop, because the address of k,v stay the same and that means we overwrite previous variables when assigning them to the struct directly.
2019-10-28 14:31:13 -07:00
Megan Marsh
5ab31b0363
Revert "vendor vendors"
...
This reverts commit 8b1fcbb3bd40512cd2f2320705d64d6f483ddcb8.
2019-10-28 14:31:07 -07:00