Sathyajith Bhat
9c8daed65e
Fix typo in error message ( #9775 )
...
If a variable has not been passed, the error message shown has a tiny typo (varaibles instead of variables)
2020-08-16 21:39:08 -04:00
Marco Molteni
1a248e4868
Fix: build.sh: give validateToolPresence a chance to inform the user ( #9776 )
...
Since the build.sh script runs with `set -e` (exit _immediately_ in case
of error), we cannot first call the `which` command and, on a susequent
line, check its exit status with $?, it would be too late. Instead, we
idiomatically check on the same line of the invocation of `which`.
From the confusing:
$ make bin
==> Checking for necessary tools...
make: *** [bin] Error 1
To the informative:
$ make bin
==> Checking for necessary tools...
realpath is not on the path. Exiting...
make: *** [bin] Error 1
2020-08-16 21:37:12 -04:00
Megan Marsh
2dcf950441
change pause to run connect again afterwards
2020-08-14 11:23:43 -07:00
Megan Marsh
d486459a00
Merge pull request #9764 from hashicorp/hcl2_provisioner_override
...
Add override provisioner's option for HCL2
2020-08-14 09:49:34 -07:00
Wilken Rivera
89d57b8635
post-processor/googlecompute-import: Update documentation ( #9767 )
2020-08-14 12:04:44 +02:00
Megan Marsh
086141f9a9
add an hcl example to the docs pipeline ( #9763 )
2020-08-14 11:42:06 +02:00
Megan Marsh
8b4993e44c
fix docs for kms key ids ( #9766 )
2020-08-14 11:35:35 +02:00
sylviamoss
39a8dee4ea
add tests and update override example
2020-08-14 11:22:51 +02:00
Megan Marsh
99f503a22b
update changelog
2020-08-13 13:11:50 -07:00
sylviamoss
62c3743890
implemet override provisioner's option for hcl2
2020-08-13 19:27:04 +02:00
Megan Marsh
acba3ea3e7
Document network path ( #9762 )
2020-08-13 11:26:40 -04:00
Sylvia Moss
a2277e312f
add inspec provisioner hcl2 examples ( #9761 )
2020-08-13 11:23:56 -04:00
Megan Marsh
29b08e54bc
Merge pull request #9760 from hashicorp/pipeline_with_hcl_docs
...
add hcl docs to pipeline build docs
2020-08-13 07:19:14 -07:00
Megan Marsh
321aa090df
Merge pull request #9746 from jsmcnair/f-vault-function
...
Add vault function for HCL2 and documentation
2020-08-13 07:18:28 -07:00
Megan Marsh
2a80bff8c2
Update website/pages/guides/packer-on-cicd/pipelineing-builds.mdx
...
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2020-08-13 07:05:26 -07:00
Megan Marsh
b5b28c55fb
update powershell provisioner docs to include HCL examples ( #9759 )
2020-08-13 13:45:30 +02:00
Megan Marsh
87b290ae67
add hcl docs to pipeline build docs
2020-08-12 15:24:47 -07:00
jsmcnair
78c280b1b7
Use common funcs / fix panic / clarify docs
2020-08-12 22:34:13 +01:00
Megan Marsh
e97c56dc72
Merge pull request #9559 from hashicorp/fix_9482
...
builder/azure-arm: Remove duplicate resource deletion steps
2020-08-12 12:43:09 -07:00
Wilken Rivera
55812fe8a5
Handle error of deferred deletion
2020-08-12 11:30:15 -04:00
Wilken Rivera
5700f74c8c
Handle lease not present error
2020-08-12 11:27:07 -04:00
Wilken Rivera
d91839b93e
Update deletion logic for OS disks
...
* Add an ResourceNotFound error check
* Add logic to break temporary disk lease before deleting it
2020-08-12 11:03:51 -04:00
Wilken Rivera
ba6d11d518
Remove StepDeleteOSDisk in favor of StepDeployTemplate#Cleanup
2020-08-12 11:03:03 -04:00
Megan Marsh
54469c4728
Add all of the custom AWS template engines to GeneratedData for use b… ( #9751 )
2020-08-12 10:43:15 +02:00
Sylvia Moss
e475db6a66
check for ip after timeout ( #9748 )
2020-08-12 10:39:12 +02:00
Wilken Rivera
9d453624ff
Merge pull request #9752 from hashicorp/ansible_local_docs
...
ansible-local hcl docs
2020-08-11 21:11:05 -04:00
Wilken Rivera
956651e711
Merge pull request #9753 from hashicorp/breakpoint_hcl_docs
...
hcl example for breakpoint provisioner
2020-08-11 21:07:38 -04:00
Wilken Rivera
7abeafaa04
Merge pull request #9754 from jfpanisset/remove_iso_checksum_type_2
...
Remove more examples of deprecated iso_checksum_type in docs
2020-08-11 21:04:02 -04:00
Jean-Francois Panisset
6f8a909cef
Remove more examples of deprecated iso_checksum_type in docs
...
Follow up to remove_iso_checksum_type
Signed-off-by: Jean-Francois Panisset <panisset@gmail.com>
2020-08-11 17:29:21 -07:00
Megan Marsh
0aa4d7117d
hcl example for breakpoint provisioner
2020-08-11 16:28:02 -07:00
Megan Marsh
0a3ff3b190
ansible-local hcl docs
2020-08-11 16:20:56 -07:00
Megan Marsh
3a1fc8c6f4
Merge pull request #9749 from chrisgilmerproj/cg_timing
...
Pretty print build durations
2020-08-11 15:45:01 -07:00
Chris Gilmer
6e918c4bd3
Update test for builder output
2020-08-11 15:25:33 -07:00
Megan Marsh
5016df92b8
fix vendoring
2020-08-11 15:04:47 -07:00
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