Commit graph

230 commits

Author SHA1 Message Date
Wenfeng Pan
1b160e5df0
Add base64gzip function support to Packer template 2024-08-13 14:53:29 -04:00
Lucas Bajolet
280266163c
docs: add plugin loading spec documentation (#13024)
* docs: add plugin loading spec documentation

The logic for discovering and loading plugins is not well documented on
the current documentation.
This causes issues for users that have to troubleshoot why a particular
plugin cannot be found or installed, so this commit adds a specification
document, detailing what are Packer's expectations when it comes to
discovering plugins.

* Apply suggestions from code review

* Update plugin loading specification navbar

---------
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2024-06-10 09:56:14 -04:00
trujillo-adam
d75975821f
Update plugins install docs for v1.11.0 (#12995)
* IPE-727 first commit, adds release notes

* content for the 1.11 release notes

* updates to init CLI reference

* updates to install plugins CLI reference

* updates to source information on the packer block configuration reference

* updated Packer configuration page

* updated plugins installation overview page

* updated plugins installation usage page

* added Upgrades section

* added outline for an upgrade page for this version

* added comments for upgrade page outline

* renamed install plugins mdx and added redirects

* Apply suggestions from code review

Co-authored-by: Lucas Bajolet <105649352+lbajolet-hashicorp@users.noreply.github.com>

* fix nav

* fix bad links

* applying additional feedback

* Apply suggestions from code review

Co-authored-by: Lucas Bajolet <105649352+lbajolet-hashicorp@users.noreply.github.com>

* integrated rationale into release notes

* removed 'upgrade from older version' section in the upgrade instructions

* docs: fill-in the upgrade/1.11 document

* Apply suggestions from code review

Co-authored-by: Wilken Rivera <wilken@hashicorp.com>

* edits to upgrade 1.11 and release note

* Apply suggestions from code review

Co-authored-by: Lucas Bajolet <105649352+lbajolet-hashicorp@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Lucas Bajolet <105649352+lbajolet-hashicorp@users.noreply.github.com>

---------

Co-authored-by: Lucas Bajolet <105649352+lbajolet-hashicorp@users.noreply.github.com>
Co-authored-by: Lucas Bajolet <lucas.bajolet@hashicorp.com>
Co-authored-by: Wilken Rivera <wilken@hashicorp.com>
2024-05-31 14:52:47 -04:00
Lucas Bajolet
accbe97e1e
hcl2template: add text(encode|decode)base64 funcs (#12997)
Compared to Terraform, Packer was lacking a capability to encode/decode
strings to/from base64-encoded text encoded with another encoding.

This could be problematic in some cases, mainly when working with
Windows, as most of the OS uses UTF-16LE as its standard encoding for
many operations.

Therefore, we take a page from Terraform here, and add those functions
to what Packer supports in an HCL2 context.
2024-05-30 14:24:46 +02:00
Wilken Rivera
4d38323ae1 Remove external Plugins from left navbar 2024-02-08 09:19:54 -05:00
Wilken Rivera
da65323918 Remove all external plugin docs
This change removes all external plugin docs using the old remote docs framework
from the Packer core documentation in favor of the Packer integration framework.
Remove plugins will be enabled on the integration portal and contacted to merge their PRs to finalize the integration migration.
2024-01-29 15:06:08 -05:00
Devashish
3fa637c608
Migrate HCP Packer to API V2 and new nomenclature changes (#12794)
* add hcp packer new nomenclature updates

* Update docs with nomenclature changes

* Update navigation bar links

* Bump github.com/hashicorp/hcp-sdk-go from 0.81.0 to 0.82.0

* fix acceptance test template

---------

Co-authored-by: sylviamoss <moss@hashicorp.com>
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2024-01-24 13:17:35 -05:00
Wilken Rivera
96755d2f7b Remove migrated integrations from plugin manifest
This change removes Scaleway and Mondoo from the external plugins manifest in favor
of the integration framework, which they have migrated to.
2024-01-17 10:23:37 -05:00
Lucas Bajolet
311a3b1d6a website: remove UpCloud from manifest
Since the UpCloud plugin has moved to the integrations model, we don't
want to continue looking for a docs.zip in their repo, as it doesn't
exist anymore with this migration.
2024-01-08 09:37:45 -05:00
Brian McClain
9afafd962f Pin UpCloud plugin version 2024-01-03 13:36:05 -05:00
Wilken Rivera
91a16aa8e0 Remove migrated plugins from old plugin docs framework
This change removes the following plugins from the old docs framework, as
they have been fully migrated to the integrations framework.

* ethanmdavidson/packer-plugin-git
* linode/packer-plugin-linode
* parallels/packer-plugin-parallels
* ivoronin/packer-plugin-sshkey
* cirruslabs/packer-plugin-tart
2023-12-05 09:40:03 -05:00
Tor Arne Vestbø
a1722abf07 website: Add community maintained IPSW data source Packer plugin 2023-10-05 14:19:52 -04:00
Wilken Rivera
7f7567f686 Remove plugins on the integration framework
The active plugins that resided in a HashiCorp repository have been migrated to
the integrations framework and no longer need to be listed within the plugins-manifest file.
2023-09-15 12:04:29 -04:00
Sk.Lv
6fa0d25c51 website: register ksyun docuement 2023-09-15 09:13:31 -04:00
Ilya Voronin
2325c7e9c7 Set ivoronin/packer-plugin-sshkey version to 'latest' 2023-08-25 10:55:11 -04:00
Wilken Rivera
8982d4f168
Migrate external Parallels plugin to Parallels/packer-plugin-parallels (#12476)
* Update external plugin documentation source

The Parallels plugin for Packer is now maintained by the Parallels team, under
their respective GitHub org. This changes updates the source address for
the external plugin that should be used for pulling new plugin
documentation.

* Removed packer-plugin-parallels for list of vendored plugins
2023-07-03 14:13:08 -04:00
Dylan Staley
18cc6edbd5 docs: move community tools to docs folder 2023-06-23 18:40:57 -04:00
Wilken Rivera
d67bacc8d3
Remove community plugins from the vendored plugins list (#12436)
This step removes community plugins from the Packer binary release. These plugins are being maintained and released independently of Packer and have become out of date. To ensure users are using the latest version of the plugins they are being removed in favor of the external plugin installation processes.
2023-05-30 11:25:28 -04:00
Lucas Bajolet
1ad92b0759 docs: add docs to show diffs between JSON and HCL2 2023-04-28 13:58:45 -04:00
Wilken Rivera
f678c06396
Migrate external UCloud plugin to ucloud/packer-plugin-ucloud (#12335)
* Update external plugin documentation source

The UCloud plugin for Packer is now maintained by the UCloud team, under
their respective GitHub org. This changes updates the source address for
the external plugin that should be used for pulling new plugin
documentation.

* Remove packer-plugin-ucloud from vendored plugins.
2023-04-04 20:47:47 -04:00
Chris Griggs
004471835a Update website/data/plugins-manifest.json
adding comma!

Co-authored-by: Lucas Bajolet <105649352+lbajolet-hashicorp@users.noreply.github.com>
2023-03-30 14:21:37 -04:00
Chris Griggs
93aef96924 Update Outscale plugin HCP Ready tag
Adding the HCP Ready tag to the Outscale plugin. The HCP compatibility was added in this PR: https://github.com/outscale/packer-plugin-outscale/pull/70
2023-03-30 14:21:37 -04:00
Wilken Rivera
20c2d48df7
Migrate external Linode plugin to linode/packer-plugin-linode (#12329)
* Update external plugin documentation source

The Linode plugin for Packer is now maintained by the Linode team, under
their respective GitHub org. This changes updates the source address for
the external plugin that should be used for pulling new plugin
documentation.

* Removed packer-plugin-linode for list of vendored plugins

The Linode plugin for Packer is now maintained by the Linode team, under
their respective GitHub org. This changes removes Linode from the vendored plugins
lists.
2023-03-29 12:43:50 -04:00
xuyaming0800
1d455cd1e3
Register documentation for Volcengine plugin (#12202) 2023-03-13 15:46:23 -04:00
Ilya Lukyanov
fb17f149f8
Add external data source plugin as a community integration (#12150) 2023-03-11 09:42:18 -05:00
Wilken Rivera
be6bf9dadd
website: Update plugin tier for Nutanix to partner verified (#12291) 2023-03-01 16:16:43 -05:00
Wilken Rivera
ad640c4224 Unpin Outscale documentation version 2023-01-24 18:39:17 -05:00
Wilken Rivera
da455bdd09 Add HCP Ready label to Oracle plugin in preparation for 1.0.4 release 2023-01-24 15:52:21 -05:00
Fedor Korotkov
5997724745 website: Added Tart builder
This PR add [`tart` builder](https://github.com/cirruslabs/packer-plugin-tart) to the list of all the builders.

Tart is a open-source toolset for building, running and managing Linux and macOS virtual machines on Apple Silicon. Part of the toolset is this packer plugin.
2022-12-12 15:13:23 -05:00
Christophe Jauffret
abb2f79155
Add Nutanix docs (#12131) 2022-12-05 11:58:59 -05:00
Lucas Bajolet
338c95b2eb datasource: remove packer-image-iteration
The `packer-image-iteration' datasource is an undocumented, and
unexported datasource, so it cannot be used by clients.

Since this is dead weight, we can remove it safely from the codebase.
2022-11-17 15:47:01 -05:00
Wilken Rivera
414b576def
[HPR-574] Add documentation for configuring Packer for HCP Packer (#12022)
* Add documentation for configuring Packer for HCP Packer

This change works to document the two configuration options for setting
up Packer to publish build artifacts to an active HCP Packer registry.
Currently the HashiCorp Cloud Platform documents the process for
configuring Packer via a HCL template, which is the preferred route.
This documentation focuses more on the use of environment variables for
configuring Packer for HCP Packer, which is necessary for legacy JSON
template users looking to publish to HCP Packer.

In light of the new HCP Packer documentation page we've opted for a shorter
version of the HCP Packer introduction section.

* Applying the first round of suggestions to tighten up the documentation.
* Move HCP Packer side bar to top
* Move intro into docs
* Add redirects for intro pages

Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
2022-10-24 12:51:14 -04:00
Laura Pacilio
72d9c07374 Remove sidebar entries that no longer exist 2022-10-14 08:37:11 -04:00
Zach Shilton
f9ba7dca5d
fix(website): sourceBranch for anka in plugins-manifest (#12004) 2022-09-19 20:12:45 -04:00
Laura Pacilio
d4b03769f2
Update plugin docs - devdot launch (#11978)
* Separate install instructions; add to external plugins

* Remove duplicate external plugin link; modify overiew page

* Remove unnecessary partials; clean up plugin overview page

* cleaning up plugin explanations

* final language updates

* modify external plugin overview page

* Update website/content/docs/plugins/index.mdx

Co-authored-by: Wilken Rivera <wilken@hashicorp.com>

* Update website/content/docs/plugins/install-plugins.mdx

Co-authored-by: Wilken Rivera <wilken@hashicorp.com>

* Move HCP Support to under developing plugins

* Link HCP Packer support to other dev pages; fix overviews

* clean up more language and links

* Add External Plugins link to docs sidebar under plugin section

* Update website/data/docs-nav-data.json

Co-authored-by: Wilken Rivera <wilken@hashicorp.com>
2022-09-15 18:12:37 -04:00
Zach Shilton
379a17fdca
fix(website): pin packer-plugin-outscale docs to 1.0.2 (#11986) 2022-09-14 13:35:26 -04:00
Scott Ford
0a1b1435b4
Adds packer plugin for Mondoo (#11951)
Signed-off-by: Scott Ford <scott@scottford.io>

Signed-off-by: Scott Ford <scott@scottford.io>
2022-08-22 16:27:17 -04:00
Dan Barr
aec214d0b8 Fix plugin nav titles
* Normalize branding/capitalizations
2022-08-05 13:42:56 -04:00
Dan Barr
ab69a2963b Update HTTP data source page title
* Capitalize HTTP
2022-08-05 13:42:56 -04:00
Wilken Rivera
c09f98686d
Add HCP Packer Ready badge to UpCloud (#11914) 2022-07-29 15:41:27 -04:00
Wilken Rivera
e12bbf3fb9
Update DigitalOcean plugin docs path (#11886) 2022-07-22 13:02:30 -04:00
Chris Griggs
30a263ec7f
Removing Huawei from plugin docs (#11888) 2022-07-21 07:42:29 -04:00
Wilken Rivera
9f64b99073
Add Packer Plugin Gridscale to plugins page (#11862)
* Add Packer Plugin Gridscale to plugins page

* Add verified tier badge
2022-07-07 14:06:28 -04:00
teddylear
805225a113
feat: add http datasource (#11658) 2022-05-17 19:26:34 +02:00
Kiss Tamás
b19980c26e
Add libvirt plugin (#11762)
This PR adds my packer plugin supporting remote builds on Libvirt hypervisors to the plugin manifest.
2022-05-16 11:31:51 +02:00
Zachary Shilton
90d3c20b7d
fix: work around deleted plugin release (#11771)
* fix: work around deleted plugin release

* fix: specify version for plugin without docs.zip
2022-05-10 13:09:48 -06:00
Bryce Kalow
1c0d3ad93d
website: website source code / content split (#11716) 2022-04-20 15:51:18 -05:00
Zachary Shilton
a88d54c310
fix(website): remove empty index pages (#11702) 2022-04-11 16:08:39 -04:00
Bryce Kalow
544efd71f4
website: unpin plugin version (#11680) 2022-03-22 16:18:06 -05:00
Bryce Kalow
78c62ded09
website: pin plugin version (#11677) 2022-03-22 13:30:26 -05:00