Skip to content

[pull] master from hashicorp:master#76

Open
pull[bot] wants to merge 90 commits intoMaxMood96:masterfrom
hashicorp:master
Open

[pull] master from hashicorp:master#76
pull[bot] wants to merge 90 commits intoMaxMood96:masterfrom
hashicorp:master

Conversation

@pull
Copy link

@pull pull bot commented Jan 13, 2022

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

* 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!
@pull pull bot added the ⤵️ pull label Jan 13, 2022
nywilken and others added 27 commits January 14, 2022 15:22
* 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
Wilken Rivera and others added 28 commits March 2, 2022 15:23
…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.
* 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
@nywilken nywilken deleted the branch MaxMood96:master March 10, 2022 14:29
@nywilken nywilken deleted the master branch March 10, 2022 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.