Commit graph

246 commits

Author SHA1 Message Date
anshulSharma
3c867aa571
docs: add upgrade/release notes for 1.13.0 (#13394)
* docs: add upgrade/release notes for 1.13.0

* docs: add upgrade/release notes for 1.13.0
2025-06-04 08:15:16 +05:30
karthik P
6ef741d5f5 adding fn to nav data json 2025-04-28 10:51:47 +05:30
Karthik P
51eeadba3d
feat: add sum, startswith and endswith functions
This commit adds 3 new HCL2 functions:

* `sum`: computes the sum of a collection of numerical values
* `startswith`: checks if a string has another as prefix
* `endswith`: checks if a string has another as suffix
2025-04-14 11:49:36 -04:00
trujillo-adam
10fa414030
Merge pull request #13286 from hashicorp/docs/packer-seo-fy2025q4
Docs/packer seo fy2025q4
2025-02-03 10:59:36 -08:00
trujillo-adam
0c0f7a6c41
Merge pull request #13282 from hashicorp/docs/packer-seo-templates-batch1
Docs/packer seo templates batch1
2025-01-29 10:41:19 -08:00
trujillo-adam
c5036e233d
Merge pull request #13273 from hashicorp/docs/packer-seo-provs
updated provisioners reference topics
2025-01-24 14:18:57 -08:00
trujillo-adam
b42e78ae1a
Merge pull request #13272 from hashicorp/docs/packer-seo-builders-plugins
Docs/packer seo builders plugins
2025-01-24 14:13:26 -08:00
trujillo-adam
ba3c07bf66 legacy json template ref 2025-01-24 12:28:52 -08:00
trujillo-adam
7645ee0ff4 updated provisioners reference topics 2025-01-23 19:41:57 -08:00
trujillo-adam
da35666689 buiders, plugins, and some top-level pages 2025-01-23 16:02:43 -08:00
Lucas Bajolet
298be01fb6 docs: add upgrade/release notes for 1.12.0 2025-01-23 15:10:06 -05:00
trujillo-adam
8eb277b122 seo improvements data sources references 2025-01-21 19:30:41 -08:00
Devashish
2e609231b4 website: add docs for the hcp-sbom provisioner 2025-01-21 16:57:50 -05:00
Martin Grogan
cb4965d53a hcl2template: add anytrue function
this function add the hcl2 anytrue function which takes a collection and
return true if any of the element is true.
2025-01-21 10:07:10 -05:00
Martin Grogan
476ddc3810 hcl2template: add alltrue function
add an hcl2 function that return true if all the value in a collection
are true, this function was derived from terraform codebase
2025-01-21 10:07:10 -05:00
Martin Grogan
35682265c4 docs: add strcontains function doc 2024-12-05 16:04:00 -05:00
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