Chris Gilmer
04f952a2f4
Pretty print build durations
2020-08-11 15:04:42 -07:00
Wilken Rivera
aed97e1a8b
Ensure any active leases are brokend before deleting
2020-08-11 16:41:28 -04:00
Wilken Rivera
920da9d0a4
Fix up code to remove some additional steps
2020-08-11 16:40:51 -04:00
Megan Marsh
703023d47e
update changelog
2020-08-11 08:34:45 -07:00
Javier Ruiz Jiménez
13d1b50d8a
Remove double-quoted in variable type ( #9747 )
...
The type parameter in a variable definition can't be double-quoted as it is a primitive type keyword or a complex type constructor
2020-08-11 16:33:02 +02:00
Megan Marsh
2ffbe8240f
document that interactive login is not an option for gov clouds ( #9744 )
2020-08-11 15:55:24 +02:00
jsmcnair
8666ebceca
Fix broken header
2020-08-11 09:48:00 +01:00
jsmcnair
33e3f62ff7
Add vault function for HCL2 and document
2020-08-11 09:18:15 +01:00
Megan Marsh
027eb40a97
soften the declaration that vmware and virtualbox require bare metal. ( #9745 )
2020-08-10 20:09:57 -04:00
Megan Marsh
676c3a21bf
Merge pull request #9743 from hashicorp/document_9168
...
add docs note about quoting string variables on the command line
2020-08-10 14:51:56 -07:00
Megan Marsh
4c3912bfdc
add docs note about quoting string variables on the command line
2020-08-10 14:07:20 -07:00
Megan Marsh
c3ba818893
Merge pull request #9741 from hashicorp/on_error_docs
...
add docs to make it explicit that on-error=abort etc are only relevan…
2020-08-10 13:57:34 -07:00
Megan Marsh
05c46635a3
Merge pull request #9742 from hashicorp/document_4658
...
document vsphere role permissions needed to run post-processors.
2020-08-10 13:57:19 -07:00
Megan Marsh
f8bb9008c0
Merge pull request #9697 from backerman/personal/backerman/9695
...
Add FreeBSD support to azure/chroot
2020-08-10 12:47:48 -07:00
Megan Marsh
5f119a5464
document vsphere role permissions needed to run post-processors.
2020-08-10 11:48:18 -07:00
Megan Marsh
0f399ace57
add docs to make it explicit that on-error=abort etc are only relevant to provisioners, not post-processors
2020-08-10 11:10:37 -07:00
Wilken Rivera
7c28d5590c
Remove StepDeleteResourceGroup in favor of StepDeploymentTemplate#Cleanup
2020-08-10 12:57:11 -04:00
Megan Marsh
c0757a1bba
Merge pull request #9738 from hashicorp/community_pp
...
Add community supported post-processors
2020-08-10 09:24:04 -07:00
Megan Marsh
d3f48622a3
Merge pull request #9726 from acornies/feature/salt-masterless-formulas
...
Feature: salt-masterless formulas
2020-08-10 09:19:49 -07:00
Sylvia Moss
80960d7a64
Fix vsphere boot command and check for context cancelation when waiting for ip ( #9739 )
2020-08-10 18:16:19 +02:00
Andrew Cornies
bde75c9a96
Updated implementation to go-getter/v2
...
go.mod update and go mod vendor
Signed-off-by: Andrew Cornies <acornies@gmail.com>
2020-08-10 09:41:44 -04:00
sylviamoss
a447d151bb
add community supported post-processor
2020-08-10 14:09:58 +02:00
Megan Marsh
d826711e7a
File provisioner docs ( #9735 )
2020-08-10 13:15:27 +02:00
Megan Marsh
daccfc42cf
Fix ReregisterVM to default to true instead of false. ( #9736 )
2020-08-10 13:13:14 +02:00
Brad Ackerman
c43d99ccfd
Add tests for StepCopyFiles.
2020-08-09 15:44:50 -07:00
Brad Ackerman
6cb0a381a4
Remove removed extraneous import from vendor dir.
2020-08-09 14:41:31 -07:00
Brad Ackerman
23d5432333
Revert inadvertently-changed import.
2020-08-09 14:31:54 -07:00
Brad Ackerman
109b2a0ca9
Build constraints don't seem to work on test.
2020-08-09 14:12:58 -07:00
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