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
Harvey Lowndes
b9b1cdf75f
Address review comments
2021-03-29 12:57:10 +01:00
Harvey Lowndes
cb359e8064
Update OCI docs for flex shapes
...
Update the docs to reflect flex shape additions. Also makes a fix to the mapstructure.
2021-03-26 12:26:52 +00:00
Avi Miller
e6596a0a1d
[oracle-oci] Add support for E3/E4.Flex shapes
...
This addes an optional shape_config stanza which allows
you to specify how many ocpus and memory the Flex
instance should be allocated.
This required an upgrade of the OCI Go SDK version.
Signed-off-by: Avi Miller <[email protected] >
2021-03-21 12:46:21 +11:00
Andrew Pryde
a915ec8e05
Upgrade oci-go-sdk to latest
2021-03-20 02:16:17 +00:00
Adrien Delorme
d5ccf73e91
oci builder: Show key_file errors ( #10774 )
2021-03-19 11:59:10 +01:00
Robert Neumayer
50a6732859
Use http constants and use switch instead of if
2021-02-10 16:46:00 +01:00
Robert Neumayer
bcd60c3895
Improve retry policy
2021-02-09 16:16:10 +01:00
Robert Neumayer
6b947edd04
Add retry strategies to oci calls
...
The oci api returns 429, among others in case a per-user rate limit is
hit. Currently our only mechanism to deal with this is to wait 5s
between the requests that poll for image availability (and export).
With a custom retry strategy we can handle more error situations while
putting less load on the api.
2021-02-09 09:33:43 +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
Megan Marsh
3681e2a7ee
fix pathing
2020-12-03 10:39:21 -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
19bdc8b49e
fix conflicts
2020-11-30 14:34:20 -08:00
Megan Marsh
0eff73293a
fix imports, vendoring, and linting
2020-11-30 14:30:30 -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
Megan Marsh
5a804de9a3
Merge pull request #10212 from OblateSpheroid/GH8211
...
Feat (builder/oracle-oci): support image launch mode
2020-11-20 15:53:18 -08: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
3db40194af
version files
2020-11-10 14:48:06 -08:00