Commit Graph

12395 Commits

Author SHA1 Message Date
Megan Marsh df916e805e borrow wrappedreadline workarounds from terraform and implement a similar check for piped commands; this makes the cli experience much cleaner 2019-06-06 13:26:07 -07:00
Pratyush singhal 1e1af35341 refactor: replace userdata_files with generic metadata_files map
Signed-off-by: Pratyush singhal <psinghal20@gmail.com>
2019-06-06 16:14:57 +05:30
Pratyush singhal 3845186c4c feat: add feature to import user-data from a file
Signed-off-by: Pratyush singhal <psinghal20@gmail.com>
2019-06-06 11:28:59 +05:30
Megan Marsh b8ac1a800d implement a packer console analogous to the terraform console 2019-06-05 16:35:22 -07:00
Adrien Delorme 2620e18247
Merge pull request #7713 from praveen4463/patch-1
fixing a broken link to cloudywindows.io
2019-06-04 10:22:09 +02:00
Adrien Delorme 2d12af0b48
Merge pull request #7712 from hashicorp/fix_7699
test for length of ami tags before tagging
2019-06-04 10:17:43 +02:00
Adrien Delorme 936ca6545a
Merge pull request #7526 from aleksey-hariton/master
Add tags to instance in CloudStack builder
2019-06-04 10:13:42 +02:00
praveen4463 a9505b27aa
fixing a broken link to cloudywindows.io
Fixed broken link from https://cloudywindows.io/post/winrm-for-provisioning---close-the-door-on-the-way-out-eh/ to https://cloudywindows.io/post/winrm-for-provisioning-close-the-door-on-the-way-out-eh/
2019-06-04 08:47:46 +05:30
Megan Marsh 3f036b33c5 test for length of ami tags before tagging 2019-06-03 19:14:06 -07:00
Megan Marsh d9960fdaeb use length instead of a nil test. 2019-06-03 15:13:49 -07:00
Megan Marsh de7106c36b
Merge pull request #7696 from hashicorp/go_generate_from_makefile
run `go generate ./...` from makefile & CI test that it generates no diff
2019-06-03 15:01:21 -07:00
Megan Marsh a5cd37b51d
Merge pull request #7711 from amydutta/master
Update Azure docs with Shared Image Gallery (for MDI only) as destination example
2019-06-03 13:41:55 -07:00
Megan Marsh 078d888dba
Merge pull request #7707 from CARFAX/master
Enable encrypted AMI sharing across accounts
2019-06-03 13:08:06 -07:00
Megan Marsh 816b553d06
Merge pull request #7709 from onematchfox/master
Vagrant builder - documentation + minor code fix
2019-06-03 11:34:49 -07:00
Amrita Dutta 0dfba0724c Merge branch 'master' of https://github.com/amydutta/packer 2019-06-03 18:05:18 +00:00
Amrita Dutta 29b1aad441 fix indent 2019-06-03 17:58:41 +00:00
Amrita Dutta db661445d2 fix return 2019-06-03 17:57:21 +00:00
Amrita Dutta 14c442345f Update Azure Docs with SIG example 2019-06-03 17:53:44 +00:00
Brian Fox d6776dc5f2 Remove unused variable 2019-06-03 11:10:01 +02:00
Adrien Delorme f1b7cc7ede
Merge pull request #7705 from hashicorp/7687
fix null file descriptor error
2019-06-03 10:46:44 +02:00
Brian Fox 9368269034 Add missing "vagrant package" parameters to documentation 2019-06-02 21:01:52 +02:00
Brian Fox 365f44d1c3 Spelling 2019-06-02 21:01:28 +02:00
Megan Marsh 7b1f7c87e5 add a check and test so that the winrm communicator upload doesn't fail becuase of a nil file pointer 2019-05-31 16:54:25 -06:00
Megan Marsh ad668dcc86
Merge pull request #7706 from amydutta/master
Update Azure SDK for Go to v30.0.0
2019-05-31 11:57:08 -05:00
Adrien Delorme a145804795
Merge pull request #7597 from oseiberts11/add-openstack-image-properties
Add image filtering on properties.
2019-05-31 11:03:56 +02:00
Adrien Delorme fd3f20a911
Merge pull request #7691 from hashicorp/fix_7689
the build ami is made with an intermediary name, which means that we …
2019-05-31 10:59:10 +02:00
Jason McIntosh abef9820c7 Fixed spacing on comment 2019-05-30 17:25:36 -05:00
Jason McIntosh 24a4e2f23e Updated comments 2019-05-30 17:18:33 -05:00
Jason McIntosh 24bc50ce1b Enable encrypted AMIs with custom KMS Keys 2019-05-30 17:16:36 -05:00
Amrita Dutta 700c95c613 Update Azure SDK for Go to v30.0.0 2019-05-30 21:25:43 +00:00
Megan Marsh 6786c0d641 update tests to reflect new behavior 2019-05-30 16:17:23 -05:00
Megan Marsh 4bf75ac0f3 fix null file descriptor error 2019-05-30 15:34:18 -05:00
Adrien Delorme 078622a40d
Merge pull request #7700 from hashicorp/cherry_pick_7698
Remove jen20 from CODEOWNERS
2019-05-29 15:00:14 +02:00
Adrien Delorme 6f18265e0c Remove self from CODEOWNERS 2019-05-29 14:59:14 +02:00
Adrien Delorme 36ee40b2a1 test that go generated code if what is should be 2019-05-27 16:00:20 +02:00
Adrien Delorme 5a0b5e3944 Makefile: don't run fmt-check in test/testrace
* this is now run on a different circle ci track
2019-05-27 15:42:58 +02:00
Adrien Delorme deb2212e9e Makefile: use `go fmt`
fmt-check no runs go fmt and then a git diff; this should also fail on line ending diffs
2019-05-27 15:37:03 +02:00
Adrien Delorme 768736425e Makefile: remove unused golang.org/x/tools/cmd/stringer dep 2019-05-27 15:07:49 +02:00
Adrien Delorme 26d0448142 Makefile: split install-build-deps vs install-gen-deps 2019-05-27 15:06:49 +02:00
Adrien Delorme abd6eda6c9 generate execution policy from makefile
* make generate now generates on `./...` instead of `.`
2019-05-27 14:52:04 +02:00
Adrien Delorme 5a8323686f
Merge pull request #7694 from svanharmelen/svh/f-cloudstack
gomod: update go-cloudstack
2019-05-27 10:16:59 +02:00
Sander van Harmelen 8e4251d446 gomod: update go-cloudstack 2019-05-26 11:58:26 +02:00
Megan Marsh bda09bf7d5 the build ami is made with an intermediary name, which means that we can't skip copying even from the original build region when unencrypted 2019-05-24 15:08:20 -07:00
Megan Marsh 1204213516
Merge pull request #7678 from hashicorp/docker_windows_defaults
builder/docker: better windows defaults
2019-05-24 11:19:32 -07:00
Megan Marsh 6f560bef0a
Merge pull request #7653 from aaronwalker/chef_license_acceptance
adds support for accepting the chef license
2019-05-24 11:12:09 -07:00
Megan Marsh 584669d682
Merge pull request #7688 from hashicorp/fix_7684
stop using goroutines in TestPausedProvisionerProvision_waits
2019-05-24 09:55:01 -07:00
Adrien Delorme 65bd7207e8
Merge pull request #7682 from hashicorp/do_7648
Do 7648
2019-05-24 18:54:49 +02:00
Megan Marsh 708165eaa8 refactoring step_run_spot_instance and swapping out the calls to create a spot instance with a call to create a spot fleet of one, so that we can be more flexible with the instance type when desired 2019-05-24 09:32:54 -07:00
Adrien Delorme ce15617d05 TestPausedProvisionerProvision_waits: don't fail when we spend too much time. 2019-05-24 18:21:53 +02:00
Adrien Delorme dc631530d2 stop using goroutines in TestPausedProvisionerProvision_waits
to render the test less flaky.

this should fix #7684
2019-05-24 17:56:27 +02:00