Commit Graph
18838 Commits
Author SHA1 Message Date
Wilken RiveraandAdrien Delorme 06b35c39de hcp packer registry build labels (#11401)
* Add basic support for build_labels argument

* Update support for build_labels configuration argument

* Update complete test-fixture with a build_labels configuration
* Add test for deprecated labels argument
* Add deprecation for hcp_packer_registry.labels

When using the now deprecated labels argument of the new bucket_labels a
Warning will be presented to the user.

```
~>  HCP_PACKER_BUILD_FINGERPRINT=356786543567865456789656789 packer
build source.pkr.hcl
Warning: the argument hcp_packer_registry.labels has been deprecated and will be removed in a future release; please use hcp_packer_registry.bucket_labels
```

When trying to use both bucket_labels and labels together an error is
presented to the user.
```
~>  HCP_PACKER_BUILD_FINGERPRINT=ss6786543567865456789656789 packer
build source.pkr.hcl
Error: hcp_packer_registry.labels and hcp_packer_registry.bucket_labels are mutely exclusive; please use the recommended argument hcp_packer_registry.bucket_labels

  on source.pkr.hcl line 17:
    (source code not available)

```

* Update documentation for build_labels

* Apply suggestions from code review

Co-authored-by: Adrien Delorme <[email protected]>

* Update hcl2template/types.build.hcp_packer_registry.go

Co-authored-by: Adrien Delorme <[email protected]>
2021-11-18 09:40:08 +01:00
Wilken Rivera acd67d5ba0 Bump issues-labeler to proper version 2021-11-16 11:36:19 -05:00
Ethan Davidson 1b949085d4 Add git plugin (#11395) 2021-11-15 12:11:56 +01:00
dependabot[bot] effc803ac5 Bump github.com/hashicorp/packer-plugin-sdk from 0.2.8 to 0.2.9 (#11394)
Bumps [github.com/hashicorp/packer-plugin-sdk](https://github.com/hashicorp/packer-plugin-sdk) from 0.2.8 to 0.2.9.
- [Release notes](https://github.com/hashicorp/packer-plugin-sdk/releases)
- [Changelog](https://github.com/hashicorp/packer-plugin-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/packer-plugin-sdk/compare/v0.2.8...v0.2.9)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/packer-plugin-sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-12 14:50:53 -05:00
dependabot[bot] 3cac8d3121 Bump github.com/hashicorp/packer-plugin-sdk from 0.2.7 to 0.2.8 (#11391)
Bumps [github.com/hashicorp/packer-plugin-sdk](https://github.com/hashicorp/packer-plugin-sdk) from 0.2.7 to 0.2.8.
- [Release notes](https://github.com/hashicorp/packer-plugin-sdk/releases)
- [Changelog](https://github.com/hashicorp/packer-plugin-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/packer-plugin-sdk/compare/v0.2.7...v0.2.8)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/packer-plugin-sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-10 21:36:41 -05:00
Wilken Rivera fe2d302421 Bump Packer plugin program navigation up one level (#11390)
* Bump Packer plugin program navigation up one level

* Fix file path
2021-11-10 14:28:18 -05:00
Sylvia MossandWilken Rivera 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 <[email protected]>

* Update website/content/docs/plugins/hcp-support.mdx

Co-authored-by: Wilken Rivera <[email protected]>

* Update website/content/docs/plugins/hcp-support.mdx

Co-authored-by: Wilken Rivera <[email protected]>

* improve docs

* change page title

* Apply suggestions from code review

Co-authored-by: Wilken Rivera <[email protected]>
2021-11-10 13:11:29 -05:00
Wilken Rivera a70aaf0d48 Update README.md
Update text to include potential archival step.
2021-11-09 16:06:03 -05:00
Adrien Delorme 710d109c55 HCL2: fix a crash when an HCL2 component is nil after a misconfiguration (#11382)
* add test for crash

* fix

* show more precise error message when parse of a provisioner fails

* Revert "fix"

This reverts commit fc88e89fbb.

* add better severity
2021-11-04 10:08:27 -04:00
dependabot[bot] e0ac45e264 Bump github.com/zclconf/go-cty from 1.9.1 to 1.10.0
Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty) from 1.9.1 to 1.10.0.
- [Release notes](https://github.com/zclconf/go-cty/releases)
- [Changelog](https://github.com/zclconf/go-cty/blob/main/CHANGELOG.md)
- [Commits](https://github.com/zclconf/go-cty/compare/v1.9.1...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/zclconf/go-cty
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-04 13:14:14 +00:00
Elio B 2ff9bd5748 Fix typo (#11374) 2021-11-04 14:14:00 +01:00
Kevin Wang a9fdc19990 chore: react-subnav (#11378) 2021-11-03 17:36:19 -04:00
Adrien Delorme 6b74110e40 Update variables.mdx (#11375)
fix #11354
2021-11-03 17:16:06 +01:00
Adrien Delorme 67d56ece96 Merge pull request #11373 from hashicorp/azr/move-plugins-out
unbundle 3rd party plugins from core and make official plugins implicitly requirable
2021-11-03 16:36:00 +01:00
Adrien Delorme 4eb6a052ab go mod tidy 2021-11-03 12:03:54 +01:00
Adrien Delorme c54326b030 remove all non official plugins from vendored plugins 2021-11-03 12:03:08 +01:00
Adrien Delorme faeef90910 remove ansible plugin from bundled plugins 2021-11-03 11:47:29 +01:00
Adrien Delorme 8acd453065 remove vagrant plugin from bundled plugins 2021-11-03 11:46:06 +01:00
Adrien Delorme bfe200d920 remove qemu plugin from bundled plugins 2021-11-03 11:46:05 +01:00
Adrien Delorme d9d96169d8 remove googlecompute plugin from bundled plugins 2021-11-03 11:46:05 +01:00
Adrien Delorme 4efa69cfff remove docker plugin from bundled plugins 2021-11-03 11:46:05 +01:00
Adrien Delorme 7a21f141c8 remove vsphere plugin from bundled plugins 2021-11-03 11:46:05 +01:00
Adrien Delorme eea27b02d5 remove parallels plugin from bundled plugins 2021-11-03 11:46:04 +01:00
Adrien Delorme 36c30706f1 remove vmware plugin from bundled plugins 2021-11-03 11:46:04 +01:00
Adrien Delorme eca7b442c1 remove virtualbox plugin from bundled plugins 2021-11-03 11:46:04 +01:00
Adrien Delorme 37ac5b260f remove azure plugin from bundled plugins 2021-11-03 11:46:03 +01:00
Adrien Delorme bb33cf9845 remove amazon plugin from bundled plugins 2021-11-03 11:46:03 +01:00
Adrien Delorme c391c7f10b make the exoscale plugin an implicit import 2021-11-03 11:34:00 +01:00
Adrien Delorme 948ef1f673 File provisioner, don't fail when no content is passed. (#11349) 2021-10-28 15:50:32 -04:00
Wilken Rivera 64ddaa922a Remove broken link (#11361)
As reported in check
https://github.com/hashicorp/packer/runs/4016851893?check_suite_focus=true
2021-10-28 10:01:51 -04:00
DenisKruchkov 5cf05e0242 Fix typo. (#11363) 2021-10-28 10:01:29 -04:00
Wilken Rivera 3c7e043b2c Update CHANGELOG
Add link to PR 11360
2021-10-28 10:01:01 -04:00
packer-ci 9cfe02042b Putting source back into Dev Mode 2021-10-28 13:02:46 +00:00
packer-ci cc7374e3f0 Cut version 1.7.8 v1.7.8 2021-10-27 18:56:54 +00:00
packer-ci c261e9d641 cut version 1.7.8 2021-10-27 18:56:52 +00:00
packer-ci fc361a8ff0 update changelog 2021-10-27 18:56:52 +00:00
Wilken Rivera 9b1b5e58e5 Update CHANGELOG for #11360 2021-10-27 14:42:51 -04:00
Wilken Rivera 4e2fc5e21d Bump packer-plugin-amazon to v1.0.4 (#11360)
* Bump packer-plugin-amazon to v1.0.4

* Enable go mod tidy check
2021-10-27 14:39:51 -04:00
Wilken Rivera 0bafe97b51 Add go mod tidy check for Go 1.17 2021-10-27 12:44:53 -04:00
Wilken Rivera 722f996bb0 Bump github.com/outscale/osc-sdk-go to v1.11.2 2021-10-27 12:31:46 -04:00
Zachary Shilton 91def1dde9 website: bump deps to fix print styles (#11350)
* website: bump deps to fix print styles

* website: fix up print styles

* fix: hashi-stack-menu print selector
2021-10-26 12:55:29 -04:00
Brandon Romano ca3e817cff Merge pull request #11347 from hashicorp/update-alert-banner-1
Update HashiConf alert-banner expiration
2021-10-20 16:27:55 -07:00
Brandon Romano 0fea39d1da Update HashiConf alert-banner expiration
Updates the HashiConf Alert Banner expiration to 10/20 @ 11pm (PT)
2021-10-20 16:04:52 -07:00
Mike WickettandAlex Carpenter 38fe22062b Nav, hero, and callout updates (#11342)
Update image
Add fallback
Update graphic
Update hcp-callout.svg
Update CTAs to point to cloud landing
Fix link
update blog post link

Co-authored-by: Alex Carpenter <[email protected]>
2021-10-19 11:53:02 -04:00
Megan Marsh 76d7504aa5 Merge pull request #11333 from hashicorp/add-hcp-docs-info
[DO NOT MERGE] Updates for HCP Packer docs
2021-10-19 08:44:40 -07:00
packer-ci 079c0004fd Putting source back into Dev Mode 2021-10-19 15:39:55 +00:00
packer-ci e52e07716a Cut version 1.7.7 v1.7.7 2021-10-19 15:12:26 +00:00
packer-ci d0c2326671 cut version 1.7.7 2021-10-19 15:12:25 +00:00
packer-ci 8b9977d45e update changelog 2021-10-19 15:12:25 +00:00
Laura Pacilio da8ec95249 Updates for HCP Packer docs
Enable HCP Packer docs and add note about public beta (#11339)
format markdown and mention that registry block is available in v1.7.7
2021-10-19 08:03:32 -07:00