1391 Commits

Author SHA1 Message Date
Wilken Rivera
6474b76df9 Managed by Terraform: Add pull_request_check.yml github workflow 2021-04-14 12:44:23 -04:00
Wilken Rivera
e60db11f45 Managed by Terraform: Add PULL_REQUEST_TEMPLATE.md issue template 2021-04-14 12:44:19 -04:00
Wilken Rivera
69688acb58 Initial commit 2021-04-14 12:41:50 -04:00
Megan Marsh
6b0b297483 Merge pull request #10878 from hashicorp/rewrite_acctests
Move acctest pkg from the SDK to core and update acceptance tests
2021-04-08 13:21:18 -07:00
Kerim Satirli
a37cdd311a switches JSON and HCL2 tabs (#10888)
* switches JSON and HCL2 tabs for all provisioners

* corrects `packer` to `Packer`

* corrects `http` to `HTTP`

* corrects typos and highlighting consistency issues

* corrects typos and highlighting consistency issues

* corrects typos and highlighting consistency issues

* `ansible` -> `Ansible`

* `packer fmt` for HCL2 blocks in provisioners

* linting and spelling

* fixes formatting

* fixes formatting

* Update website/content/docs/provisioners/ansible.mdx

Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>

* fixes formatting

* improves example

* generate stuff

Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2021-04-08 15:02:57 +02:00
sylviamoss
050d130337 move acctest pkg from sdk to core and update acceptance tests 2021-04-07 11:52:19 +02:00
Zachary Shilton
935ff10c65 website: remove obselete nav data (#10811)
* website: remove obselete sidebar_title frontmatter from docs

* website: bump to latest docs-page

* website: update plugin creation and registration docs

* website: fix broken links
2021-03-31 15:07:00 -04:00
Adrien Delorme
e7cc681c67 Add http_content func to serve variables from HTTP @ preseed (#10801)
This imports hashicorp/packer-plugin-sdk#43

* code generate things
* update docs
* update guides
* update examples

We want to add a new guide.
2021-03-23 12:31:13 +01:00
Megan Marsh
240912e2d9 docker extraction POC 2021-03-05 15:33:34 -05:00
Megan Marsh
413d396872 Merge pull request #10543 from arizvisa/GH-10009
Added a fallback to both the player and workstation drivers from the vmware builder when trying to determine the network-mapping configuration
2021-02-22 09:34:39 -08:00
Ali Rizvi-Santiago
b87ee81661 Fixed an issue identified by @SwampDragons when checking if the networkmapper configuration file exists. 2021-02-21 05:32:30 -06:00
Sergei Parshev
543c98bfee Added "attach_snapshot" parameter to vmware vmx builder 2021-02-18 15:16:28 -08:00
Megan Marsh
0f53699eb3 document builder id of artifact for each builder's output on website (#10580)
* document builder id of artifact for each builder's output on website

* document postprocessor artifact ids on website

* Fix links to new communicator page

Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2021-02-05 19:49:28 -05:00
Wilken Rivera
a0f53718aa Update redirects and URLs to legacy JSON template docs (#10530) 2021-01-27 09:08:59 -05:00
Megan Marsh
dc02831af3 skip credential validation if we are not exporting an image (#10520) 2021-01-25 10:53:51 +01:00
Ali Rizvi-Santiago
bae0c1d1ef Added a fallback to the vmware builder when trying to determine the networkmapping configuration.
Some instances of VMWare will not generate the networkmapping configuration (netmap.conf)
at the time of installation. To deal with this issue, we check for the networkmapping file
first, and then fallback to the networking file which also might exist and contain the
interface information that we require.

This fixes issue #10009.
2021-01-05 11:24:50 -06:00
Megan Marsh
d8ca215f5f Merge pull request #10405 from hashicorp/remove_sdk
Remove sdk
2020-12-18 09:21:57 -08:00
Megan Marsh
ca74fb2a5f fix test fixture path 2020-12-17 14:41:36 -08:00
Megan Marsh
a6b1da6b32 remove sdk 2020-12-17 13:29:25 -08:00
Megan Marsh
bd4a3935c7 Merge pull request #10388 from hashicorp/sdk_docs
Sdk docs
2020-12-16 15:30:47 -08:00
Megan Marsh
e03aa630cd add extra line before package declaration so this line does not become the synopsis of a package for godoc 2020-12-16 15:14:43 -08:00
Megan Marsh
3d9c104719 Document exception to encryption (#10395)
* Update docs on ebs encrypt_boot to clarify that packer will not override global account settings

* Update struct-markdown generator and regenerate partials with new website location. This overwrites some linting that got automatically applied when the files got moved
2020-12-16 10:35:34 +01:00
Megan Marsh
6d68d6b43e Merge pull request #10384 from Pyrrvs/vmware-dhcp-leases-bigsur
make packer compatible with MacOS BigSur by using Apple DHCP leases instead of VMWare leases
2020-12-14 16:30:50 -08:00
Megan Marsh
94a6d80d53 Merge pull request #10345 from hashicorp/je.mdx-remote
Implement MDX Remote
2020-12-14 15:54:39 -08:00
Jeff Escalante
cf30d89535 remove layout frontmatter prop 2020-12-14 18:20:03 -05:00
Jeff Escalante
6815c644f6 refactor to mdx remote 2020-12-14 18:20:01 -05:00
Pyrrvs
842f9fa48d handle apple dhcp lease with missing 'name' and 'lease' informations 2020-12-14 19:16:00 +01:00
Pyrrvs
f86a3e32de improve parser by skipping all lines containing a '{' or a '}'. fix unecessary []byte cast (linter issue). 2020-12-14 01:00:24 +01:00
gla
cd5d61252c make packer compatible MacOS BigSur by making vmware fusion drivers able to lookup the VM IP address in apple dhcpd leases instead of vmware leases. 2020-12-13 23:26:53 +01:00
Megan Marsh
6c42779eed Merge pull request #10340 from hashicorp/acceptance_test_fix
Modify vmware_vmx and docker acceptance tests to use builderT framework
2020-12-04 09:28:38 -08:00
Megan Marsh
fa801fddd9 move builder/testing to acctest inside sdk 2020-12-03 11:57:06 -08:00
Megan Marsh
ee41a88358 remove commented code 2020-12-03 11:32:05 -08:00
Megan Marsh
6d13c5ec8a Modify vmware_vmx acceptance tests to use builderT framework
Modify builderT framework to enable use of shell and file provisioners
2020-12-03 11:25:02 -08:00
Megan Marsh
1b8894c2a6 Merge pull request #10329 from hashicorp/sdk_testing_2
Sdk testing 2
2020-12-03 10:35:43 -08:00
Megan Marsh
fd89d93637 move packer config constants next to the packer config 2020-12-03 10:17:35 -08:00
Megan Marsh
37a4759a0d move TestUi func to sdk 2020-12-03 10:15:30 -08:00
Megan Marsh
7247bbd2f5 move builder/testing framework into sdk; it imports the core but I think we just need to accept that. It doesn't expose the core directly to the SDK. 2020-12-02 09:46:42 -08:00
Megan Marsh
653ce19580 Merge pull request #10325 from hashicorp/move_comm_helper
Move comm helper
2020-12-02 08:52:28 -08:00
Megan Marsh
94a6106e27 move helper/communicator dir into packer-plugin-sdk
fix imports; fix website and generated partials
2020-12-02 08:41:32 -08:00
Megan Marsh
5d1f241aba move postprocessor to sdk, fix generation code 2020-12-02 08:41:31 -08:00
Megan Marsh
35c386fb40 move provisioner interface into sdk 2020-12-02 08:41:31 -08:00
Megan Marsh
ce7552fe3e extract builder interface to sdk 2020-12-02 08:41:31 -08:00
Megan Marsh
38b47faf21 move postprocessor to sdk, fix generation code 2020-12-01 14:48:55 -08:00
Megan Marsh
45075d94f6 move provisioner interface into sdk 2020-12-01 14:25:14 -08:00
Megan Marsh
7b86f7c688 extract builder interface to sdk 2020-12-01 13:42:42 -08:00
Megan Marsh
328ebc54be fix tests by moving mock hooks and communicators, and BasicUi definition, into SDK 2020-11-30 14:30:30 -08:00
Megan Marsh
39f90680c6 Move hook and communicator definitions to packer-plugin-sdk 2020-11-30 14:30:30 -08:00
Megan Marsh
d28376d743 move Artifact and artifact mock to the sdk 2020-11-30 14:29:52 -08:00
Megan Marsh
d619914d94 move multierror and multierrorappend into sdk 2020-11-30 14:29:06 -08:00
Megan Marsh
9750fc2e22 move Ui definition into the packer plugin sdk. 2020-11-30 14:26:54 -08:00