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
23118c451c
fix delete
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
becf7723e6
move builder/testing to acctest inside sdk
2020-12-03 11:57:06 -08:00
Megan Marsh
863e20ad65
move builder/testing framework into sdk; it imports the core but I think we just need to accept that. It doesn't expose the core directly to the SDK.
2020-12-02 09:46:42 -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
faa3832537
extract builder interface to sdk
2020-12-02 08:41:31 -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
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
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
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
bf7daa1d93
Merge pull request #10255 from hashicorp/plugin-sdk-3
...
Plugin sdk 3
2020-11-16 11:36:17 -08:00
Megan Marsh
efe11da4a3
Merge pull request #10254 from hashicorp/plugin-sdk-2
...
Plugin sdk 2
2020-11-16 11:29:20 -08:00
Megan Marsh
3e54e9ea80
Merge pull request #10235 from hashicorp/refactor_version_code
...
Refactor version code
2020-11-16 11:12:59 -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
6871a3a85d
Merge pull request #10250 from Direnol/yandex/change-disk-creation-method
...
fix(yandex): change disk creation method to manual
2020-11-13 09:28:10 -08:00
Roman Mingazeev
6be26e50e0
Update builder/yandex/config.go
...
Co-authored-by: GennadySpb <lipenkov@gmail.com>
2020-11-13 17:27:50 +03:00
Roman Mingazeev
5bf03df694
fix fmt
2020-11-13 16:44:15 +03:00
Roman Mingazeev
6a327b1330
add labels for temp disk
2020-11-13 16:35:48 +03:00
Roman Mingazeev
fe9dca4c75
change disk creation method to manual
2020-11-13 16:16:35 +03:00
Megan Marsh
3db40194af
version files
2020-11-10 14:48:06 -08:00
Megan Marsh
8ecd16db81
regenerate code
2020-11-10 08:16:59 -08:00
Megan Marsh
1ecd715221
refactor code so that packer/version is not a dependency of sdk code or plugin code
2020-11-09 17:20:42 -08:00
Megan Marsh
2d90ffe7a4
move GeneratedData struct and PlaceholderMsg to same package under common
2020-11-06 10:45:38 -08:00
Adrien Delorme
f5e037e8b4
Merge remote-tracking branch 'origin/master' into azr_selectable_temp_keygen_type_gcp
2020-10-26 15:47:29 +01:00
Roman Mingazeev
75befba67e
add more doc
2020-10-23 18:01:52 +03:00
Roman Mingazeev
60595ad522
remove extra log
2020-10-23 14:09:05 +03:00
Roman Mingazeev
72fe3bbc26
Update builder/yandex/access_config.go
...
Co-authored-by: GennadySpb <lipenkov@gmail.com>
2020-10-23 14:05:39 +03:00
Roman Mingazeev
ae7fc84557
Added support for IAM credential in the token field and YC_TOKEN env
2020-10-23 11:47:28 +03:00
Adrien Delorme
522d122858
regen all code
2020-10-21 12:04:10 +02:00
Adrien Delorme
54032d6c11
gen code and docs
2020-10-15 16:51:23 +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
Megan Marsh
a687d6fe12
ci/tech-debt: Fix vmware acceptance tests ( #9636 )
...
* add kex algorithm option to ssh config
* regenerate code
* This commit fixes old vmware acceptance tests that have not been run in some time. It does this in two parts:
1) It modifies the minimal vmware build configuration to use a custom kex algorithm, which enables the ssh connection to succeed.
2) It modifies logic in reading and defaulting hardware config values, which was crashing.
3) It adds a new acceptance test with a preseed file to test loading from an http directory.
2020-07-23 09:40:57 +02:00
Gennady Lipenkov
03a0bf26f2
Rename config key name
2020-07-16 17:29:45 +03:00
Gennady Lipenkov
9c565a97c0
Add new property 'min_disk_size' of built image
2020-07-16 17:10:22 +03:00
Roger Hu
28f8241a05
update generated files
2020-07-10 16:58:06 -07:00
Gennady Lipenkov
378c9746fa
Fill up build variables (aka `generated_data`)
...
See description at https://packer.io/docs/extending/custom-builders#build-variables
2020-07-09 16:21:21 +03:00