Commit Graph
17556 Commits
Author SHA1 Message Date
Megan Marsh 05b250025e tinkering 2021-08-31 16:18:49 -07:00
Megan Marsh d6792820f4 Merge pull request #11227 from hashicorp/hcp_data_source
Implement hcp packer data source.
2021-08-31 09:33:48 -07:00
Adrien DelormeandSylvia Moss 9bdeb84cda Clarify what the labels of a source block do. (#11236)
Co-authored-by: Sylvia Moss <[email protected]>
2021-08-31 16:13:47 +02:00
Adrien Delorme c083b53c4f packer fix: state that the command does not work for hcl files (#11238) 2021-08-31 16:12:47 +02:00
Adrien Delorme d25373a8d6 move inspec provisioner out (#11230) 2021-08-31 12:07:26 +02:00
Adrien Delorme acb01cb800 move salt-masterless provisioner out (#11229)
* move salt-masterless provisioner out
* go get github.com/hashicorp/packer-plugin-salt
2021-08-31 12:07:10 +02:00
Florian Sommerfeld eb39a3120e Fix typo in autounattend_windows.mdx (#11233) 2021-08-31 10:46:07 +02:00
xaxo05 8f158e02ad Bump module packer-plugin-googlecompute version to v1.0.2. (#11235) 2021-08-31 10:28:49 +02:00
Megan Marsh 60b734733b reworked docs, and created docs page. Not adding to the website index because we don't want this doc page live until after the HCP Packer registry enters public beta 2021-08-30 16:27:08 -07:00
Megan Marsh c0eb830c42 better docstrings and regenerate docs 2021-08-30 15:53:29 -07:00
Megan Marsh 980deeb684 Implement hcp packer data source. This is a rough copy of the terraform provider's data source, to make beta user experience consistent across both sources 2021-08-27 12:03:55 -07:00
Megan Marsh 2d16da10e7 Merge pull request #11219 from hashicorp/rename_slug_to_bucket
make user-facing name for slug be bucket_name
2021-08-27 09:36:30 -07:00
Pamela Bortnick 6efee459fb Update social share image (#11226)
* Update social share image

* Remove unecessary files
2021-08-26 17:09:39 -04:00
Megan Marsh 7985b7cb23 bump ncloud dependency to fix dependency that got deleted from github (#11224) 2021-08-25 16:02:42 -04:00
Adrien Delorme eb8e302941 hcl2_upgrade: special case: vsphere fix (#11216)
* fix typo

* hcl2_upgrade: special case linux_options and network_interface to block instead of maps

* Update hcl2_upgrade_test.go

* Update hcl2_upgrade_test.go

remove unused code

* hcl2_upgrade: support strftime too (#11220)

* hcl2_upgrade strftime function
* create legacy_strftime.mdx
2021-08-25 14:20:08 +02:00
Megan Marsh 4c22169c90 more test fix 2021-08-23 15:29:58 -07:00
Megan Marsh 2dd8c0dd26 fix tests 2021-08-23 14:18:27 -07:00
Megan Marsh da301ab844 make user-facing name for slug be bucket_name 2021-08-23 14:00:21 -07:00
Adrien Delorme 1d915adad1 file provisioner: add possibility to set content + tests (#11209) 2021-08-17 11:24:29 +02:00
Adrien Delorme 57f37c99ea avoid hcl2_upgrade panic when file does not exist (#11206) 2021-08-13 16:08:12 +02:00
Mike Wickett 3f8c8704e5 chore: update alert banner (#11195) 2021-08-13 08:05:10 -04:00
Zachary Shilton adcd472873 website: upgrade content and global styles (#11151)
* website: upgrade global-styles packages

* website: upgrade community page

* website: hide alert-banner on mobile

* website: replace g-container with g-grid-container

* website: delete unused CSS

* website: backfill missing type styles

* website: fix style import path

* website: bump to latest patched dependencies
2021-08-13 08:04:19 -04:00
dependabot[bot] 54a4f59fc7 Bump path-parse from 1.0.6 to 1.0.7 in /website (#11202)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-12 10:56:36 +02:00
Wilken Rivera e8b5b4b516 Fix {{packer_version}} interpolation regression (#11200)
* Add Packer version to main context at variable interpolation

Test Results Before Change
```
=== RUN   TestCoreBuild_packerVersion
    testing.go:30: err: template: root:1:2: executing "root" at <packer_version>: error calling packer_version: packer_version not available
--- FAIL: TestCoreBuild_packerVersion (0.00s)
```

Test Results After Change
```
=== RUN   TestCoreBuild_packerVersion
--- PASS: TestCoreBuild_packerVersion (0.00s)
```

* Add packer_core_version to interpolation context for HCL configs

Test Results Before Change
```
=== RUN   TestParse_build/provisioner_with_packer_version_interpolation
    common_test.go:109: Parser.getBuilds() unexpected diagnostics. testdata/build/provisioner_packer_version_interpolation.pkr.hcl:8,5-24: Failed preparing provisioner-block
 "shell" ""; render 'slice_string': template: root:1:2: executing "root" at <packer_version>: error calling packer_version: packer_version not available in:

        {{packer_version}}
--- FAIL: TestParse_build (0.01s)
```

Test Results After Change
```
--- PASS: TestParse_build (0.02s)
--- PASS: TestParse_build/provisioner_with_packer_version_interpolation (0.00s)
```
2021-08-12 10:55:32 +02:00
Adrien Delorme 689c7763d4 document the plugin-getter.Get interface (#11196) 2021-08-11 16:32:38 +02:00
a534c743cf HCP Packer registry enabled Packer client (#11154)
* Add working registry pkg

* Add custom error for handling the loading of PAR environment variables

* Working Publish to Build, with proper error handling for bucket names

* Update hcp-sdk-go to use branch instead of mod replace directive

* Update Packer build status configuration

* Add support for HCP_PACKER_BUILD_FINGERPRINT env

* Add support for publishing one or more PARtifacts from a single build

* add git shas to this branch

* Add ability to set provider name if available

* Add working RegistryBuilder type

* Add RegistryPostProcessor as wrapper post-processor

* When in PAR mode a empty RegistryPostProcessor is added to the end of
  the post-processor list to publish all final image data.

* Add support for updating a build from PAR that is not in a DONE state

* Fix a small issue with creation the initial builds for an empty
  iteration.

* Add PAR URL to post-processor display

* Implement hcp_packer_registry block (#11168)

* Update vendored Amazon plugin to v1.0.1-dev

* Fix panic when running a Packer registry build in a clean directory

* Remove the publishing of post-processor metadata from the registry
  post-processor.

* Remove metadata add from registry_builder

* Update registry builder to skip a build that was found to be DONE

Co-authored-by: Megan Marsh <[email protected]>
Co-authored-by: Sylvia Moss <[email protected]>
2021-08-05 09:25:19 -04:00
Mike Wickett 298ca5fd35 website: update consent manager (#11177) 2021-07-30 15:45:14 -04:00
HACK SPHERE LABS 3b733eb0f8 added newest packer-plugin-xenserver and xcp-ng (#11166)
the old citrix plugin has not been updated recently, so the sponsored fork is added, and references to xcp-ng added
2021-07-29 15:49:34 +02:00
Bryce Kalow 6825d1ad0d web: migrate to web platform- packages (#11156) 2021-07-27 15:54:54 -05:00
Ori Hoch 7db0234a60 add Kamatera builder plugin (#11158) 2021-07-26 15:14:11 -04:00
Wilken Rivera c0fd6a09af Bump packer-plugin-azure to v1.0.1 (#11162) 2021-07-22 10:36:12 +02:00
packer-ci f6e6060921 Putting source back into Dev Mode 2021-07-20 18:19:09 +00:00
packer-ci 8f860ea8aa Cut version 1.7.4 v1.7.4 2021-07-20 17:06:45 +00:00
packer-ci 024c08b3d3 cut version 1.7.4 2021-07-20 17:06:43 +00:00
packer-ci 6e4c195301 update changelog 2021-07-20 17:06:43 +00:00
Wilken Rivera ec1408a933 Update CHANGELOG 2021-07-20 11:49:40 -04:00
Joseph Daniel 33a4ba2dc1 Fix incorrect isotime output (#11157) 2021-07-20 10:54:29 -04:00
dependabot[bot] b0f6f72f3a Bump andymckay/labeler from 1.0.2 to 1.0.3 (#11160)
Bumps [andymckay/labeler](https://github.com/andymckay/labeler) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/andymckay/labeler/releases)
- [Commits](https://github.com/andymckay/labeler/compare/1.0.2...1.0.3)

---
updated-dependencies:
- dependency-name: andymckay/labeler
  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-07-20 10:52:46 -04:00
Matthieu MOREL 8d695ea935 Set up Dependabot (#11142)
* Create dependabot.yml

* Update .github/dependabot.yml

* Update dependabot.yml
2021-07-20 10:44:34 -04:00
Megan Marsh 4e9a01a0bc Merge pull request #11146 from hashicorp/fix_website
Fix link and copypasta from waypoint
2021-07-14 10:52:32 -07:00
Megan Marsh f73edb70b5 fix link and copypasta from waypoint 2021-07-14 10:26:47 -07:00
Megan Marsh ea410c1a59 Merge pull request #11147 from hashicorp/update_outscale
Update outscale plugin
2021-07-14 10:24:18 -07:00
sylviamoss 0202280167 update outscale plugin 2021-07-14 17:42:20 +02:00
Noel Quiles e76697f2b7 Bump hashi-stack-menu (#11141) 2021-07-12 16:32:26 -04:00
Megan Marsh c56f34f9d3 add stdin to docs for fmt (#11132) 2021-07-07 10:11:02 -04:00
Megan Marsh a7b234af13 remove broken links and just send users over to learn platform (#11127) 2021-07-02 12:20:12 +02:00
Wilken Rivera d9d3ed6a9e Replace HashiBot with GitHub action for remote-plugin issue migration (#11125)
This changes removes the use of HashiBot for migrating issues labels
with remote-plugin/* to their respective plugin repositories. The GitHub
action has feature parity with HashiBot so the migration should work as
it did before.

The GitHub action closes the original issues and creates a new issue on
the remote plugin repository with the original contents of the issue to
preserve history. We chose not to go with GitHub's issue transfer option
because it completely moves the issue to the target repo, meaning there
is not history that it was ever created on the original repository.

In the future, we will look to add an action for closing remote-plugin
issues that we no longer have access to.

Closes: #11043
2021-06-30 14:49:14 -04:00
Megan Marsh 7cd0167c84 Merge pull request #11122 from brimstone/patch-1
fix typo in configure docs
2021-06-28 15:17:28 -07:00
Kendall Strautman cf48d76fbd chore: upgrade react-head and deps (#11119) 2021-06-28 08:58:17 -07:00
Matt Robinson fe425e533d fix typo in configure docs 2021-06-25 20:10:20 -04:00