Commit Graph

15849 Commits

Author SHA1 Message Date
PacoDw 43e9d43ebd chore: removed API attribute 2020-08-18 13:52:49 -05:00
Marin Salinas 7d8f28e1a3
Merge pull request #2 from marinsalinas/step_source_info
Step source info
2020-08-18 13:34:16 -05:00
Marin Salinas 8b2cdc5821 refactor: change step_network_info to new OSC SDK 2020-08-18 13:33:45 -05:00
Marin Salinas 8649496c6c refactor: change new sdk on step_source_omi_info 2020-08-18 13:33:45 -05:00
Marin Salinas daefa4d086 chore: update vendor dependencies 2020-08-18 13:33:45 -05:00
PacoDw 4431bb87b2 :chore: added api key to specify the API connection 2020-08-18 13:33:45 -05:00
PacoDw 823b957a1f :chore: implemented OSC connection in pre_validate file 2020-08-18 13:33:45 -05:00
PacoDw 22481d1ac2 :chore: added OSC Connection in builder file 2020-08-18 13:32:38 -05:00
PacoDw 1fbe715c13 :chore: added OSC Connection in builder file 2020-08-18 12:23:39 -05:00
PacoDw 1bfb2d9170 :chore: implemented transport file to make the OSC API Connection 2020-08-17 10:04:28 -05:00
PacoDw 1055007cba :chore: added OSC API Client Connection 2020-08-17 10:02:00 -05:00
PacoDw 74f868da37 :chore: changed the AMI with an existing AMI to work fine with the test case 2020-08-13 17:03:32 -05: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
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