[pull] master from hashicorp:master#76
Open
pull[bot] wants to merge 90 commits intoMaxMood96:masterfrom
Open
Conversation
* fix(algolia-index): npm install -g npm@latest * fix(algolia-index): `ts-node` * fix(algolia-index): ts errors
This PR introduces Versioned-Docs to Packer!
* Update CHANGELOG * add a link Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
Add note for deprecated provisioner plugins
Fix link to blog post
… variables (#11502) On a local developer machine there is a good chance the HCP_ORG_ID and HCP_PROJECT_ID are not set since the HCP Packer client can derive this information using the token/secret. This change initializes the location structure with the information obtained from the client and not the envs. Results of tests before change with no HCP_ORG_ID or HCP_PROJECT_ID set ``` par_test.go:185: (*packer_service.PackerServiceGetIterationOK)(nil) par_test.go:185: &{0 [] } (*models.GrpcGatewayRuntimeError) is not supported by the TextConsumer, can be resolved by supporting TextUnmarshaler interface --- FAIL: TestAcc_PAR_pkr_build (3.94s) FAIL FAIL github.com/hashicorp/packer/internal/registry/acctest 6.446s testing: warning: no tests to run PASS ok github.com/hashicorp/packer/internal/registry/env 0.318s [no tests to run] FAIL ``` Results of tests after change with no HCP_ORG_ID or HCP_PROJECT_ID set ``` 2022/01/18 12:23:48 ui: --> null.example: Published metadata to HCP Packer registry packer/pkr-acctest-temp-2/iterations/01FSQ3EPPY69PMXJSTTFYDPQ5R --- PASS: TestAcc_PAR_pkr_build (3.20s) PASS ok github.com/hashicorp/packer/internal/registry/acctest 5.121s testing: warning: no tests to run PASS ok github.com/hashicorp/packer/internal/registry/env 0.155s [no tests to run] ```
* Add example of marking Vault values as sensitive variables * Update website/content/docs/templates/hcl_templates/functions/contextual/vault.mdx
This changes includes details around the CLA requirements for first time contributors.
* prevent duplicate local block creation * remove duplicate locals block bug * local variables: first get block, then decode it + simplify retry loop * Update types.packer_config.go * revert go get of hcl lib
* Update psutils dep to avoid crash on m1 machine * go mod tidy
…all part (#11620) * Update installing-plugins.mdx add reference and link to the plugins command docs
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"
```
Bumping external plugins containing critical bug fixes or improvements
Fix a few typos post release
…11629) It's currently linked to `github.com/packer` which seems to be an unrelated personal GitHub repo.
Remove Beta language from HCP packer docs
packer-plugin-sshkey's latest release is missing the docs artifacts. Pinning to the old version here so that website builds can succeed.
Updates for HCP Packer
* 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 ca4aeae. * feat: mark verified plugins and archived plugins * website: move archived badge to be first badge shown * fix: move archived badge next to version number
* 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )