Commit Graph

16643 Commits

Author SHA1 Message Date
Major Hayden 4254fa3581
docs: trivial spelling fix (#10334)
🤗
2020-12-03 15:00:11 +01:00
Megan Marsh 196ac12d07
Merge pull request #10325 from hashicorp/move_comm_helper
Move comm helper
2020-12-02 08:52:28 -08:00
Megan Marsh 39354f64e5 move helper/communicator dir into packer-plugin-sdk
fix imports; fix website and generated partials
2020-12-02 08:41:32 -08:00
Megan Marsh ff549e0b23 fix tests 2020-12-02 08:41:31 -08:00
Megan Marsh 307f56f560 move postprocessor to sdk, fix generation code 2020-12-02 08:41:31 -08:00
Megan Marsh b4bc3f1c7b move provisioner interface into sdk 2020-12-02 08:41:31 -08:00
Megan Marsh faa3832537 extract builder interface to sdk 2020-12-02 08:41:31 -08:00
Megan Marsh 179e436670
Merge pull request #10323 from hashicorp/more_sdk
extract builder interface to sdk
2020-12-02 08:40:01 -08:00
jhawk28 89199a4c57
WaitForIP should not return an error if an IP is not found (#10321) 2020-12-02 10:30:42 +01:00
Megan Marsh bf6ab0c290 fix tests 2020-12-01 15:02:15 -08:00
Megan Marsh b69d69095e move postprocessor to sdk, fix generation code 2020-12-01 14:48:55 -08:00
Megan Marsh be5763ec41 move provisioner interface into sdk 2020-12-01 14:25:14 -08:00
Megan Marsh ada91b24e9 extract builder interface to sdk 2020-12-01 13:42:42 -08:00
Megan Marsh fab442eb52
Merge pull request #10289 from hashicorp/extract_ui
Untangle packer/packer
2020-12-01 11:27:21 -08:00
Megan Marsh f8bc406306 update changelog 2020-12-01 11:27:03 -08:00
Megan Marsh edbd483917 fix go-getter imports 2020-12-01 10:59:08 -08:00
Megan Marsh 19bdc8b49e fix conflicts 2020-11-30 14:34:20 -08:00
Megan Marsh 0eff73293a fix imports, vendoring, and linting 2020-11-30 14:30:30 -08:00
Megan Marsh d5971ca25e fix tests by moving mock hooks and communicators, and BasicUi definition, into SDK 2020-11-30 14:30:30 -08:00
Megan Marsh f81ed344a2 regenerate code 2020-11-30 14:30:30 -08:00
Megan Marsh 56a45b04ab Move hook and communicator definitions to packer-plugin-sdk 2020-11-30 14:30:30 -08:00
Megan Marsh a6fdeca099 move logsecretfilter into packer sdk 2020-11-30 14:30:30 -08:00
Megan Marsh 14bdb9516c move Artifact and artifact mock to the sdk 2020-11-30 14:29:52 -08:00
Megan Marsh c70870cb83 move multierror and multierrorappend into sdk 2020-11-30 14:29:06 -08:00
Megan Marsh 001886670d move Ui definition into the packer plugin sdk. 2020-11-30 14:26:54 -08:00
Megan Marsh 47f623a3a5
Merge pull request #10297 from Direnol/yandex/prepare-user-data
support merge cloud user-data
2020-11-30 14:09:23 -08:00
Megan Marsh a56477c2e4
Merge branch 'master' into yandex/prepare-user-data 2020-11-30 13:57:35 -08:00
Megan Marsh ab8d034818
Merge pull request #10292 from adeniyistephen/newfeature
Fix SSH-Private-Key-File to the vsphere-iso mdx file
2020-11-30 13:41:10 -08:00
adeniyistephen1 5ff59be242 Fix SSH-Private-Key-File to the vsphere-iso mdx file 2020-11-30 13:28:10 -08:00
Megan Marsh 862700b1a5
Merge pull request #10306 from bugfood/fix-attach
allow attaching guest additions without a communicator
2020-11-30 10:58:23 -08:00
Megan Marsh c30a80e63d
Merge pull request #10308 from hashicorp/vsphere_clone_docs_10288
Improve vsphere-clone customization example
2020-11-30 10:36:37 -08:00
Megan Marsh 3bda89467d
Merge pull request #10303 from GennadySpb/yndx-export-wait-and-retries
yandex-export: Add retries and wait after disk attach operation
2020-11-30 10:14:25 -08:00
Megan Marsh f40eab4733
Merge pull request #10305 from Direnol/yandex/fix-verify-service-account-id-in-export
added check of service account id in export
2020-11-30 09:39:33 -08:00
Wilken Rivera d82b9d2072
builder/qemu: Add ok check for state values (#10249)
This changes fixes two crashes in `step_run` that expects certain
information to be in state from prior steps. This change requires
testing to ensure the bugs have been fixed.

I believe there may be more state values that need to be checked as they
may not be put into state if a build configuration has attributes that
would skip or otherwise not put data into the statebag.
2020-11-30 10:40:03 -05:00
Gennady Lipenkov 4c3e310f57 manually trigger udev 2020-11-26 17:29:33 +03:00
Gennady Lipenkov ef67fb1cc8 Some wait before check 2020-11-25 15:45:49 +03:00
sylviamoss 6c410e4d13 improve customization example 2020-11-25 10:50:09 +01:00
Corey Hickey fdb36e329d allow attaching guest additions without a communicator
This avoids the error:
* guest_additions_mode has to be 'disable' when communicator = 'none'.

...when the following are set:
"communicator": "none",
"guest_additions_mode": "attach",

This particular combination of parameters is valid; for example, in my
case, a kickstart post-install script mounts the CD image from /dev/sr1
and runs the installer, without needing any intervention from packer
itself.

From my reading of the documentation, it appears that the "upload" mode
would indeed require a communicator, so I change the logic to check for
that specifically.
2020-11-24 15:46:14 -08:00
Roman Mingazeev 677c48d294 add record to changelog 2020-11-24 20:07:52 +03:00
Roman Mingazeev a509781a03 added check of service account id in export 2020-11-24 20:04:37 +03:00
Gennady Lipenkov 138e3a081b Add retries and wait after disk attach operation 2020-11-24 19:15:46 +03:00
Adrien Delorme 73b7499811
HCL2: version block: test validation & document version/availability (#10298)
* HCL2: Test that the packer block passes in packer validate

* HCL2: Test invalid packer blocks are invalid

* docs: state from which version the packer block is available
2020-11-23 10:27:26 -05:00
Roman Mingazeev 937e3425e5 add changelog record 2020-11-23 17:46:18 +03:00
Roman Mingazeev 2b8fcead23 support shellscript 2020-11-23 17:15:12 +03:00
Roman Mingazeev 0101eb1bb1 support merge cloud user-data 2020-11-23 13:19:50 +03:00
Adrien Delorme c5da8c5c37
Fix salt-masterless provisioner after merge conflict compilation error (#10296)
This is most likely due to the merge between #10291 and #10257 ( that moves WindowsOSType into guestexec.

This fixes #10291
2020-11-23 10:29:12 +01:00
Megan Marsh b50fe930e5
fix retries (#10290) 2020-11-23 09:39:17 +01:00
Megan Marsh 5a804de9a3
Merge pull request #10212 from OblateSpheroid/GH8211
Feat (builder/oracle-oci): support image launch mode
2020-11-20 15:53:18 -08:00
Megan Marsh 7141dcfecb
Merge pull request #10201 from davewoodward/feature/windows-package-manager
Add calls to winrepo.update_git_repos and pkg.refresh_db
2020-11-20 15:48:42 -08:00
Megan Marsh f4041ee4d0
Merge pull request #10200 from aleksandrserbin/feature/describe-instance-on-fail
amazon-ebs: log state details on change
2020-11-20 15:31:40 -08:00