Commit Graph

16747 Commits

Author SHA1 Message Date
Megan Marsh eecac40d77
Merge pull request #10394 from anssijun/aws-ebs-retry-spot-instance-tagging
Fix retry logic in AWS spot instance tagging
2020-12-15 11:07:48 -08:00
Megan Marsh b0795f86fd
Merge pull request #10243 from dany1532/feature/amazon-chroot-encrypted-volumes
adding support for root volume encryption for amazon-chroot
2020-12-15 11:03:14 -08:00
Megan Marsh 1113301c1b fix conflicts 2020-12-15 10:53:51 -08:00
Dany Garcia 905d8401ea removing unused import 2020-12-15 10:41:25 -08:00
Dany Garcia 0b13d44a23 exporting reusable validatekmskey function 2020-12-15 10:41:25 -08:00
Dany Garcia 3389fded48 merging latest master 2020-12-15 10:40:46 -08:00
Dany Garcia 39bb3a6c55 incorrect error message regarding parameter names 2020-12-15 10:40:12 -08:00
Dany Garcia 504c3807f7 adding support for root volume encryption for amazon-chroot 2020-12-15 10:40:08 -08:00
Anssi Junnola 82a25ec419 Fix retry logic in AWS spot instance tagging 2020-12-15 17:21:03 +00:00
Adrien Delorme 72c1912b60
allow to discover & start packer-plugin-* muliplugin binaries (#10277)
This add :
* discovery of `packer-plugin-*` binaries from the known folders and ask them to describe themselves
* tests

For testing: in go we create a bash script that in turn calls back to Go. I could not make the tests to work on windows and then would like to postpone testing this for when we know more about the finite layout of this feature. That is mainly: how things are going to work with init, versioning and such.
2020-12-15 10:58:09 +01:00
Megan Marsh 0db037b4ff
Merge pull request #10316 from unixsurfer/unixsurfer/adjust_googlecompute-export
googlecompute-export: Add logging.write to service account scopes
2020-12-14 16:35:21 -08:00
Megan Marsh 4f419506fd
Merge pull request #10384 from Pyrrvs/vmware-dhcp-leases-bigsur
make packer compatible with MacOS BigSur by using Apple DHCP leases instead of VMWare leases
2020-12-14 16:30:50 -08:00
Megan Marsh 4213754905
Merge pull request #10389 from hashicorp/dependabot/npm_and_yarn/website/lodash-4.17.20
Bump lodash from 4.17.15 to 4.17.20 in /website
2020-12-14 16:12:35 -08:00
dependabot[bot] e7e02c591d
Bump lodash from 4.17.15 to 4.17.20 in /website
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.20.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.20)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-14 23:55:46 +00:00
Megan Marsh bf0a19f2cf
Merge pull request #10345 from hashicorp/je.mdx-remote
Implement MDX Remote
2020-12-14 15:54:39 -08:00
Jeff Escalante a7be0df3de
resolve hanging conflicts 2020-12-14 18:20:31 -05:00
Jeff Escalante 29b01e5111
update deps, restore search 2020-12-14 18:20:31 -05:00
Jeff Escalante 9d4ffb6cbd
use global markdownpage component 2020-12-14 18:20:19 -05:00
Jeff Escalante 5f68414ce0
Update website/components/_temporary-markdown-page/README.md
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2020-12-14 18:20:04 -05:00
Jeff Escalante 6809b16b14
fix tab indentation on inspec provisioner page 2020-12-14 18:20:03 -05:00
Jeff Escalante ad81e9df2f
remove unneeded initialprops in app.js 2020-12-14 18:20:03 -05:00
Jeff Escalante 25380116f2
remove layout frontmatter prop 2020-12-14 18:20:03 -05:00
Jeff Escalante 2de270341c
refactor to mdx remote 2020-12-14 18:20:01 -05:00
Pyrrvs 12a6fddbd8 handle apple dhcp lease with missing 'name' and 'lease' informations 2020-12-14 19:16:00 +01:00
Megan Marsh 568916067e
Merge pull request #10385 from Direnol/yandex/do-not-use-cloud-config
yandex: do not use cloud-config fileds due to possible collision
2020-12-14 09:24:21 -08:00
dependabot[bot] 77047c6425
Bump ini from 1.3.5 to 1.3.8 in /website (#10381)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-14 12:21:52 -05:00
Sylvia Moss b7ebcd78db
add method to set multi-plugin version (#10386) 2020-12-14 17:08:38 +01:00
Wilken Rivera 4e58987026
command/fmt: Ensure all variable files ending in `.pkrvars.hcl` get formatted (#10377)
Before change
```
⇶  packer fmt -check /tmp/unformatted.pkrvars.hcl
Error: Cannot tell whether /tmp/unformatted.pkrvars.hcl contains HCL2 configuration data

⇶  echo $?
1
```

After fix
```
⇶  packer fmt -check /tmp/unformatted.pkrvars.hcl
/tmp/unformatted.pkrvars.hcl

⇶  echo $?
3

⇶  packer fmt -check command/test-fixtures/fmt
command/test-fixtures/fmt/unformatted.pkr.hcl
command/test-fixtures/fmt/unformatted.auto.pkrvars.hcl
command/test-fixtures/fmt/unformatted.pkrvars.hcl

```
2020-12-14 10:29:58 -05:00
Roman Mingazeev 354166350d yandex: do not use cloud-config fileds due to possible collision 2020-12-14 13:04:27 +03:00
Donald Guy 889e42443a
Fix 2nd binding of string reverse for list reverse (#10380) 2020-12-14 10:57:08 +01:00
Pyrrvs f0612e4688 improve parser by skipping all lines containing a '{' or a '}'. fix unecessary []byte cast (linter issue). 2020-12-14 01:00:24 +01:00
gla 7201ce9248 make packer compatible MacOS BigSur by making vmware fusion drivers able to lookup the VM IP address in apple dhcpd leases instead of vmware leases. 2020-12-13 23:26:53 +01:00
Megan Marsh d8277aa455
Merge pull request #10373 from hashicorp/makefile_changes
Modify struct-markdown generator code to work from different projct roots
2020-12-11 16:06:13 -08:00
Megan Marsh 2c62c9bff1 fix var naming and docs in acctest package 2020-12-11 15:23:12 -08:00
Megan Marsh 7f1456fc50 add godoc for acctest package 2020-12-11 15:15:25 -08:00
Megan Marsh 2805a59dbd remove unused tools, add some docs 2020-12-11 15:15:08 -08:00
Megan Marsh 575f8ab8e8 add readme to plugin-sdk subdir 2020-12-11 14:02:41 -08:00
Megan Marsh a6b6819b1d add makefile and go.mod file to sdk subdir. this'll make it easier to extract when we're ready. TODO: readme 2020-12-11 13:51:10 -08:00
Megan Marsh edb9d73027
Merge pull request #10368 from GennadySpb/yandex-export-show-progress
Yandex export show progress
2020-12-11 13:47:38 -08:00
Megan Marsh c90e3d8466 fix makefile 2020-12-11 13:37:03 -08:00
Megan Marsh 395920f917 didnt mean to delete this 2020-12-10 14:38:16 -08:00
Megan Marsh f179f01314 Modify struct-markdown generator code to work from different projct roots
Modify makefile to call generate code properly, setting project root.
'make generate' now avoids deleting website code generated in the packer plugin sdk.
For now it will be maintainers' responsibility to regenerate this docs code from the
packer plugin sdk every release, and commit it to these folders manually.
remove boot command generator code
2020-12-10 14:35:14 -08:00
Gennady Lipenkov d0367d90bd Periodically send signal to trigger qemu-img to show current progress 2020-12-10 18:50:28 +03:00
Roman Mingazeev 992cbe6dee
Update post-processor/yandex-export/step-attach-disk.go
Co-authored-by: GennadySpb <lipenkov@gmail.com>
2020-12-10 15:17:27 +03:00
Roman Mingazeev 69adcdb2a3
Update post-processor/yandex-export/step-attach-disk.go
Co-authored-by: GennadySpb <lipenkov@gmail.com>
2020-12-10 15:17:21 +03:00
Roman Mingazeev ceb02833a4
Update post-processor/yandex-export/step-attach-disk.go
Co-authored-by: GennadySpb <lipenkov@gmail.com>
2020-12-10 15:17:09 +03:00
Roman Mingazeev bbd9ee8589 fix export when using empty ubuntu image 2020-12-10 14:52:22 +03:00
Adrien Delorme e89db37717
add aws multiplugin binary canary code (#10272)
This creates a new plumbing to allow to have binaries that can define any plugin on any type.
2020-12-10 09:22:09 +01:00
Roman Mingazeev aa0efcf73e
Yandex/ssh communicator in export (#10352)
* use ssh for communicate to export
* Update post-processor/yandex-export/step-create-s3-keys.go

Co-authored-by: GennadySpb <lipenkov@gmail.com>
2020-12-09 16:51:34 +01:00
Gareth Rees 355b93730b
Gcp oslogin issue 10170 (#10360) 2020-12-09 15:01:51 +01:00