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 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
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
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
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
2167118126
add version files for all postprocessors
2020-11-10 14:55:45 -08:00
Megan Marsh
8ecd16db81
regenerate code
2020-11-10 08:16:59 -08:00
Megan Marsh
2d90ffe7a4
move GeneratedData struct and PlaceholderMsg to same package under common
2020-11-06 10:45:38 -08:00
Roman Mingazeev
3fc185924d
fix delete access key
2020-10-30 12:20:10 +03:00
Roman Mingazeev
7ab2866d5c
verifying the access to a specific bucket
2020-10-29 20:53:04 +03: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
GennadySpb
0df2e15d9f
If proposed exit code not equal 0 set proper metadata key to expected 'cloud-init-error'. ( #9849 )
...
Last one checked at `StepWaitCloudInitScript`.
2020-08-31 14:38:22 +02:00
Viktor A. Danilov
cd60f32866
fix yandex-export aws: ( #9814 )
...
1. move aws validation before disk image creation
2. add `--region` option
2020-08-26 12:41:05 +02:00
Gennady Lipenkov
bd1e4f9d7d
yandex-export post-processor artifact id is url.
...
First storage path used.
2020-07-17 00:45:19 +03: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