5209 Commits

Author SHA1 Message Date
Megan Marsh
440f540e28 fix merge issues with generated code 2020-04-14 10:31:57 -07:00
Vladislav Rassokhin
5f2849b5b4 builder/vsphere-clone: support firmware changing 2020-04-14 10:28:43 -07:00
Vladislav Rassokhin
91a1ad63fa builder/vsphere-iso: support EFI Secure Boot using another value in firmware (#8873) 2020-04-14 10:28:22 -07:00
Adrien Delorme
840e67f775
HCL2: when we see a map generate an attribute spec instead of a block spec (#9035)
* mapstructure-to-hcl2: when we see a map generate an attribute spec and not a block spec

this will alow to do

tags = {
 key = "value"
}

instead of

tags {
  key = "value"
}

This will also enable using variables directly for those tags

* generate code

* update tests
2020-04-14 16:05:13 +02:00
Joshua Foster
7f0dbdebb2 clean up documentation for new NIC and storage params
adding examples, updating .gitattributes so *.mdx files have LF endings for windows
2020-04-13 14:28:50 -04:00
Paul Meyer
df47fd5076
Merge pull request #9021 from paulmey/azure-chroot-shared-image-destination
[azure/chroot] Add azure-chroot shared image destination
2020-04-09 14:42:13 -07:00
Paul Meyer
621bd8ccac Fix error message grammar 2020-04-09 20:55:10 +00:00
Paul Meyer
89a8238a07 Fix artifact output 2020-04-09 20:54:50 +00:00
Paul Meyer
47107e6355 Default polling delay 5 sec 2020-04-09 20:37:23 +00:00
Vijay Rajah
9209826bfe Update the doc with more info 2020-04-10 00:34:56 +05:30
Paul Meyer
4ffe5611b8 Add more tests 2020-04-08 21:05:26 +00:00
Megan Marsh
a48c0ecf49 update docs for headless to help users know they may need to launch the gui 2020-04-08 13:53:19 -07:00
Vijay Rajah
1e66a1b355 Fix linting & code generation 2020-04-09 00:00:13 +05:30
Vijay Rajah
56bf8bd686 Merge branch 'set_azure_custom_res_names' of github.com:vijayrajah/packer into set_azure_custom_res_names 2020-04-08 23:54:21 +05:30
vijayrajah
a3c580f2ac
Merge branch 'master' into set_azure_custom_res_names 2020-04-08 23:51:58 +05:30
Vijay Rajah
53f54000e6 generate spec & fix typo 2020-04-08 23:42:49 +05:30
Thor K. H
2a40f471b7 Add vgpu_profile support for using GRID vGPUs
It hooks directly into Configure, common for both vsphere-clone and
vsphere-iso.
Note that acceptance tests are still missing.
2020-04-08 17:11:14 +02:00
Paul Meyer
b12aedcda9 Remove lint 2020-04-07 23:09:42 +00:00
Paul Meyer
5c89d22fa2 generated & docs 2020-04-07 23:05:09 +00:00
Paul Meyer
2240ead39c [azure/chroot] Add shared image output 2020-04-07 22:49:24 +00:00
Paul Meyer
73edd9d3d2 Make skip_cleanup generic 2020-04-07 22:49:24 +00:00
Paul Meyer
90188bb18d add func for searching string slice 2020-04-07 22:49:24 +00:00
Paul Meyer
a3d8bf27e1 Add snapshot and gallery clients 2020-04-07 22:49:24 +00:00
Paul Meyer
cfe37057bd Use const for statebag key 2020-04-07 22:49:24 +00:00
Paul Meyer
f3703a775f Use subscription id from client set 2020-04-07 22:49:24 +00:00
Paul Meyer
6131301fdd Standardize compute SDK version 2020-04-07 22:49:24 +00:00
Paul Meyer
f73a673b99 Extract build steps generation
Add tests for build step generation
2020-04-07 22:49:21 +00:00
Paul Meyer
c167ef91ce Move PIR :latest resolution to step 2020-04-07 22:49:21 +00:00
Paul Meyer
f0ec912ba6 Make VirtualMachineImagesClient easier to mock 2020-04-07 22:49:21 +00:00
Paul Meyer
a3b49cdc08 Stub metadata service for builder tests 2020-04-07 22:49:21 +00:00
Paul Meyer
b3e361a139 Extract testUI func 2020-04-07 22:49:20 +00:00
Jeff Escalante
81b08898ba
update generated pages after rebase 2020-04-07 17:53:26 -04:00
Jeff Escalante
2999934326
fix generation script, bugfixes in source comments, update website paths in primary codebase 2020-04-07 17:53:22 -04:00
Jeff Escalante
9165be87da
packer.io prefix removal, html extension remove for in-code errors 2020-04-07 17:53:22 -04:00
Jeff Escalante
af257c2bb9
fix all local relative links 2020-04-07 17:50:53 -04:00
Jeff Escalante
4afd107eeb
patch source files for extensions changes 2020-04-07 17:50:51 -04:00
Jeff Escalante
37300c7203
fix backtick errors 2020-04-07 17:50:47 -04:00
Jeff Escalante
bcc848a83d
were rendering yay 2020-04-07 17:50:47 -04:00
Jeff Escalante
92d4553890
initial port 2020-04-07 17:50:46 -04:00
Megan Marsh
07be1a0a30
Merge pull request #8986 from vijayrajah/feature/datadisk-change_name
datadisk name change
2020-04-07 11:06:35 -07:00
Moss
185deeeb38 Fix provisioner acc-test builder and provisioner store 2020-04-06 16:52:24 -04:00
Wilken Rivera
b183c5498f provisioner/powershell: Add basic Powershell provisioner acceptance tests
* Modifies the amazon-ebs builder with a windows build configuration

```
⇶  ACC_TEST_BUILDERS=amazon-ebs ACC_TEST_PROVISIONERS=powershell go test -v ./provisioner/powershell/... -run=TestPowershellProvisioner_Inline
--- PASS: TestPowershellProvisioner_Inline (256.50s)
--- PASS: TestPowershellProvisioner_Inline/testing_amazon-ebs_builder_against_powershell_provisioner (256.50s)
PASS
ok      github.com/hashicorp/packer/provisioner/powershell 256.525s
```
2020-04-06 16:52:05 -04:00
Vijay Rajah
cd41ad1a40 change resource names 2020-04-07 02:17:50 +05:30
Vijay Rajah
90a0c5ec49 fix more typos ( ')]' ) 2020-04-06 22:02:43 +05:30
vijayrajah
620c791473
Merge branch 'master' into feature/datadisk-change_name 2020-04-06 21:52:43 +05:30
Vijay Rajah
1009e8c983 fix more typos 2020-04-06 21:50:05 +05:30
Vijay Rajah
1314d69b51 fix typo (add missing ')]' ) 2020-04-06 11:40:05 +05:30
Vijay Rajah
0589f57d4d Update tests for datadisk name change 2020-04-05 01:16:24 +05:30
Megan Marsh
b804e5a8f5
Merge pull request #8987 from VaijanathB/azure-devtestlabs-take2
Building Azure devtestlabs Images using Packer - update
2020-04-03 11:14:31 -07:00
Sylvia Moss
665330de92
Write generic Builder-Provisioner acceptance test logic (#8963) 2020-04-03 18:17:09 +02:00