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
379a33de42
yandex/update-dump-method
2021-01-15 12:51:54 +03:00
Megan Marsh
88b7b0e14a
remove sdk
2020-12-17 13:29:25 -08:00
Roman Mingazeev
bbd9ee8589
fix export when using empty ubuntu image
2020-12-10 14:52:22 +03: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
Roman Mingazeev
9fabad6f1d
rebase && some fixes
2020-12-07 18:27:22 +03:00
Roman Mingazeev
efe6d2f08f
add comment and remove overrides
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
Roman Mingazeev
a509781a03
added check of service account id in export
2020-11-24 20:04:37 +03:00
Megan Marsh
9e47696dff
move helper/config to bundle with the other template definitions
2020-11-18 10:34:59 -08:00
Megan Marsh
3f6deb8828
move multistep into the plugin sdk
2020-11-17 16:31:03 -08:00
Megan Marsh
7d658149ea
update tests and website and generated partials to reflect new package format
2020-11-17 10:36:01 -08:00
Megan Marsh
e04eaa89e6
move steps and step configs from packer/common to packer/common/commonsteps
2020-11-13 11:15:04 -08:00
Megan Marsh
6402362018
create packer-plugin-sdk directory and begin moving the relevant folders into it.
2020-11-13 10:47:36 -08:00
Megan Marsh
2d90ffe7a4
move GeneratedData struct and PlaceholderMsg to same package under common
2020-11-06 10:45:38 -08:00
Megan Marsh
c0ce8a9414
rework fixer deprecation code so we know what plugins they relate to
2020-10-21 15:28:59 -07:00
GennadySpb
2837d56885
Check for error after runner completes ( #9925 )
2020-09-11 11:14:49 +02:00
GennadySpb
804fefef17
yandex-import: allow set custom API endpoint ( #9850 )
...
* Separate Access Config from yandex builder Config
* make use of Access Config explicit
* Move `MaxRetries` into AccessConfig
* NewDriverYC use AccessConfig instead Config
* yandex-import PP use common Access Config
Now support set custom API Endpoint
* yandex-export PP use common Access Config
Now support set custom API Endpoint too (as yandex-import)
* fix test
* Tiny doc updates.
2020-08-31 15:29:20 +02:00
Gennady Lipenkov
0092007311
Forms urls and support get url for yandex-export artifact
2020-07-16 18:01:18 +03:00
Gennady Lipenkov
fab42a061e
Update doc and example.
2020-07-16 18:01:15 +03:00
Gennady Lipenkov
f0e1b719d8
Forms urls and support get url for yandex-export artifact
2020-07-16 17:59:21 +03:00
Gennady Lipenkov
d83d2b0273
Update documentation
2020-07-09 17:43:11 +03:00
GennadySpb
446d259459
Update post-processor/yandex-export/post-processor.go
...
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2020-07-09 16:21:21 +03:00
Gennady Lipenkov
b02401c41b
Update doc and example.
2020-07-09 16:21:21 +03:00
Gennady Lipenkov
5762367de1
Provide 'GeneratedData' value for step 'StepCreateInstance'
2020-07-09 16:21:21 +03:00
Gennady Lipenkov
099dd3e7b3
Validate and render 'paths' config value
2020-07-09 16:21:21 +03:00
Gennady Lipenkov
56224ae08d
Instance SA auth for yandex-export post-processor
2020-06-17 18:15:53 +03:00
Gennady Lipenkov
85da85271f
Support SA Key authentication in Yandex Export post-processor
2020-06-09 11:06:12 +03:00
Megan Marsh
b982d987a7
Add Artifice postprocessor ID to valid artifacts for postprocessors that perform artifact type validation
2020-05-15 13:13:43 -07:00
Gennady Lipenkov
2658d58507
Fixes
2020-04-27 10:12:41 +03:00
Gennady Lipenkov
d5a6781fb7
Add new 'yandex-export' post-processor
2020-04-27 02:20:30 +03:00