4418 Commits

Author SHA1 Message Date
Adrien Delorme
95d37ffc06 add headers 2020-05-28 17:04:34 +02:00
Adrien Delorme
12c168b2d1 better docs 2020-05-28 16:49:54 +02:00
Adrien Delorme
beceb90844 better docs 2020-05-28 16:22:07 +02:00
Adrien Delorme
11104af3a2 website/pages/docs/from-1.5/blocks/build/index.mdx: better docs arround source(s) 2020-05-28 16:16:59 +02:00
Adrien Delorme
0fa60c68fb
Drop the iso_checksum_type & iso_checksum_url fields (#8437)
* Drop the iso_checksum_type & iso_checksum_url fields

In favor of simply using iso_checksum that will know what to do.

* fix after master merge

* Update builder_test.go

* Update builder_test.go

* Update builder_test.go

* Update builder_test.go

* Update builder_test.go

* remove checksum lowercasing tests

* Update builder_test.go

* Update builder_test.go

* better docs

* Update builder_test.go

* even better docs

* Update config.go

* Update builder_test.go

* Update step_create_vmx_test.go

* make generate

* better docs

* fix imports

* up tests

* Update _ISOConfig-required.html.md

* Update builder_test.go

* don't use sha1.Sum("none") as a caching path

* Update builder_test.go

* better docs

* Update iso_config_test.go

remove ISOChecksumType/ISOChecksumURL references

* Update step_download_test.go

* add iso_checksum_url and iso_checksum_type fixers + tests

* add concrete examples of checksum values

* add examples of checksumming from local file

* update go-getter dep

* up deps

* use new go-getter version

* up ESX5Driver.VerifyChecksum: use go-getter's checksumming

* ISOConfig.Prepare: get checksum there in case we need it as a string in ESX5Driver.VerifyChecksum

* Update iso_config.go

* get go-getter from v2 branch

* Update driver_esx5.go

add more comments

* Update driver_esx5.go

* show better error message when the checksum is invalid

* Update builder_test.go

put in a valid checksum to fix tests, checksum is md5("packer")

* Update builder_test.go

test invalid and valid checksum

* more test updating

* fix default md5 string to be a valid md5

* TestChecksumFileNameMixedCaseBug: use 'file:' prefix for file checksumming

* Update iso_config_test.go

* Update iso_config_test.go

* Update builder_test.go

* Update builder_test.go

* Update builder_test.go

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update go.mod

* Update go.mod

* Update CHANGELOG.md
2020-05-28 11:02:09 +02:00
Adrien Delorme
b805a01e1a
Update website/pages/docs/from-1.5/blocks/build/provisioner.mdx
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2020-05-28 10:45:24 +02:00
Megan Marsh
d3859cf592
Merge pull request #9305 from hashicorp/azr-docs-fix-guide
HCL2: Update guide example to fix broken example
2020-05-27 16:04:31 -07:00
Joshua Foster
43714049e8 add set_host_for_datastore_uploads flag 2020-05-27 15:00:08 -07:00
Adrien Delorme
851b354ac9 more fixes 2020-05-27 16:51:44 +02:00
Adrien Delorme
4d8a5e1c72
Update from-json-v1.mdx 2020-05-27 16:40:47 +02:00
Megan Marsh
01839e272e
Merge pull request #9277 from nitrocode/add-source-ami-creation-date
Added SourceAMICreationDate
2020-05-26 12:24:47 -07:00
nitrocode
6d29ec956b Added SourceAMICreationDate 2020-05-26 15:04:03 -04:00
Alexandra Freeman
3e7d0a5388
Update index.jsx (#9263)
Updating Community resources to move Forum to the top, remove IRC and update language for general help. These changes are to align with other .io sites, and the initiative to point the community to a consolidated location (Discuss Forum). 


Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2020-05-26 10:35:04 -04:00
Adrien Delorme
397a08b32d Update locals.mdx 2020-05-26 15:54:15 +02:00
Adrien Delorme
2b8d6991d9 better 'related' sections for source and locals blocks 2020-05-26 15:46:02 +02:00
Adrien Delorme
72f76cbc8e document hcl2 blocks 2020-05-26 15:29:47 +02:00
Sylvia Moss
601d3638f6
add communicator config reference to hyperv docs (#9289) 2020-05-25 15:18:14 +02:00
Lukas Kämmerling
26d309c88c
Clarify the correct usage of the snapshot_name field on the hcloud builder (#9276) 2020-05-25 14:52:13 +02:00
jmarcelletti
67df9f778a
Update index.mdx (#9278)
Unclosed quotes kill builds
2020-05-25 11:18:03 +02:00
Feiyu Shi
3e3fdaa24e make generate 2020-05-24 19:05:45 -07:00
Rui Lopes
06fad6cc4f qemu: add support for using a network bridge 2020-05-20 16:46:32 -07:00
Megan Marsh
b3ece95f27
Merge pull request #9254 from ad-m/hyperone-builder-hcl
HCL compliance for HyperOne builder
2020-05-20 13:15:21 -07:00
Megan Marsh
782342a707
Merge pull request #9202 from overdrive3000/improve-secrets-manager
Add support for specifying key to fetch from AWS Secrets Manager
2020-05-20 13:13:28 -07:00
Sylvia Moss
be9dbaacd7
Interpolate generatedData in the Inspec provisioner (#9262)
* Interpolate generatedData in the Inspec provisioner

* Add inspec license section to inspec docs

* add user arg if user config it not empty

* increase resource size for check-lint pipeline

* update changelog

* Update provisioner/inspec/provisioner.go

* Update provisioner/inspec/provisioner.go

Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-05-20 15:43:41 -04:00
Megan Marsh
3c782e9d03
Merge pull request #9239 from hashicorp/enable_artifice
Add Artifice postprocessor ID to valid artifacts for postprocessors t…
2020-05-20 10:46:44 -07:00
Wilken Rivera
d3aa53c9da
docs/hcl2: Update HCL2 beta note link (#9258)
This change updates the Beta notes on the Packer docs site with a link
to the pinned HCL2 implementations list issue.

Closes #9175
2020-05-20 12:24:45 +02:00
Megan Marsh
a568ffce0a generated 2020-05-19 16:54:03 -07:00
Megan Marsh
557eb015ea make artifice post-processor play nicely with vagrant post-processor, including template validation., Update docs for each. 2020-05-19 15:52:12 -07:00
Megan Marsh
58b32ebefa
Merge pull request #9251 from hashicorp/fix_9249
builder/azure-arm: Update runtime constants with a valid DataDiskName
2020-05-19 11:00:44 -07:00
jhawk28
820f353573
(vsphere-iso) remove deprecated network and disk fields (#9149)
* remove deprecated network and disk fields
2020-05-19 10:06:12 -04:00
Juan Mesa
b73602eadd Fix corrections
* Fix typos in comments.
* Add documentation of how to use multiple keys with `aws_secretsmanager` function.
* Move `Client` struct to `secretsmanager.go` file.
2020-05-19 13:16:28 +02:00
Sylvia Moss
1c30a71d09
Replace file shared state by statebag (#9238) 2020-05-19 11:49:48 +02:00
Adam Dobrawy
a3cba02c86 builder/hyperone: Add examples for HCL syntax 2020-05-19 01:20:25 +02:00
Wilken Rivera
c954831bb2 builder/azure-arm: Update runtime constants with a valid DataDiskName
This change fixes an issue where using the `disk_additional_size` configuration option would cause builds to fail.

Build results before the change
```
==> Builds finished but no artifacts were created.
Build 'azure-arm' errored: Code="DeploymentFailed" Message="At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details." Details=[{"code":"BadRequest","message":"{\r\n  \"error\": {\r\n    \"code
\": \"InvalidParameter\",\r\n    \"message\": \"The entity name 'dataDisk.name' is invalid according to its validation rule: ^[^_\\\\W][\\\\w-._]{0,79}(?\u003c![-.])$.\",\r\n    \"target\": \"dataDisk.name\"\r\n  }\r\n}"}]

```

Build results after change
```
Build 'azure-arm' finished.

==> Builds finished. The artifacts of successful builds are:
--> azure-arm: Azure.ResourceManagement.VMImage:

OSType: Linux
ManagedImageResourceGroupName: test-pkr
ManagedImageName: wilkenPacker9249
```

Closes #9249
2020-05-18 14:57:20 -04:00
Roger Berlind
fdca7175fc replace clean_image_name with clean_resource_name
The change was mostly made except in one example for Google
2020-05-15 16:33:27 -04:00
Wilken Rivera
c5e38a2699
docs/amazon-ebssurrogate: Add Session Manager documentation (#9236) 2020-05-15 14:58:10 +02:00
Wilken Rivera
bcaf9f124f docs/builder/amazon: Add Session Manager Connection documentation to supported builders 2020-05-14 15:17:22 -04:00
Megan Marsh
2661f7e0f1
Merge pull request #9229 from hashicorp/d-azure_arm-custom_managed_image_resource_update
docs/builder/azure-arm: Fix a small typo for the custom_managed_image_* config options
2020-05-14 11:54:33 -07:00
Megan Marsh
533fbc1381
Merge pull request #9139 from hashicorp/hcl2_commands_refactor
Hcl2 commands refactor
2020-05-14 11:16:12 -07:00
Wilken Rivera
f31f5bc61b docs/builder/azure-arm: Fix a small typo for the custom_managed_image_* config options
Closes #9199
2020-05-14 13:31:40 -04:00
Evan Digby
e4eaff6bba
s/Directoty/Directory (#9221) 2020-05-14 15:00:27 +02:00
Adrien Delorme
a1bff83afb Update Config-required.mdx 2020-05-13 16:22:46 +02:00
Adrien Delorme
a50c27c05d single ` 2020-05-13 15:51:18 +02:00
Adrien Delorme
c2d3e494b6 alicloud: better docs + autogenerated post processor docs 2020-05-13 15:49:34 +02:00
Christian Frichot
e2a02636bc
website: npm audit fix (#9218) 2020-05-13 13:49:19 +02:00
Kennith Leung
6a1737847d
Update vagrant.mdx (#9215)
If the `output_dir` is not set, the folder will be set to `output-` plus buildname.
2020-05-13 10:17:26 +02:00
Megan Marsh
2733109294 add generated docs 2020-05-08 15:58:36 -07:00
Megan Marsh
480c938162 generate virtualbox-vm docs instead of letting them be copy pasted 2020-05-08 15:58:36 -07:00
Megan Marsh
9476aa03de
Merge pull request #9105 from hashicorp/google_iap
Implement iap proxy for googlecompute
2020-05-08 12:40:42 -07:00
Megan Marsh
fcef10fd2f
Merge pull request #9082 from hashicorp/f-amazon_builder-ssm-session-tunnel-poc
builder/amazon: Add SSM Session Manager as a SSH interface connection
2020-05-08 12:40:03 -07:00