Commit Graph
18303 Commits
Author SHA1 Message Date
Jenna Goldstrich 69b9088e89 Update Changelog for 1.7.10 2022-02-02 13:51:19 -08:00
Frank Korving 19ce39077b Fixes link to tutorial in README (#11524) 2022-02-02 15:51:58 -05:00
Adrien Delorme 69373d8415 Update psutils dep to avoid crash on m1 machine (#11546)
* Update psutils dep to avoid crash on m1 machine

* go mod tidy
2022-02-02 13:56:18 +01:00
Xiaoyu Zhong 37b38f9cb6 Fix format in plugin-location.mdx (#11543) 2022-01-31 11:20:45 +01:00
Adrien Delorme 5d17d7fe65 prevent duplicate local block creation (#11534)
* 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
2022-01-28 13:21:53 -05:00
teddylear 1d01ad3651 feat: print all locals errors when there is a circular error (#11527) 2022-01-27 14:40:45 +01:00
Wilken Rivera 4550d9ddae Update CONTRIBUTING guide for Packer (#11532)
This changes includes details around the CLA requirements for first time
contributors.
2022-01-26 16:03:00 -05:00
Dylan Staley 93c4b993e8 feat: display warning in IE 11 (#11528) 2022-01-26 10:46:42 +01:00
Zachary Shilton 19bb4a9110 website: link plugin version badges (#11513) 2022-01-24 16:38:24 +01:00
Wilken Rivera ebcfd0cd8e windows-restart: Update documentation for restart_check_command (#11507)
Closes #11467
2022-01-24 12:48:02 +01:00
Ethan Davidson f9606a1352 plugin manifest file has been renamed (#11508) 2022-01-24 12:46:47 +01:00
Wilken Rivera 6c713d1fd6 Add example of marking Vault values as sensitive variables (#11503)
* Add example of marking Vault values as sensitive variables

* Update website/content/docs/templates/hcl_templates/functions/contextual/vault.mdx
2022-01-24 11:14:48 +01:00
Bryce Kalow 83a0bcf67a chore: upgrade downloads page (#11504) 2022-01-19 13:05:08 -05:00
packer-ci fd487b4d8b Putting source back into Dev Mode 2022-01-19 17:10:10 +00:00
packer-ci a3f94fd3dd Cut version 1.7.9 v1.7.9 2022-01-19 15:50:11 +00:00
packer-ci 418284afee cut version 1.7.9 2022-01-19 15:50:09 +00:00
packer-ci d3cc584e8a update changelog 2022-01-19 15:50:09 +00:00
Wilken Rivera 45beb94442 Update test client to use Org/Project ID from client; not environment 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]

```
2022-01-19 10:36:03 -05:00
Wilken Rivera 1d86f6311f Update CHANGELOG.md
Fix link to blog post
2022-01-18 21:00:17 -05:00
Wilken Rivera 5d1245c231 Update CHANGELOG
Add note for deprecated provisioner plugins
2022-01-18 20:58:42 -05:00
Wilken Rivera e6b2e8c15b Update CHANGELOG 2022-01-18 20:42:59 -05:00
Wilken RiveraandAdrien Delorme 2e4cfb05c5 Update CHANGELOG (#11501)
* Update CHANGELOG

* add a link

Co-authored-by: Adrien Delorme <[email protected]>
2022-01-18 15:23:08 -05:00
Adrien Delorme ce32c2a157 up plugin azure and go mod tidy (#11499) 2022-01-17 08:06:32 -05:00
Wilken Rivera 3f0a09de0c Update CHANGELOG 2022-01-14 15:22:13 -05:00
Kevin Wang 5e1be6f5ab feat: versioned-docs (#11434)
This PR introduces Versioned-Docs to Packer!
2022-01-13 13:07:13 -05:00
Kevin Wang 573011622b fix(algolia-index): Use TypeScript (#11496)
* fix(algolia-index): npm install -g npm@latest

* fix(algolia-index): `ts-node`

* fix(algolia-index): ts errors
2022-01-13 13:05:33 -05:00
Sylvia Moss 9ffd7ce938 Fail for revoked iterations (#11492)
* Fail for revoked iterations

* check if iteration is revoked on GetIteration

* fix fmt
2022-01-13 12:28:50 +01:00
Kevin Wang b3a3536068 fix: backport target (#11491) 2022-01-11 17:46:32 -05:00
Kevin Wang dd322819e9 fix(website): handle multiple redirects for plugin repos (#11488) 2022-01-11 13:47:39 -05:00
b3341164cf feat: extract /plugins (#11464)
* feat: extract `/plugins`

Co-authored-by: Zachary Shilton <[email protected]>
Co-authored-by: Adrien Delorme <[email protected]>
2022-01-11 10:26:05 -05:00
Kevin WangandBryce Kalow e062f69a89 feat: backport.yaml (#11447)
* feat: backport.yaml

* Update .github/workflows/backport.yml

Co-authored-by: Bryce Kalow <[email protected]>
2022-01-11 10:20:02 -05:00
Jenna Goldstrich 6b2c527b7a Merge pull request #11480 from hashicorp/jenna/update-plugins
Run ./scripts/update-plugins and go mod tidy
2022-01-05 08:20:12 -08:00
Jenna Goldstrich d284885442 Run ./scripts/update-plugins and go mod tidy 2022-01-04 16:29:05 -08:00
Noel Quiles 4b592ac40b website: Upgrade deps (#11470) 2021-12-23 11:38:19 -05:00
Noel Quiles 2c3a3c8794 Update @hashicorp/react-subnav (#11463) 2021-12-20 11:14:41 +01:00
Wilken Rivera 41e5551dc6 Update CHANGELOG 2021-12-17 15:27:48 -05:00
Wilken Rivera d4b4bb9205 Bump github.com/hashicorp/packer-plugin-sdk from 0.2.9 to 0.2.11 (#11459) 2021-12-17 14:50:01 -05:00
Wilken Rivera b6f02d3f77 Update handling of image metadata before pushing to registry (#11458)
When obtaining image metadata for a HCP Packer build, Packer core will
use mapstructure to decode the image metadata and validate that is has
all of the required data set. Before this change Packer core would fail
if there is extra metadata fields in the image metadata that Packer is
  not aware.

This change removes the restriction of erroring on unused metadata
fields. Packer should only care about the fields it knows and ignore the
rest. In the future, we will add new fields to the SDK but plugins may
begin sending that data sooner.
2021-12-17 13:34:44 -05:00
Wilken Rivera 6176d79913 Add HCP Packer Ready badge to support plugins (#11456) 2021-12-17 12:17:27 -05:00
Sylvia Moss ef41e7506e add packer user agent to HCP client (#11455) 2021-12-17 17:59:46 +01:00
Zachary Shilton 63eaf1f99b feat(website): add version badge to external plugin docs pages (#11451) 2021-12-17 10:47:43 -05:00
Zachary ShiltonandWilken Rivera 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 <[email protected]>
2021-12-17 10:22:16 -05:00
Noel Quiles cf121d899e chore: Disable alert banner (#11452) 2021-12-16 15:22:59 -05:00
Jenna Goldstrich 479a5ca813 Merge pull request #11448 from hashicorp/change-packer-install-instructions-contributing
Update Contributor docs to clone repo instead of go get packer
2021-12-15 10:38:04 -08:00
Jenna Goldstrich 43c238c13c Update Contributor docs to clone repo instead of go get packer 2021-12-15 10:03:07 -08:00
Noel Quiles 6618eb2e34 Update Dockerfile (#11446) 2021-12-14 10:12:28 -05:00
Alex Carpenter daa57fdc31 fix: redirects /home to / (#11445) 2021-12-14 12:22:36 +01:00
dependabot[bot] 799a5873c0 Bump next from 11.1.2 to 11.1.3 in /website (#11439)
Bumps [next](https://github.com/vercel/next.js) from 11.1.2 to 11.1.3.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v11.1.2...v11.1.3)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-12 19:30:02 -05:00
Wilken Rivera 9f86de317b Update agains to against in the note section 2021-12-12 06:29:50 -05:00
Felipe Crescencio de OliveiraandWilken Rivera 2a8001cd87 Fix docs about running specific provisioners (#11442)
* Fix docs about running specific provisioners

* Update website/content/docs/templates/hcl_templates/blocks/build/provisioner.mdx

Co-authored-by: Wilken Rivera <[email protected]>
2021-12-12 06:27:39 -05:00