sangkyu.kim
15a9e1b20a
skip validate `product_code` if empty
2021-04-02 18:18:59 +09:00
sangkyu.kim
3f23a5ec74
Remove `getClassicServerImageProductList` within block storage size 100GB
2021-04-02 16:38:58 +09:00
sangkyu.kim
f4cbb5d7dc
fix length validation message
2021-04-02 14:55:05 +09:00
Wilken Rivera
c3e78d2c32
Update error messaging to bypass panicwrap only on non-recoverable
...
errors
While working on this change it was found that prefixing an error
message with the ErrorPrefix string would trigger a copyOutput function
that would copy any outputted string to Stderr, until a new ErrorPrefix
or Outprefix string is encountered in the output. During background runs of
Packer an error message with the ErrorPrefix was being outputted which
was causing all output, including Stdout, to be written to Stderr.
This change updates the logic to only override the Stdout logging
for non-recoverable errors. The idea being that any non-recoverable
error should bypass panicwrap so that user know an error occurred.
All other errors should follow the same behavior that we had prior to
Packer v1.7.1.
Closes #10855
2021-04-01 13:48:41 -04:00
Brian Choy
fb04fa7a25
Fix vault function docs example ( #10851 )
...
The given example is missing a `,`.
2021-04-01 15:18:06 +02:00
Zachary Shilton
830140157d
website: remove obselete nav data ( #10811 )
...
* website: remove obselete sidebar_title frontmatter from docs
* website: bump to latest docs-page
* website: update plugin creation and registration docs
* website: fix broken links
2021-03-31 15:07:00 -04:00
Megan Marsh
1b8e71ca1f
switch to using ui once it is initialized
2021-03-31 11:44:40 -07:00
packer-ci
3e497e3712
Putting source back into Dev Mode
2021-03-31 17:32:59 +00:00
packer-ci
030da4b6b9
Cut version 1.7.1
2021-03-31 16:43:47 +00:00
packer-ci
3a437d4891
cut version 1.7.1
2021-03-31 16:43:45 +00:00
packer-ci
8c2f26718e
update changelog
2021-03-31 16:43:45 +00:00
Wilken Rivera
076596cd3b
Makefile: Update install steps for gox
2021-03-31 11:53:41 -04:00
Wilken Rivera
f541cd59ed
Update packer-plugin-sdk to latest release
...
```
go get github.com/hashicorp/packer-plugin-sdk@v0.1.1
go mod tidy
go mod vendor
```
2021-03-31 10:36:41 -04:00
sangkyu.kim
cdcdf6a618
fix checking subnet type
2021-03-31 18:22:22 +09:00
sangkyu.kim
74434b3c3e
create temporary ACG for VPC
2021-03-31 15:15:57 +09:00
Wilken Rivera
4b6891d6d5
Update CHANGELOG
2021-03-30 17:37:13 -04:00
Wilken Rivera
4746fc682d
Update version of packer-plugin-docker ( #10847 )
...
```
go get github.com/hashicorp/packer-plugin-docker@v0.0.7
go mod tidy
go mod vendor
```
2021-03-30 17:12:43 -04:00
Wilken Rivera
f6dbc3e78a
Update steps for generating the remote plugin docs.zip file ( #10846 )
...
* Update steps for generating the remote plugin docs.zip file
* Update a few typos
* Fix tabbing issue
2021-03-30 17:12:28 -04:00
Adrien Delorme
03d79a2c39
HCL2 variables: split validation from getting value ( #10843 )
...
* HCL2 variables: split validation from getting value, to only
This way we do this only once and log this only once. The errors were being ignored anyways.
* Update types.variables_test.go
2021-03-30 14:58:26 -04:00
Sylvia Moss
349a300213
Add new disk to existingDevices list ( #10844 )
...
* add new disk to existingDevices list
* add tests
2021-03-30 14:48:06 -04:00
Megan Marsh
dfc5d76108
Merge pull request #10833 from harveylowndes/add-oci-flex-shape-support
...
Support OCI flexible shapes
2021-03-30 10:11:47 -07:00
Adrien Delorme
77a29fc2f8
Allow to have `dynamic` blocks in a `build` block + tests ( #10825 )
...
This :
* allows to have a `build.dynamic` block
* add tests
* makes sure to show a correct message when a source was not found
* display only name of source (instead of a weird map printout)
* use a "Did you mean %q" feature where possible
Because dynamic blocks need all variables to be evaluated and available, I moved parsing of everything that is not a variable to "after" variables are extrapolated. Meaning that dynamic block get expanded in the `init` phase and then only we start interpreting HCL2 content.
After #10819 fix #10657
2021-03-30 15:53:04 +02:00
sangkyu.kim
3a11352dfa
Fix ncloud builder unhandled buildvar type
2021-03-30 13:59:59 +09:00
sangkyu.kim
56728a937b
update ncloud guide
2021-03-30 11:53:42 +09:00
sangkyu.kim
f044a64014
fix test code
2021-03-29 22:51:04 +09:00
sangkyu.kim
cd370aaaad
implement vpc environment
2021-03-29 22:51:04 +09:00
sangkyu.kim
af865b1591
update ncloud-sdk-go-v2 vendor
2021-03-29 22:51:03 +09:00
Sylvia Moss
a588808270
update v1.7.1 changelog ( #10837 )
2021-03-29 14:04:32 +02:00
Harvey Lowndes
b9b1cdf75f
Address review comments
2021-03-29 12:57:10 +01:00
Kerim Satirli
2ac5fe894c
adds missing word ( #10836 )
2021-03-29 11:01:03 +02:00
Kaivalya Shah
fbb9429910
HCL2 example syntax changes ( #10832 )
...
An HCL2 example contained commas to separate the lines, and the metadata block did not have the equals sign, which is not valid.
2021-03-29 11:00:42 +02: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
Adrien Delorme
a9bec7945e
remove .mdx extensions in links ( #10823 )
...
Some of them were added in #10800 some where already there
2021-03-25 14:02:21 +01:00
Sylvia Moss
505cbd2591
Vendor amazon plugin ( #10800 )
...
* remove amazon from core
* vendor amazon plugin
* remove website content
* Add amazon to docs-remote-plugins
* update amazon reference links in the documentation
* update amazon docs version to latest
Co-authored-by: Adrien Delorme <adrien.delorme@icloud.com>
2021-03-25 13:37:48 +01:00
GennadySpb
25fddf3199
Add release build for darwin/arm64 ( #10804 )
...
* Add release build for darwin/arm64
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2021-03-25 13:34:21 +01:00
Ricardo Katz
166df2ce1d
correct provisioner typo ( #10822 )
...
Correct provision typo
2021-03-25 13:27:05 +01:00
Megan Marsh
755395faf8
Merge pull request #10820 from chrisroberts/force-no-direct-upload-to-vagrantcloud
...
Override direct upload based on box size
2021-03-24 14:50:49 -07:00
Megan Marsh
b958fe7a54
Merge pull request #10821 from zchsh/zs.fix-nested-plugin-urls
...
website: fix issue with .mdx in plugin docs URL paths
2021-03-24 14:10:14 -07:00
Zach Shilton
cc133ea250
website: fix issue with .mdx in URL paths
2021-03-24 16:39:29 -04:00
Chris Roberts
4ea4c0570f
Add test coverage for direct upload file size limits
2021-03-24 10:54:11 -07:00
Chris Roberts
a665e6b822
Always include all upload steps regardless of configuration
2021-03-24 10:53:38 -07:00
Chris Roberts
2de91e4862
Check configuration before running callback for upload confirmation
2021-03-24 10:52:56 -07:00
Chris Roberts
3a11820a41
Adjust upload limit value and fix error value stored in state bag
2021-03-24 10:51:10 -07:00
Adrien Delorme
0e3fcb589b
Implicit required_plugin blocks ( #10732 )
...
* used components that don't have a required_plugin block will make Packer 'implicitly' require those. These components are manually selected and commented for now.
* add tests
* docs
2021-03-24 11:31:39 +01:00
Wilken Rivera
70ceed1110
Update vendor modules
2021-03-23 17:41:43 -04:00
Wilken Rivera
82eedc8f02
Update packer docs to latest ( #10814 )
2021-03-23 17:02:44 -04:00
Wilken Rivera
1d53080625
Update script to exit on immediate failure ( #10815 )
2021-03-23 16:44:21 -04:00
Zachary Shilton
89931d0f2a
website: fixes and tweaks for plugin docs ( #10812 )
...
* website: sort nested plugin docs files
* website: allow ignored .md files in plugin docs folders
* website: allow plugin docs/README.md only as extra file
* website: fix issue with latest link for plugin docs.zip
2021-03-23 16:06:50 -04:00
Wilken Rivera
5e17dbeff2
Fix up regex in test
2021-03-23 14:39:45 -04:00
Wilken Rivera
d0512c6edd
docs/amazon: Updated generated docs
2021-03-23 14:14:59 -04:00