Commit Graph
465 Commits
Author SHA1 Message Date
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
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
Vladimir Romashchenko eae742a169 chore(website): Updated plugin naming (#11338) 2021-10-18 15:31:26 +02:00
Megan Marsh 8df61bc2a7 Merge pull request #11320 from hashicorp/data_source_return_labels
Read labels into the data source, and regenerate code.
2021-10-11 13:18:47 -07:00
Megan Marsh e3719dd8a4 Merge pull request #11319 from hashicorp/add_iteration_id
Add iteration
2021-10-11 13:18:10 -07:00
Megan Marsh b763b79d9f implement contextual variable packer.iteration_id 2021-10-11 10:55:44 -07:00
Adrien Delorme e99e038a72 Docs: remove reference to undefined map function (#11324) 2021-10-11 10:09:34 -04:00
Adrien Delorme 3135714465 rename all things 'inexist[e|a]nt' to 'nonexistent' & fix tests (#11325)
+ a typo
2021-10-11 15:48:51 +02:00
bitmeal 28e82b480e update debugging info for cloud-init (#11316)
make example to wait for cloud-init use `cloud-init status --wait`
2021-10-11 13:46:57 +02:00
Kerim Satirli bc6f1e36e6 Fixes typos in docs (#11322)
* fixes typos in base docs

* fixes typos in example code

* fixes typos in website docs

* fixes link to Terraform provider

* fixes typo in function name
2021-10-11 10:19:49 +02:00
Megan Marsh 8ad99a40c6 Read labels into the data source, and regenerate code. 2021-10-08 15:58:29 -07:00
Koya IWAMURA 7ebc85564b website: fix markdown to display inline backslash correctly (#11313) 2021-10-08 10:48:58 -04:00
Wilken Rivera 2e114e82d6 Fix issue with template example 2021-10-06 16:51:55 -04:00
Wilken Rivera b2a15e51c7 Rename slug to bucket_name 2021-09-14 15:57:36 -04:00
Megan Marsh c25c27b6b6 add docs pages for new data sources 2021-09-07 10:27:25 -07:00
Megan Marsh 48de1fc7da allow datasources to use other datasources
create a null data source for testing. We can choose to document if we want to, but it's a convenience for us

add a test to catch cyclic datasource dependency, update tests to include out of order data sources, and update the code to clean up the returned diagnostics generated from the recursive evaluation

PR review comments
2021-09-03 16:10:39 -07:00
Megan Marsh fd80f8da8c Add two new data sources -- hcp-packer-iteration and hcp-packer-image. These data sources together will allow users to query hcp_packer for the image_ids they need to use as source images to their builds, with a simple UI and clear outputs.
add quick and dirty acceptance test for hcp packer image iteration and hcp packer image data sources
PR review
linting
2021-09-03 15:51:09 -07:00
Adrien Delorme 27d89ac8d4 update all plugins + pin go to go 1.17 (#11237)
* up plugins and get rid of a dependency loop from packer to packer
2021-09-02 12:15:13 +02: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 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
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
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
Adrien Delorme 1d915adad1 file provisioner: add possibility to set content + tests (#11209) 2021-08-17 11:24:29 +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
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
Joseph Daniel 33a4ba2dc1 Fix incorrect isotime output (#11157) 2021-07-20 10:54:29 -04:00
Megan Marsh c56f34f9d3 add stdin to docs for fmt (#11132) 2021-07-07 10:11:02 -04:00
Matt Robinson fe425e533d fix typo in configure docs 2021-06-25 20:10:20 -04:00
Mark Lewis 5b8cce603d Minor formatting improvement (#11106) 2021-06-21 17:34:13 +02:00
Wilken Rivera e22346f0fa Extract ProfitBricks Plugin (#11084)
* Extract ProfitBricks Plugin

* Update CHANGELOG
2021-06-14 17:30:58 -04:00
GennadySpbandSylvia Moss 51e7a95b3b Fix link ref (#11079)
* Fix link ref

* Update website/content/docs/templates/hcl_templates/functions/uuid/uuidv5.mdx

Co-authored-by: Sylvia Moss <[email protected]>

Co-authored-by: Sylvia Moss <[email protected]>
2021-06-11 16:41:10 +02:00
Wilken Rivera 4ab255caba Update absolute links to relative (#11068)
* Update absolute links to relative

* Update packer-integration-program.mdx

Fix case for component names
2021-06-04 11:58:51 +02:00
Andy Bettisworth 940180fb5b spelling (#11064) 2021-06-02 15:18:37 +02:00
Megan Marsh f80da79b85 Merge pull request #11046 from hashicorp/extract_oneandone
Extract 1&1 builder
2021-05-25 08:44:25 -07:00
Wilken RiveraandJeff Escalante f3f58b1c39 Add Packer Integration Program page (#11042)
* Initial draft of Packer Integration Program docs page

- [ ] Add text from program document.
- [ ] Fix image alignment
- [ ] Fix Checklist alignment (remove bullets if possible)
- [ ] Validate with program team

* Fix broken markdown

* fix styling on centered image and checklist

* revert package-lock update

* Update packer-integration-program.mdx

Fix a few formatting issues

Co-authored-by: Jeff Escalante <[email protected]>
2021-05-25 09:22:12 -04:00
sylviamoss e3010fa817 extract oneandone and add remote docs 2021-05-25 14:26:22 +02:00
Megan MarshandAdrien Delorme 638be57e43 document gotcha around third party plugins (#11032)
* document gotcha around third party plugins
* Update website/content/docs/commands/hcl2_upgrade.mdx

Co-authored-by: Adrien Delorme <[email protected]>
2021-05-25 13:55:25 +02:00
69572b442a Add tip about using local instead of locals for complex cases (#11036)
* add tip about using local instead of locals

* Apply suggestions from code review

Co-authored-by: Megan Marsh <[email protected]>

Co-authored-by: Wilken Rivera <[email protected]>
Co-authored-by: Megan Marsh <[email protected]>
2021-05-24 21:50:35 -04:00
Megan Marsh 57639e8330 remove workflow-tips-and-tricks pages 2021-05-18 09:49:35 -07:00
Megan Marsh 41c0668d6e delete comment guide, moving contents to the comment section of the template engine docs for json templates 2021-05-18 09:43:42 -07:00
Megan Marsh b6a9da11a2 clarify template variable warning 2021-05-18 09:21:26 -07:00
Megan Marsh a3daf4c686 escape backticks 2021-05-18 09:18:40 -07:00
Megan Marsh d9b874f118 tweak engine docs to contain guide docs for isotime
remove docs page
2021-05-18 09:08:25 -07:00
Megan Marsh 1d4a8e7ba2 delete veewee references. Veewee hasn't been updated for three years, and the veewee-to-packer library for even longer. This page gets almost no views. 2021-05-18 08:44:45 -07:00