Brad Ackerman
94c9b87431
Only run on platforms supported by chroot.
2020-08-09 13:53:21 -07:00
Brad Ackerman
33eb8483ba
Get some tests in here.
2020-08-09 13:39:29 -07:00
Brad Ackerman
f824cbb79d
Don't deprovision in chroot.
2020-08-08 18:44:39 -07:00
Brad Ackerman
67479f0b23
Add FreeBSD example for azure-chroot.
2020-08-08 18:06:05 -07:00
Andrew Cornies
a704e1b6b1
Updated formula regexp to support ?ref= syntax.
...
Added formulas docs for salt-masterless provisioner
Signed-off-by: Andrew Cornies <acornies@gmail.com>
2020-08-07 18:38:41 -04:00
Megan Marsh
b72a75278a
Merge pull request #9737 from hashicorp/document_5049
...
add microsoft daemon docs to hyperv docs
2020-08-07 15:08:03 -07:00
Wilken Rivera
ae23f891e1
post-processor/googlecompute-export: Update documentation ( #9727 )
...
* Add markdown generator to post-processor config
* Add HCL2 example
2020-08-07 16:34:38 -04:00
Megan Marsh
69d951d34f
add microsoft daemon docs to hyperv docs
2020-08-07 12:41:59 -07:00
Megan Marsh
15a008a408
Merge pull request #9734 from hashicorp/googlecompute-export-hcl-iap-fix
...
post-processor/googlecompute-export: Remove IAP configuration from HCL schema
2020-08-07 11:07:11 -07:00
Megan Marsh
ecb825ee7a
update vendor directory
2020-08-07 10:58:15 -07:00
Megan Marsh
03220c0b94
fix linting.
2020-08-07 10:53:07 -07:00
Megan Marsh
bf7cc2587e
update changelog
2020-08-07 10:00:55 -07:00
Megan Marsh
4c627c57ff
Merge pull request #9720 from hashicorp/skip_pp_on_cancel
...
Skip post-processors when build is cancelled
2020-08-07 09:13:37 -07:00
Megan Marsh
fc8346bd27
Merge pull request #9731 from hashicorp/manifast_doc_note
...
Add keep_input_artifact note to the manifest post-processor
2020-08-07 09:12:41 -07:00
Megan Marsh
46364ddf34
Merge pull request #9730 from hashicorp/better_errors_9705
...
improve error handling when waiting for image so that the resourcenot…
2020-08-07 09:11:39 -07:00
Megan Marsh
97acdf2374
Merge pull request #9725 from maxim-lobanov/file-provisioner-sources
...
Bug: "file" provisioner only uses first entry from Sources if processing directories
2020-08-07 08:06:35 -07:00
Megan Marsh
8f362656ee
Update builder/amazon/ebs/step_create_ami.go
...
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2020-08-07 08:02:57 -07:00
Megan Marsh
8ea6414969
Merge pull request #9729 from hashicorp/document_9125
...
document issue with ansible macros
2020-08-07 08:02:00 -07:00
Wilken Rivera
759d2451a4
post-processor/googlecompute-export: Remove IAP configuration from HCL schema
...
Build results before change
```
[go-1.14.2] [2] wilken@automaton in
~/Development/packer-templates/googlecompute/googlecompute-startup-scripts/
on master
⇶ packer build -var project=$GOOGLE_PROJECT_ID
googlecompute-ubuntu-startup-script-export.pkr.hcl
Error: Failed preparing post-processor-block "googlecompute-export" ""
on googlecompute-ubuntu-startup-script-export.pkr.hcl line 28:
(source code not available)
1 error occurred:
* unknown configuration key: '"iap"'
==> Builds finished but no artifacts were created.
```
Build results after change
```
⇶ packer build -var project=$GOOGLE_PROJECT_ID
googlecompute-ubuntu-startup-script-export.pkr.hcl
googlecompute.example: output will be in this color.
==> googlecompute.example: Checking image does not exist...
==> googlecompute.example: Creating temporary SSH key for instance...
```
2020-08-07 11:00:07 -04:00
Megan Marsh
643d6d165b
Merge pull request #9728 from hashicorp/fix_9722
...
fix generator to work even in nested packer/packer dirs
2020-08-07 07:25:56 -07:00
sylviamoss
ddd85da1a6
add keep_input_artifact note
2020-08-07 09:00:34 +02:00
Maxim Lobanov
dd2927f871
fix bug with copying a few files in order
2020-08-07 09:38:30 +03:00
Megan Marsh
484dbfe6ad
improve error handling when waiting for image so that the resourcenotready error is bubbled up more clearly without verbose logging turned on
2020-08-06 14:58:05 -07:00
Megan Marsh
961d9b4f08
document issue with ansible macros
2020-08-06 14:00:26 -07:00
Megan Marsh
fa163c2514
fix generator to work even in nested packer/packer dirs
2020-08-06 13:24:15 -07:00
Luke Swithenbank
6d1a146143
Fix Google Compute Export Post-Processor ( #9708 )
...
* Fix Google Compute Export Post-Processor
The current Post-Processor hangs on waiting for the Startup Script to finish. The startup script doesn't update the metadata (StartupScriptStatusKey) so this change aims to fix that but adding the `SetMetadata` functionality to this script.
* Update startup.go
2020-08-06 16:18:23 -04:00
Andrew Cornies
24739270cf
Added Prepare tests around formula URLs
...
Signed-off-by: Andrew Cornies <acornies@gmail.com>
2020-08-06 14:48:25 -04:00
Maxim Lobanov
cf999e07db
fix formatting
2020-08-06 21:14:53 +03:00
Maxim Lobanov
cdd33d3ff2
proceed with next files when copy directory
2020-08-06 21:04:00 +03:00
Andrew Cornies
a2ea308881
URL format error checking
...
Signed-off-by: Andrew Cornies <acornies@gmail.com>
2020-08-06 14:02:45 -04:00
Megan Marsh
04d7a10aa0
Merge pull request #9714 from hashicorp/fix_9688
...
provide more helpful error message than the one returned by the clien…
2020-08-06 10:54:21 -07:00
Sylvia Moss
78ce1dbde9
Add manifest hcl2 examples ( #9721 )
2020-08-06 13:43:35 -04:00
Megan Marsh
4964c54f60
update docs to state resource id must be fully qualified
2020-08-06 10:41:18 -07:00
sylviamoss
6d0b5a6957
skip post-processors when build is cancelled
2020-08-06 14:40:02 +02:00
Megan Marsh
25f2ec48d3
add network_name option to vmware builder to make it match the network option on the vsphere builder, so vmware users needn't update vmx data just for the network name ( #9718 )
2020-08-06 13:19:55 +02:00
Megan Marsh
09852b89a7
make note about deprecation warning ( #9717 )
2020-08-06 13:14:30 +02:00
Andrew Cornies
ab52d83fb0
Functional download of formulas using gogetter
...
Signed-off-by: Andrew Cornies <acornies@gmail.com>
2020-08-06 01:22:19 -04:00
Megan Marsh
de5c5873a2
Merge pull request #9715 from hashicorp/checksum_pp_hcl_example
...
Update checksum post-processor docs with hcl2 example
2020-08-05 11:07:21 -07:00
Megan Marsh
3f61498704
Merge pull request #9704 from ntoofu/f-vsphere-export-permission
...
Add `directory_permission` config option to `vsphere` builder
2020-08-05 10:57:30 -07:00
Megan Marsh
171d725425
Merge pull request #9707 from hashicorp/fix_9471
...
update docs for command and make sure they get generated properly so …
2020-08-05 10:49:16 -07:00
sylviamoss
fd683daa22
update checksum post-processor docs
2020-08-05 19:46:17 +02:00
Megan Marsh
b52143f528
update docs for command and make sure they get generated properly so they appear in the docs
2020-08-05 10:30:16 -07:00
Sylvia Moss
dcacf7ad4c
Add vSphere HCL examples to the docs ( #9674 )
2020-08-05 19:23:52 +02:00
Megan Marsh
aede34079d
provide more helpful error message than the one returned by the client, without context
2020-08-05 09:52:11 -07:00
ntoofu
a53e81d9a2
Make docs more clear
...
https://github.com/hashicorp/packer/pull/9704#discussion_r465393240
2020-08-06 01:11:02 +09:00
Sylvia Moss
9181a435aa
Make max_retries a string to allow variable interpolation ( #9673 )
2020-08-05 17:41:20 +02:00
jhawk28
6b8d086e94
alt, ctrl, and shift should be outside variables ( #9702 )
2020-08-05 17:36:40 +02:00
Megan Marsh
825deef43d
Merge pull request #9665 from hashicorp/vsphere_clone_customization
...
Add step to customize cloned VM
2020-08-05 08:30:31 -07:00
Sylvia Moss
dd37a10355
fix configuration_parameters ( #9713 )
2020-08-05 16:57:12 +02:00
Megan Marsh
f295b6d2e5
change default target to just make the dev binaries ( #9706 )
2020-08-05 13:32:24 +02:00