Commit Graph

13741 Commits

Author SHA1 Message Date
Megan Marsh 4c29f88a0a reuse code 2019-09-27 13:41:22 -07:00
Megan Marsh 1293812b11 clean up modules 2019-09-27 13:25:10 -07:00
Megan Marsh 85de1d0637 make friendlier message warning user that their creds may be wrong 2019-09-27 11:12:53 -07:00
Megan Marsh eccf0fb51d update docs 2019-09-27 09:51:18 -07:00
Megan Marsh e047b97bf7
Merge pull request #8162 from hashicorp/fix_8154
make sure amazon builders respect ssh_host option
2019-09-27 09:34:49 -07:00
Megan Marsh 51897d17f4
Merge pull request #8166 from hashicorp/travis-osx
test osx on travis
2019-09-27 09:27:32 -07:00
Megan Marsh ac6e7a4800 updates tests to validate that ssh_host value supplied in the template overrides all else 2019-09-27 09:19:23 -07:00
Robert Neumayer 70b2d300e6 Support defined tags for oci builder 2019-09-27 15:10:04 +02:00
Adrien Delorme 28180de5ad test osx on travis
we need to re-add the osx travis tests as our trial ended with circle-ci
2019-09-27 15:08:22 +02:00
Adrien Delorme 2c9615a3e3
Merge pull request #8165 from hashicorp/fix_8163
Fix 8163
2019-09-27 13:15:31 +02:00
Adrien Delorme 941dc394f0 Update step_run_spot_instance.go 2019-09-27 13:04:52 +02:00
Adrien Delorme d049284120
Update builder/amazon/common/step_run_spot_instance.go
remove unused code that might induce errors
2019-09-27 13:00:53 +02:00
Adrien Delorme 07e97e26de
step_run_source_instance.go: make sure we use the right ShouldRetry error 2019-09-27 12:57:55 +02:00
Adrien Delorme d730aabf41
Merge pull request #8156 from alrs/fix-post-processor-vagrant-cloud-errors
post-processor/vagrant-cloud: fix dropped errors
2019-09-27 10:27:48 +02:00
sumit-kalra​​ ab5c24e3a7 Merging conflicts 2019-09-26 23:41:16 +00:00
Sumit Kalra 91d19adcd7 Ensuring that specifying allowed inbound IP and VNet are mutually exclusive (#2) 2019-09-26 23:33:18 +00:00
Sumit Kalra 132779c343 Adding config to specify allowed inbound IP addresses and CIDR blocks (#1)
* Adding config to specify allowed inbound IP addresses

* Also allowing CIDR blocks in addition to IP addresses
2019-09-26 23:31:28 +00:00
Megan Marsh c722009159 we only need one describeInstances call, not 3, and it should be wrapped in a retry 2019-09-26 15:47:01 -07:00
Sumit Kalra 45840ffc3f
Ensuring that specifying allowed inbound IP and VNet are mutually exclusive (#2) 2019-09-26 15:35:55 -07:00
Megan Marsh e47059aaca put retry around describeinstances call in amazon 2019-09-26 14:49:28 -07:00
Megan Marsh 31bb1e818f fix tests 2019-09-26 13:02:11 -07:00
Megan Marsh 0cbd3ff0f3 make sure amazon builders respect ssh_host option 2019-09-26 12:30:04 -07:00
Paul Meyer 7a554e3cd3
Update CHANGELOG.md 2019-09-26 10:50:29 -07:00
Paul Meyer 698c9c44d4
Merge pull request #8121 from paulmey/clientconfig
[azure] Refactor client config
2019-09-26 10:49:13 -07:00
Lars Lehtonen 21f2e67462
post-processor/vagrant-cloud: fix dropped errors 2019-09-26 09:23:09 -07:00
Adrien Delorme 1ed7f03fa0
Merge pull request #8160 from ajorpheus/fix-zsh-autocomplete-Issue-8158
Fix zsh auto-completion
2019-09-26 14:27:03 +02:00
Ash Jindal bb7c45a455 Fix zsh auto-completion
Closes #8158

This fixes the following errors when attempting to auto-complete with packer v.1.4.3:
(installed via Homebrew on macOS Mojave)

 `invalid option definition: -except=[(foo,bar,baz) Validate all builds other than these].`
 `invalid option definition: -only=[(foo,bar,baz) Validate only these builds].`
2019-09-26 12:13:02 +01:00
Megan Marsh 72d393c95a update docs to show a use case for block device mappings 2019-09-25 16:48:04 -07:00
Megan Marsh a2824a942d remove extraneous import 2019-09-25 14:43:32 -07:00
Megan Marsh e4e70f80ae update changelog 2019-09-25 14:37:26 -07:00
Megan Marsh c57e0a9837 remove logline 2019-09-25 13:55:16 -07:00
Megan Marsh 59efa0faee rename option to error-cleanup-privisoner, which I think is clearer 2019-09-25 13:43:29 -07:00
Megan Marsh 0683bc409b add test for error-cleanup provisioner, and fix tests by fixing null builder to use an actual none communicator instead of skipping communicator generation altogether 2019-09-25 13:39:09 -07:00
Paul Meyer c72a612b44 Re-added tests for FillParamters 2019-09-25 20:33:38 +00:00
Paul Meyer 094a8840d8 Improve comments for FillParameters 2019-09-25 20:33:38 +00:00
Paul Meyer feeae1514e Refactor client config 2019-09-25 20:33:38 +00:00
Megan Marsh e5e864c624
Merge pull request #8143 from hashicorp/google_vault_oauth
Google vault oauth
2019-09-25 10:12:29 -07:00
Adrien Delorme 1873ef23de
Merge pull request #8153 from yandex-cloud/fix-docs
Add description for some fields in config struct
2019-09-25 16:37:57 +02:00
Gennady Lipenkov ad7feedb08 Remove 'yandex.html.md', 'yandex.html.md.erb' would be used
Signed-off-by: Gennady Lipenkov <xgen@yandex-team.ru>
2019-09-25 16:27:01 +03:00
Gennady Lipenkov d070b4868a Wrap values with backticks
Signed-off-by: Gennady Lipenkov <xgen@yandex-team.ru>
2019-09-25 16:04:45 +03:00
Gennady Lipenkov 00e4e0c7a7 Add description of field in config struct
Signed-off-by: Gennady Lipenkov <xgen@yandex-team.ru>
2019-09-25 14:31:27 +03:00
Adrien Delorme 6c85e736b6
Merge pull request #8151 from GennadySpb/patch-1
Add record to CHANGELOG
2019-09-25 12:23:08 +02:00
GennadySpb 590e830b30
Add record to CHANGELOG 2019-09-25 11:58:08 +03:00
Adrien Delorme 963fe8535d
Merge pull request #8146 from carlpett/patch-2
Fix pool type doc error
2019-09-25 10:54:00 +02:00
Megan Marsh 5bd8fee708 Creates a final "cleanup" provisioner to run if an error occurs during a provisioning step, allowing users to perform any custom cleanup tasks that must happen on the VM before the VM is shut down and destroyed. 2019-09-24 16:08:15 -07:00
Sumit Kalra 0f4d81e091
Adding config to specify allowed inbound IP addresses and CIDR blocks (#1)
* Adding config to specify allowed inbound IP addresses

* Also allowing CIDR blocks in addition to IP addresses
2019-09-24 09:34:19 -07:00
Calle Pettersson dfb8fd1de5
Fix pool type doc error 2019-09-24 15:08:46 +02:00
Megan Marsh 3c14c50aba Allow user to real oauth token from properly configured Vault instance 2019-09-23 13:26:03 -07:00
Megan Marsh 2a662b451c
Merge pull request #8142 from yandex-cloud/yandex-add-retries
Add retries to Yandex builder
2019-09-23 12:23:47 -07:00
Megan Marsh c24693372d
Merge pull request #8132 from scienty/support_floppy_vmx_esxi
Support floppy_files for vmx on esxi
2019-09-23 12:20:49 -07:00