Commit Graph
5029 Commits
Author SHA1 Message Date
Lucas Bajolet 2b32903fe3 Document PLSP-related environment variables
Since we added support for PLSPs recently, and it will be released as part of 1.9.3, we add some documentation regarding the environment variables we added, and a note regarding their relation to PLSP support.
2023-08-16 11:44:32 -04:00
Wilken Rivera c575946e4d Update terminology to reflect community editions of Packer (#12571) 2023-08-11 15:20:50 -04:00
Lucas Bajolet 392232933f website: add usage notice to init
The `packer init' command's wording was not clear, so it was changed in
a preceding commit, and this commit aims to add more details on how the
command is meant to be used, along with a simple example.
2023-07-25 16:45:32 -04:00
Kévin Dunglas 739b2acd20 docs: fix typo (#12493) 2023-07-19 17:35:26 -04:00
dependabot[bot] e9e4534321 build(deps): bump tough-cookie from 4.0.0 to 4.1.3 in /website
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.0.0 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.0.0...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-07-19 17:34:15 -04:00
dependabot[bot] 02f1d50587 build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 in /website
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-07-19 17:33:21 -04:00
GaryNgandLucas Bajolet 58b193f221 Use backtick to prevent html parsing
Co-authored-by: Lucas Bajolet <[email protected]>
2023-07-19 11:54:11 -04:00
GaryNg cc1e2fca78 Prefix url with product slug 2023-07-19 11:54:11 -04:00
GaryNg 5271c28749 Add closing code block 2023-07-19 11:54:11 -04:00
akkuman 0e3de18e98 fix: revise env var PACKER_PLUGIN_PATH
ref: https://github.com/hashicorp/packer/pull/8616/files#diff-0e426a43248661127a0c0ee115aef7a1093b635f8993b3f7ebb1dd9f05b8f249R153
2023-07-13 09:21:09 -04:00
Lucas Bajolet 8beddcf52a website: fix header on configure page
When the config file header was reworked, an erroneous link was
included and placed so close to the header that it was rendered verbatim
in the final documentation page.

By adding an extra empty line in between the anchor link and the header,
this renders correctly.
2023-07-12 12:45:42 -04:00
Wilken Rivera 9c85fc274a Update plugin loading documentation (#12485)
Packer checks a number of directories for plugins upon initialization,
with the introduction of multi-component plugins and underlying changes
to the Packer SDK the ordering changed slightly. These changes update
the related documentation to reflect the new ordering, and adds a plugin
loading ordering section to the docs to help users discover how plugin
loading works.

Include in this change are updates to the PACKER_CONFIG_DIR environment
variables to reflect the XDG base directory specification used as the
default Packer configuration directory layout.

* Update website/content/docs/configure.mdx
2023-07-06 16:00:36 -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
Lucas BajoletandWilken Rivera aeffaa790f docs: add a paragraph on fingerprint generation (#12464)
* docs: add a paragraph on fingerprint generation

Since version 1.9.0+ changed the way Packer generates fingerprints for
HCP Packer, we add a small paragraph to explain how it used to be
generated before, and how it changed in this version.

* Apply suggestions from code review

---------

Co-authored-by: Wilken Rivera <[email protected]>
2023-06-15 15:09:00 -04:00
Lucas Bajolet 925cb5e541 hcp: support HCP_PROJECT_ID environment variable
With HCP supporting multi-projects now, Packer needs to take it into
account when picking a project from an organisation.

This commit adds two cases:

1. multiple projects are defined, none is supplied through
   HCP_PROJECT_ID: in this case we will default to the oldest project
   defined for the organisation.

2. we supply HCP_PROJECT_ID: in this case, we pick the project with the
   corresponding ID, and use it for publishing metadata.
2023-06-01 14:39:09 -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
Samuel Phan 09e9643881 docs: add missing end quote 2023-05-29 13:33:17 -04:00
Orien Madgwick 69c6852d57 Align Packer logo color 2023-05-22 13:58:04 -04:00
josiahsmythe-bah f81e9c2222 Fixed formatting issue 2023-05-03 11:38:52 -04:00
Wilken Rivera f809cbce5f Remove circular reference between data source documentation pages
* Update the data source documentation with a link to the amazon-ami configuration reference guide.

Closes #12336
2023-04-28 16:30:01 -04:00
Lucas Bajolet 1ad92b0759 docs: add docs to show diffs between JSON and HCL2 2023-04-28 13:58:45 -04:00
Quentin L 00db5bfff8 Fix url git repository modern Windows version in the Autounattend Windows Guide (#12382) 2023-04-28 06:40:51 -04:00
485e080725 clarify local and input variables (#12334)
* clarify local and input variables

* Apply suggestions from code review

Co-authored-by: Rose M Koron <[email protected]>

* Apply suggestions from code review

Co-authored-by: Rose M Koron <[email protected]>
Co-authored-by: Wilken Rivera <[email protected]>

* Apply suggestions from code review

Co-authored-by: Wilken Rivera <[email protected]>

---------

Co-authored-by: Rose M Koron <[email protected]>
Co-authored-by: Wilken Rivera <[email protected]>
2023-04-12 18:05:29 -04:00
Ernst-Christian Kloeden 8d93b3fbd4 website: fix typo in documentation of validate command (#12344) 2023-04-05 09:52:10 -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 GriggsandLucas Bajolet 004471835a Update website/data/plugins-manifest.json
adding comma!

Co-authored-by: Lucas Bajolet <[email protected]>
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
Bryce Kalow fc0ed29264 website: adds content-check command and README update (#12317) 2023-03-21 14:49:21 -05:00
Alan Szlosek Jr 6d6727b42b add meta descriptions (#12315)
* add meta descriptions

* rework

* tweak

* clean up hcl description

* gt dash
2023-03-16 10:05:18 -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
Kendall Strautman 1feff93791 Update community-tools.mdx 2023-01-27 14:32:51 -05:00
50da6c8dc8 docs: Migrate link formats (#12192)
* Adding check-legacy-links-format workflow

* Adding test-link-rewrites workflow

* Migrating links to new format

* Updating docs-content-check-legacy-links-format hash

* chore: update source

* Update generated partials from Packer plugin SDK

* Bump packer-plugin-sdk to get latest packer-sdc

* Update website/content/docs/templates/hcl_templates/blocks/build/provisioner.mdx

* Update Plugin SDK to fix shell-local regression

---------

Co-authored-by: Kendall Strautman <[email protected]>
Co-authored-by: Wilken Rivera <[email protected]>
Co-authored-by: Kendall Strautman <[email protected]>
2023-01-27 09:47:08 -08:00
Lucas Bajolet ec1d2e68f5 hcp: generate fingerprints on each new build
Fingerprints are how we link a packer build to an iteration on HCP.
These are computed automatically from the Git SHA in the current state,
and are unique to the bucket/iteration.

The main problem with this approach is that while sound in theory, it
quickly falls apart when users want to run the same build configuration
twice, but expect a new image to be created.

With the current model, this fails, as the iteration with the current
SHA already exists.

While this is solvable through environment variables, or by committing a
change to the repository, we think this is not clear enough, and causes
an extra step to what should otherwise be a simple process.

Therefore, to lower the barrier of entry into HCP, we change this
behaviour with this commit.

Now, fingerprints are randomly generated ULIDs instead of a git SHA, and
a new one is always generated, unless one is already specified in the
environment.

This makes continuation of an existing iteration a conscious choice
rather than something automatic, and virtually eliminates conflicts such
as the ones described above.
2023-01-25 15:29:26 -05:00
lonegunmanb 6137745cc1 Update variables documentation to refer to Packer not Terraform (#12220) 2023-01-25 10:39:33 -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
lonegunmanb ba546eb8cb correct document issue in provisioner block doc (#12210) 2023-01-24 10:21:54 -05:00
craigpero 38d0bc818d Update index.mdx
In trying the example, I found that you have to type "*.second-example" for the expected results.   I took the command line on line #78 literal and it didn't work as typed. When I used my proposed change... it worked for me.
Alternatively, "*.second*" works but that could grab builders that were not intended.
2023-01-20 14:53:53 -05:00
dependabot[bot] 6e96b9e10f build(deps): bump json5 from 1.0.1 to 1.0.2 in /website (#12185)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-19 14:03:15 -05:00
Gary McDonald 86a6044577 Fix the spelling of several words within the README.md stored in the website/ project directory. (#12197)
Signed-off-by: Gary McDonald <[email protected]>

Signed-off-by: Gary McDonald <[email protected]>
2023-01-19 14:00:45 -05:00
Ashlee Boyer b46fafe871 Updating old learn link 2023-01-16 09:38:53 -05:00
Ashlee Boyer 09ec2fc5bf Updating link to use cases docs page 2023-01-16 09:38:53 -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
HashiBot 97bdeadbe6 chore: Update Digital Team Files (#12139)
* Update generated website Makefile

* Update generated scripts (should-build.sh)

* Update generated scripts (website-start.sh)

* Update generated scripts (website-build.sh)
2022-12-05 11:53:10 -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