Commit Graph

12536 Commits

Author SHA1 Message Date
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
Adrien Delorme 4b0f888a1c
Merge pull request #7686 from teejam2/patch-1
Fix typo and update ubuntu image version
2019-05-24 17:27:07 +02:00
Dexter Lakin 873db48391
Fix typo and update ubuntu image version
The old url is no longer available, user `cpu should be `cpus
2019-05-24 16:22:13 +01:00
Aaron Walker c1141c849f update docs 2019-05-24 16:29:18 +02:00
Adrien Delorme 68a3be9f90 document execution_policy for powershell 2019-05-23 17:39:02 +02:00
Adrien Delorme 478f80af83 remove unused func 2019-05-23 17:33:46 +02:00
Adrien Delorme 7005958155 execution policy: make everything more idiomatic
* make possible execution policy values lowercase
* prefix execution policies possibilities
2019-05-23 17:12:32 +02:00
Adrien Delorme e62aba3788 allow to set ExecutionPolicy to none for powershell provisioner
this has the effect to not wrap the command, which will allow to know the exit status of a command in docker
2019-05-23 16:42:44 +02:00
Adrien Delorme e96409954a add execution policy type and use it to default the powershell cmd 2019-05-23 16:12:05 +02:00
Adrien Delorme 2da36b7374 builder/docker: default container dir to "c:/packer-files" on windows 2019-05-22 16:55:26 +02:00