Commit graph

59 commits

Author SHA1 Message Date
Lucas Bajolet
199a751353 docs: remove trailing whitespaces from the docs 2024-08-08 10:14:20 -04:00
Lucas Bajolet
6514a66131 docs: update manually installing plugins docs
The installing plugins docs had information on manually installing
plugins that was misleading a bit, so we update that section with this
commit.
2024-08-08 10:14:20 -04:00
Wilken Rivera
d406613387
Document use of TMPDIR required for remote plugin installation (#13056)
* Document use of TMPDIR required for remote plugin installation

* Update website/content/docs/configure.mdx

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

---------

Co-authored-by: Lucas Bajolet <105649352+lbajolet-hashicorp@users.noreply.github.com>
2024-06-17 17:32:42 -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
Steven Kalt
766c3d7fef docs: consistent code blocks around types 2024-05-31 11:15:55 -04:00
Lucas Bajolet
a9ba14f505 website: fix myawesomecloud reference
When updating the docs in prevision for Packer 1.11.0, we changed the
templates that show how plugins are installed/discovered with commands
like packer init.

While doing so, a template had its component renamed to coolcloud, but
the following prose did not change, making the text inconsistent.

Since there are other mentions of myawesomecloud in the codebase, we
choose to settle on this one for that example too.
2024-05-20 12:39:14 -04:00
Lucas Bajolet
9f3dd5b72a website: update install plugins docs
Since we're changing how packer manages plugin installation with 1.11.0,
we reflect those changes to the website documentation.

Now, we only describe the packer init and packer plugins install
commands, along with the `--path` flag for installing from a local
source.

The explanations of how packer discovers and picks which version of a
plugin to load are also included, along with the list of constraints
that determine whether a plugin can be considered or not to be loadable.
2024-05-14 14:05:17 -04:00
Wilken Rivera
bb8e1947da Fix invalid path for copy command 2024-03-11 14:36:55 -04:00
Wilken Rivera
4d38323ae1 Remove external Plugins from left navbar 2024-02-08 09:19:54 -05:00
Wilken Rivera
08d41c2679
Fix URL rewrite check error for DevDot portal (#12818)
Refer to job https://github.com/hashicorp/packer/actions/runs/7709708630/job/21011464094
2024-01-30 15:33:21 -05:00
Wilken Rivera
1e6041ab05 docs/plugins:Fix incorrect plugin directory path 2024-01-30 05:25:57 -05:00
Wilken Rivera
9d46c90c03 Apply suggestions from code review
Co-authored-by: Lucas Bajolet <105649352+lbajolet-hashicorp@users.noreply.github.com>
Co-authored-by: Sylvia Moss <moss@hashicorp.com>
2023-12-05 16:15:12 -05:00
Wilken Rivera
9565eca354 Remove reference to deprecated single components 2023-12-05 16:15:12 -05:00
Wilken Rivera
e2a2a08f56 Add example shell commands for copying integration files into plugin repository 2023-12-05 16:15:12 -05:00
Wilken Rivera
149a8095e1 Address review feedback 2023-12-05 16:15:12 -05:00
Wilken Rivera
6d7d266bb6 Replace relative links 2023-12-05 16:15:12 -05:00
Wilken Rivera
c0de07c32e Document process for registering a plugin as a Packer Integration 2023-12-05 16:15:12 -05:00
Lucas Bajolet
97e2e9e637 docs: add exerpt on packer plugins install --path 2023-12-04 16:34:31 -05:00
Lucas Bajolet
24430e27be docs: reorganise plugin installation docs
The current documentation about installing plugins does not explain
(outside of the `packer init' section) how Packer discovers plugins,
what the expected file system hierarchy should be, and the quirk of how
this takes precedence over the rest when `required_plugins' is
specified.

This commit addresses that by reorganising the page to highlight general
usage questions on sources and plugins, and simplifies the tabs below to
only highlight installation methods.
2023-11-30 09:40:06 -05:00
Lucas Bajolet
35d20c25b9 docs: rm implicit github urls from install guide
This section is redundant with the explanations given above, and can
therefore be removed from the docs.
2023-11-30 09:40:06 -05:00
Lucas Bajolet
aad03ba12b docs: reorg plugins installation tabs
In order to better document packer plugins installation methods, and
since `packer plugins install' is not really manual, we split in two
sections the "manual installation".

As this is legacy, we stop documenting how to install single-component
plugins, and reword the documentation for manually installing a plugin.
2023-11-30 09:40:06 -05: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
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
Ashlee M Boyer
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 <kendallstrautman@gmail.com>
Co-authored-by: Wilken Rivera <wilken@hashicorp.com>
Co-authored-by: Kendall Strautman <36613477+kendallstrautman@users.noreply.github.com>
2023-01-27 09:47:08 -08:00
Zach Shilton
879fd9035c
fix: update redirected and broken links (#12060)
* website: fix broken links on /docs/templates

* fix: redirected install-plugins link

* fix: debugging link

* fix: secrets manager link in docs

* fix: secrets manager link in source

* fix: amazon ami plugin link in docs

* fix: amazon ami plugin link in source

* fix: extending plugins link

* fix: plugins/builders/amazon links

* fix: various builders links

* fix: various amazon builder links

* fix: redirected terminology link

* fix: custom-provisioners link

* fix: docker-push redirected plugin link

* fix: googlecompute plugin links

* fix: hyperv iso plugin links

* website: update link to hcl upgrade guide

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

Co-authored-by: Wilken Rivera <wilken@hashicorp.com>
2022-10-21 11:00:58 -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
Laura Pacilio
8765cd3cab
Content munge devportal (#11982)
* Update content for devdot

* more edits

* Update website/content/docs/templates/hcl_templates/blocks/index.mdx

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

* Update website/content/docs/datasources/index.mdx
2022-09-14 16:16:39 -04:00
Dan Barr
d2c83c4944 Update Golang references to Go
* Fix any "golang" to just "Go"
* Update golang.org URLs to go.dev
2022-08-05 13:42:56 -04:00
Dan Barr
ab29b187b1 Fix capitalizations in docs
* Brands (HashiCorp, VMware)
* Various OS/languages (Windows, Unix, Linux, POSIX, Python, PowerShell)
* Various abbreviations (ID, VM, HTTP)
2022-08-05 13:42:56 -04:00
Adrien Delorme
7661e41412
reference main branch instead of master branch (#11652)
using search-n-replace
2022-03-10 16:07:02 +01:00
Sai Diliyaer
08f26e7870
Website: Fix the hashicorp/packer link on the plugins creation page (#11629)
It's currently linked to `github.com/packer` which seems to be an unrelated personal GitHub repo.
2022-03-05 07:38:38 -05:00
Ygal Blum
30813e743d
Fix secret name to GPG_PASSPHRASE (#11586) 2022-02-24 10:53:23 -05:00
Ethan Davidson
f9606a1352
plugin manifest file has been renamed (#11508) 2022-01-24 12:46:47 +01:00
Kevin Wang
b3341164cf
feat: extract /plugins (#11464)
* feat: extract `/plugins`

Co-authored-by: Zachary Shilton <4624598+zchsh@users.noreply.github.com>
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2022-01-11 10:26:05 -05:00
Zachary Shilton
cae7bd9e5b
feat(website): add official and HCP Packer Ready labels (#11449)
* refactor(website): use prop and CSS for plugin label spacing

* fix: add official tier label to built-in plugin docs

* feat(website): add BadgesHeader component

* refactor(website): use BadgesHeader in all content

* feat(website): add HCP ready demo, tweak badge look

* refactor: integrate work from add-plugin-version branch

* fix(website): correct bad import

* fix: use updated MDX custom component

* chore: remove plugin version label work from this branch

* chore: remove unused var

* fix: use new BadgesHeader interface for dual tags

* chore: remove unused var, refine comment

* fix: remove unused broken import

* fix: shorten property for HCP packer readiness

* Apply suggestions from code review

Remove a few demo labels before merging

Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2021-12-17 10:22:16 -05:00
Wilken Rivera
fe2d302421
Bump Packer plugin program navigation up one level (#11390)
* Bump Packer plugin program navigation up one level

* Fix file path
2021-11-10 14:28:18 -05:00
Sylvia Moss
d8a5ae729f
Add docs for plugins HCP Packer support (#11389)
* add docs hcp support for plugins

* fix golang format

* Update website/content/docs/plugins/hcp-support.mdx

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

* Update website/content/docs/plugins/hcp-support.mdx

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

* Update website/content/docs/plugins/hcp-support.mdx

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

* improve docs

* change page title

* Apply suggestions from code review

Co-authored-by: Wilken Rivera <wilken@hashicorp.com>
2021-11-10 13:11:29 -05:00
Kerim Satirli
bc6f1e36e6
Fixes typos in docs (#11322)
* fixes typos in base docs

* fixes typos in example code

* fixes typos in website docs

* fixes link to Terraform provider

* fixes typo in function name
2021-10-11 10:19:49 +02:00
Wilken Rivera
4ab255caba
Update absolute links to relative (#11068)
* Update absolute links to relative

* Update packer-integration-program.mdx

Fix case for component names
2021-06-04 11:58:51 +02:00
Wilken Rivera
f3f58b1c39
Add Packer Integration Program page (#11042)
* Initial draft of Packer Integration Program docs page

- [ ] Add text from program document.
- [ ] Fix image alignment
- [ ] Fix Checklist alignment (remove bullets if possible)
- [ ] Validate with program team

* Fix broken markdown

* fix styling on centered image and checklist

* revert package-lock update

* Update packer-integration-program.mdx

Fix a few formatting issues

Co-authored-by: Jeff Escalante <jescalan@users.noreply.github.com>
2021-05-25 09:22:12 -04:00
Wilken Rivera
a8db14ab6b
Fix broken links (#11016) 2021-05-13 12:16:04 -04:00
Sylvia Moss
0bd7b20bb8
website: add the possibility to fetch a local docs.zip for remote plugins (#10973) 2021-04-23 16:33:32 +02:00
Zachary Shilton
ab0d1ee363
website: fix edit links for remote plugins (#10884)
* website: fix issue with edits links, use branch name, not version

* website: patch layout shift issue related to global style

* website: update plugin config docs with sourceBranch

* website: tweak spacing above plugin tier label

* website: add note on default value for sourceBranch
2021-04-08 10:09:58 -04:00
Zachary Shilton
830140157d
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
Wilken Rivera
f6dbc3e78a
Update steps for generating the remote plugin docs.zip file (#10846)
* Update steps for generating the remote plugin docs.zip file

* Update a few typos

* Fix tabbing issue
2021-03-30 17:12:28 -04:00
Adrien Delorme
a9bec7945e
remove .mdx extensions in links (#10823)
Some of them were added in #10800 some where already there
2021-03-25 14:02:21 +01:00
Sylvia Moss
505cbd2591
Vendor amazon plugin (#10800)
* remove amazon from core
* vendor amazon plugin
* remove website content
* Add amazon to docs-remote-plugins
* update amazon reference links in the documentation
* update amazon docs version to latest

Co-authored-by: Adrien Delorme <adrien.delorme@icloud.com>
2021-03-25 13:37:48 +01:00
Megan Marsh
6c8e997d19
Update website/content/docs/plugins/creation/index.mdx 2021-03-11 16:42:55 -08:00
Adrien Delorme
b2d692c33d Give a list of working projects to checkout 2021-03-11 11:48:23 +01:00