Commit graph

12 commits

Author SHA1 Message Date
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
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
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
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
1e27138857
plugins: Update Packer plugin documentation with details for remote plugin docs (#10718)
* Add instructions for registering remote plugin documentation

* Add documentation to plugins page about tiers and namespaces

* Update tiers

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

Co-authored-by: Megan Marsh <megan@hashicorp.com>

* Add missing section for single-component install

Co-authored-by: Megan Marsh <megan@hashicorp.com>
2021-03-09 13:06:11 -05:00
Bruno Bigras
5515d7293f
fix typo in website/content/docs/plugins/index.mdx 2021-02-22 23:30:11 +00:00
Adrien Delorme
8208f425c8 addrs: remove Plugin.ForDisplay func, the String one does the job
to make things less confusing
2021-02-15 15:32:42 +01:00
Adrien Delorme
72e4dc4cb5 update docs to remove 'magic' required_plugin block usages 2021-02-15 13:58:58 +01:00
Megan Marsh
bd7b31853e
Multi plugin naming (#10608) 2021-02-15 11:10:43 +01:00
Adrien Delorme
0f34592daa
packer init doc clarification (#10558)
* Packer has no state like Terraform has

* init command docs: tell where a plugin will be installed

* docs: add a note that packer init does not work with legacy JSON templates

* docs: add a not that packer init does not install single-plugin binaries

* the plugin getter => packer init

* Update init.mdx

* grammar

* link to how to install plugins manually

* Update website/content/docs/commands/init.mdx

Co-authored-by: Sylvia Moss <moss@hashicorp.com>

* Update website/content/docs/commands/init.mdx

Co-authored-by: Sylvia Moss <moss@hashicorp.com>

Co-authored-by: Sylvia Moss <moss@hashicorp.com>
2021-02-05 13:26:58 +01:00
Adrien Delorme
ed091163be
HCL2 Parse packer.required_plugins block + packer init (#10304)
This adds the new `required_plugins` block to be nested under the packer block.

Example:
```hcl
packer {
  required_plugins {
    aws = {
      version = ">= 2.7.0"
      source = "azr/aws"
    }
    azure = ">= 2.7.0"
  }
}
```

For example on darwin_amd64 Packer will install those under :
* "${PACKER_HOME_DIR}/plugin/github.com/azr/amazon/packer-plugin-amazon_2.7.0_x5.0_darwin_amd64"
* "${PACKER_HOME_DIR}/plugin/github.com/hashicorp/azure/packer-plugin-azure_2.7.0_x5.0_darwin_amd64_x5"

+ docs
+ tests
2021-02-02 18:05:04 +01:00