Commit Graph
63 Commits
Author SHA1 Message Date
Adrien Delorme 87ba7258b3 Use packer-sdc in packer + remove mapstructure-to-hcl2 & struct-markdown (#10913)
* start using `go:generate packer-sdc struct-markdown`

* Update Makefile

remove @go install ./cmd/struct-markdown

* run go generate for struct-markdown

* use //go:generate packer-sdc mapstructure-to-hcl2

* run go generate for mapstructure-to-hcl2

* remove struct-markdown and mapstructure-to-hcl2

* vendor vendors
2021-04-16 11:52:03 +02:00
Wilken Rivera f36554fa0e Update redirects and URLs to legacy JSON template docs (#10530) 2021-01-27 09:08:59 -05:00
Roman Mingazeev e588029d6a yandex: some fix (#10522) 2021-01-25 12:26:21 +01:00
Roman Mingazeev 0554c33951 update description 2021-01-15 14:11:12 +03:00
Roman Mingazeev c0f7b2ef39 fix wg.Add(1) lint 2021-01-15 12:59:27 +03:00
Roman Mingazeev 379a33de42 yandex/update-dump-method 2021-01-15 12:51:54 +03:00
Adrien Delorme 52d2d7fe5f Copy MapOf... plugin types back into Packer core (#10466)
* move maps of plugins back in core

* go mod vendor

* more fixes

* fix imports

* Update core_test.go

* fix build

* more fixes

* more fixes

* up vendors after fixing sdk

* Update post_processor_mock.hcl2spec.go

* Leave implementatino of MapOf in the sdk for plugi tests

Other wise use the interface

* go mod tidy

* add MapOfDatasource type too
2021-01-13 12:14:06 +01:00
Megan Marsh 88b7b0e14a remove sdk 2020-12-17 13:29:25 -08:00
Megan Marsh 5f34bbd56e add extra line before package declaration so this line does not become the synopsis of a package for godoc 2020-12-16 15:14:43 -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 MingazeevandGennadySpb 992cbe6dee Update post-processor/yandex-export/step-attach-disk.go
Co-authored-by: GennadySpb <[email protected]>
2020-12-10 15:17:27 +03:00
Roman MingazeevandGennadySpb 69adcdb2a3 Update post-processor/yandex-export/step-attach-disk.go
Co-authored-by: GennadySpb <[email protected]>
2020-12-10 15:17:21 +03:00
Roman MingazeevandGennadySpb ceb02833a4 Update post-processor/yandex-export/step-attach-disk.go
Co-authored-by: GennadySpb <[email protected]>
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
Roman MingazeevandGennadySpb 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 <[email protected]>
2020-12-09 16:51:34 +01:00
Roman Mingazeev 9fabad6f1d rebase && some fixes 2020-12-07 18:27:22 +03:00
Roman Mingazeev 1c08463204 rebase 2020-12-07 18:13:12 +03:00
Roman Mingazeev efe6d2f08f add comment and remove overrides 2020-12-07 18:13:12 +03:00
Roman Mingazeev 4eb3daec8e lint 2020-12-07 18:13:12 +03:00
Roman Mingazeev 478fda12ba reuse common configs 2020-12-07 18:13:06 +03:00
Roman Mingazeev adb4a14471 do better mount image (#10335)
* do better mount image

* check error
2020-12-07 12:20:06 +01: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 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
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
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
Megan Marsh f8f1ebf0c7 move version and useragent definitions into sdk 2020-11-18 11:42:02 -08:00