Commit Graph
18838 Commits
Author SHA1 Message Date
Jenna GoldstrichandWilken Rivera 1dd7532846 Support packer plugins installed plugins in JSON (and HCL without required block) (#11712)
* Parse plugins from nested installed directories in json/non-required block HCL

* Add Packer Plugins installed test

* Add checksum validation for multi-component plugins installed by the packer plugins subcommand (#11732)

This change copies a bit of the logic in hcl2template/plugin in order to
strengthen the check for multi-component plugins installed via the
`packer plugins install` commands.

* Replace ioutil with os pkg

In go1.16 the ioutil std lib package was deprecated in favor of the os
and io packages. This change just updates all Temp creation methods to
their os pkg equivalents.

Co-authored-by: Wilken Rivera <[email protected]>
2022-04-21 15:14:47 -04:00
Bryce Kalow 1881ecede5 updates platform-cli to latest (#11727) 2022-04-21 10:16:10 -04:00
Wilken Rivera ca825d7a6a Remove markdown link checker (#11722)
The Markdown link checker currently deployed has served its purpose for
the time being. It is being removed to avoid failed checks on PRs, while
we evaluate alternative solutions used by other HashiCorp repositories.
2022-04-21 10:15:40 -04:00
Bryce Kalow 1c0d3ad93d website: website source code / content split (#11716) 2022-04-20 15:51:18 -05:00
Wilken Rivera e2dc5a7137 Update community note on GitHub issue templates (#11715)
In an effort to help prioritize issues (i.e bugs and feature requests) that are important to the community
the community note pertaining to issue voting has been moved to the top of each
template with a comment informing users not to delete it. The goal is to
rely more on votes for feature requests and issues that are not critical.

Critical issues being crashes, regressions, security vulnerabilities, and broken features.
2022-04-15 11:26:29 -04:00
Wilken Rivera 202f93f6a9 Update issue-labeler action (#11699)
The latest release of the action requires the field
enable_versioned_regex to be set. We currently don't use
versioned_regex. So this change sets the field to false.
2022-04-12 17:57:00 -04:00
Zachary Shilton a88d54c310 fix(website): remove empty index pages (#11702) 2022-04-11 16:08:39 -04:00
Michele Degges 4801fae3df [RelAPI Onboarding] Add release API metadata file (#11683) 2022-03-23 11:16:01 +01: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
Adrien Delorme 039155612a get go-getter 2.0.2, that won't untar OVA files (#11675) 2022-03-22 11:08:31 +01:00
Jenna Goldstrich ba130d2dec Merge pull request #11669 from hashicorp/linode-hcp-ready
Linode is HCP Packer ready
2022-03-18 08:43:21 -07:00
Jenna Goldstrich 5f00b15c2e Linode is HCP Packer ready 2022-03-16 14:23:01 -07:00
Wilken Rivera a7c37ee34d Add tests for the packer plugins subcommand (#11660)
* Add tests for plugins install command

* Add tests for plugins remove command

* Add PACKER_GITHUB_API_TOKEN to all test env

* Update dir hashes for non-darwin os

* Update tests with feedback from review
2022-03-15 16:32:49 -04:00
Jenna Goldstrich 7c704d3577 Merge pull request #11661 from hashicorp/digital-ocean-hcp-packer-ready
Digital Ocean is HCP Packer Ready
2022-03-14 12:56:19 -07:00
Jenna Goldstrich 3cf9985430 Digital Ocean is HCP Packer Ready 2022-03-14 12:41:32 -07:00
Wilken Rivera 98b8d41971 Update link checker to use main as base-branch (#11663)
Set configuration for base branch
Update config-file location to hidden mlc_config file
2022-03-14 15:38:12 -04:00
Michele Degges f8d1807abe Turn nvd security scanning off temporarily (#11657)
Related slack thread: https://hashicorp.slack.com/archives/C010VJT0FRP/p1646938611596409?thread_ts=1646936500.488179&cid=C010VJT0FRP.

This change needs to be backported to all active release branches.
2022-03-14 11:39:41 -04:00
Kevin Burnett 59a7f9140e Codify comment about error checking (#11653) 2022-03-10 18:52:15 +01:00
Patrick BandSylvia Moss 93ea7a5fc2 fix missing closing bracket for build {} section (#11654)
Co-authored-by: Sylvia Moss <[email protected]>
2022-03-10 16:18:07 +01:00
Adrien Delorme 7661e41412 reference main branch instead of master branch (#11652)
using search-n-replace
2022-03-10 16:07:02 +01:00
Wilken Rivera ec912cae9e Put in dev mode 2022-03-08 19:37:47 -05:00
Wilken Rivera 1f610310ea Update plugin tiers documentation (#11643)
* Add verified and archived tiers

* Bump documentation version for sshkey plugin

* Update website/content/partials/plugins/plugin-tiers-and-namespaces.mdx

Add link to HashiCorp Partners and Integrations page
2022-03-08 14:53:46 -05:00
Zachary Shilton d82135d4f5 website: support Verified pluginTier, support Archived badge (#11622)
* website: support Verified pluginTier, support Archived badge

* website: demo new plugin badges, should revert this later

* website: fix missing types, non-optional iconSvg prop

* Revert "website: demo new plugin badges, should revert this later"

This reverts commit ca4aeae831.

* feat: mark verified plugins and archived plugins

* website: move archived badge to be first badge shown

* fix: move archived badge next to version number
2022-03-07 15:11:47 -05:00
Pamela Bortnick 6f147eb78a Merge pull request #11607 from hashicorp/pb.alert-banner
Updates for HCP Packer
2022-03-07 14:04:36 -05:00
Bryce Kalow 05f828bd56 website: pin previous version of plugin (#11638)
packer-plugin-sshkey's latest release is missing the docs artifacts. Pinning to the old version here so that website builds can succeed.
2022-03-07 13:19:18 -05:00
Laura Pacilio 2ca4051dbb Merge pull request #11626 from hashicorp/update-docs-hcp-packer-ga
Remove Beta language from HCP packer docs
2022-03-07 11:57:52 -05: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
Wilken Rivera a91bd71b92 Cut release 1.8.0 2022-03-04 17:42:26 -05:00
Wilken Rivera c2b44019c2 Update CHANGELOG.md
Fix a few typos post release
2022-03-04 17:28:52 -05:00
Wilken Rivera 1c398a73b4 Set default file extension for binary removal on Windows (#11627)
Related to #11625
v1.8.0
2022-03-04 10:50:26 +01:00
Wilken Rivera 8e1e0329ad Bump external plugin versions
Bumping external plugins containing critical bug fixes or improvements
2022-03-03 20:17:50 -05:00
Laura Pacilio e47821f13b Remove beta language from data sources overview page 2022-03-03 18:51:29 -05:00
Laura Pacilio 4a61d4ad0b Add notes about deactivated registries 2022-03-03 18:48:08 -05:00
Laura Pacilio d4447c3c17 Fix langauge on docs intro page and templates build block page 2022-03-03 18:38:15 -05:00
Laura Pacilio 0c908a3a75 Remove Beta language from HCP packer data sources pages 2022-03-03 18:29:53 -05:00
Wilken Rivera 2ea4c38c35 Bump Go version 2022-03-03 17:31:53 -05:00
Wilken Rivera 46275de04f Update CHANGELOG 2022-03-03 17:31:36 -05:00
Wilken Rivera ea3c73a480 Set default file extension for binary installations on Windows (#11625)
This change sets the default file extension for binary installations on
Windows.

Results before change
```
$ packer plugins install github.com/hashicorp/amazon
9 errors occurred:
        * ignoring invalid remote binary packer-plugin-amazon_v1.0.8_x5.0_freebsd_arm64.zip: wrong system, expected windows_amd64
        * ignoring invalid remote binary packer-plugin-amazon_v1.0.8_x5.0_darwin_amd64.zip: wrong system, expected windows_amd64
        * ignoring invalid remote binary packer-plugin-amazon_v1.0.8_x5.0_freebsd_amd64.zip: wrong system, expected windows_amd64
        * ignoring invalid remote binary packer-plugin-amazon_v1.0.8_x5.0_linux_amd64.zip: wrong system, expected windows_amd64
        * ignoring invalid remote binary packer-plugin-amazon_v1.0.8_x5.0_darwin_arm64.zip: wrong system, expected windows_amd64
        * ignoring invalid remote binary packer-plugin-amazon_v1.0.8_x5.0_windows_arm64.zip: wrong system, expected windows_amd64
        * ignoring invalid remote binary packer-plugin-amazon_v1.0.8_x5.0_windows_386.zip: wrong system, expected windows_amd64
        * ignoring invalid remote binary packer-plugin-amazon_v1.0.8_x5.0_linux_arm.zip: wrong system, expected windows_amd64
        * could not find a packer-plugin-amazon_v1.0.8_x5.0_windows_amd64.zip file in zipfile

exit status 1
```

Results after change
```
$ packer plugins install github.com/hashicorp/amazon
Installed plugin github.com/hashicorp/amazon v1.0.8 in "C:/Users/Packer/AppData/Roaming/packer.d/plugins/github.com/hashicorp/amazon/packer-plugin-amazon_v1.0.8_x5.0_windows_amd64.exe"
```
2022-03-03 17:30:27 -05:00
Pamela Bortnick bf1b550e95 Add expiration date to banner 2022-03-03 12:43:25 -05:00
Wilken Rivera 70806cb27e Bump version for 1.8.0 release 2022-03-03 12:07:10 -05:00
Wilken Rivera 8dbde0fb38 Update CHANGELOG 2022-03-03 12:00:01 -05:00
Pamela Bortnick a2f8fc776e Update url 2022-03-03 10:50:22 -05:00
Pamela Bortnick 84a38a5d34 Change hero cta 2022-03-03 10:50:10 -05:00
Sylvia Moss c15d3a2e89 remove iteration revocation check (#11624) 2022-03-03 14:45:19 +01:00
Adrien Delorme 0ed3e1529c Add reference and link to the plugins command docs in the manual install part (#11620)
* Update installing-plugins.mdx

add reference and link to the plugins command docs
2022-03-02 12:07:01 -05:00
Wilken Rivera 28f8d86d7d Update CHANGELOG 2022-03-02 10:49:24 -05:00
Sylvia Moss 5135d68b5f do not fail for scheduled revocation (#11619) 2022-03-02 15:39:17 +01:00
Wilken Rivera bdaa03be31 Update monogo-driver to address CVE-2021-20329 (#11617) 2022-03-02 15:23:54 +01:00
Wilken Rivera ba8c468a72 [CI] Add publish-release step to nightly release workflow (#11618)
In reviewing the results of the nightly release workflow it was found
that upon creating the release it was successfully marked as a
prerelease. But it still needed to be manually publish as an official
prerelease. This change adds a new action to publish the created
release, as the last step.
2022-03-02 13:23:38 +01:00