sylviamoss
49474f8f37
add plugin acceptance test using amazon plugin
2021-04-07 16:21:15 +02:00
sylviamoss
e0614cabf4
move acctest pkg from sdk to core and update acceptance tests
2021-04-07 11:52:19 +02:00
Megan Marsh
9365c90c0b
revendor
2021-04-06 13:52:07 -07:00
mmassez
794e83b171
Proxmox builder return first ipv4 address ( #10858 )
...
* Check if IP address is IPv4 before returning it
Returns the first IPv4 address instead of the first IP address which is an IPv6 for Windows VMs
* Updated the go module
* Reversed the order of checks
First check if it's a loopback and check for ipv4 afterwards
2021-04-02 14:37:20 -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
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
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
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
Wilken Rivera
70ceed1110
Update vendor modules
2021-03-23 17:41:43 -04:00
Adrien Delorme
7732f7998c
Add http_content func to serve variables from HTTP @ preseed ( #10801 )
...
This imports hashicorp/packer-plugin-sdk#43
* code generate things
* update docs
* update guides
* update examples
We want to add a new guide.
2021-03-23 12:31:13 +01:00
Marcus Weiner
4d9fb629c6
Allow using API tokens for Proxmox authentication ( #10797 )
2021-03-22 11:48:31 +01:00
Andrew Pryde
a915ec8e05
Upgrade oci-go-sdk to latest
2021-03-20 02:16:17 +00:00
Wilken Rivera
6f23bc0d97
Vendor exoscale-import plugin
...
This change will vendor the new version of the exoscale-import
post-processor component, but remove all of its code from Packer. After
the v1.8.0 release this change should be removed entirely.
This vendor process is being used as a workaround for decoupling the
exoscale-import component without causing a breaking change in Packer.
Users of Exoscale are encouraged to leverage `packer init` for
installing the latest version of packer-plugin-exoscale.
2021-03-09 10:02:30 -05:00
Marc Falzon
9a1f2d0c97
fixup! Remove "exoscale-import" post-processor
2021-03-09 10:01:38 -05:00
Wilken Rivera
79481ed7ec
Add vendored components map as opposed to removing code generation for command/plugin.go
2021-03-05 15:44:04 -05:00
Wilken Rivera
a101d46589
update modules.txt
2021-03-05 15:33:35 -05:00
Megan Marsh
04cbcd7ae9
add docker vendoring to modules.txt
2021-03-05 15:33:34 -05:00
Megan Marsh
9331afcf80
revendor
2021-03-05 15:33:34 -05:00
Megan Marsh
a5b0e37d7e
docker extraction POC
2021-03-05 15:33:34 -05:00
Blake Garner
0b1829ef88
Update to gopsutil v3.21.1 to allow builds to work for darwin arm64 ( #10697 )
...
* Update to v3.21.1 to allow builds to work for darwin arm64
Co-authored-by: Megan Marsh <megan@hashicorp.com>
Co-authored-by: Adrien Delorme <adrien.delorme@icloud.com>
2021-03-02 12:13:59 +01:00
Megan Marsh
96b753f3b0
pin packer to golang 1.16 ( #10702 )
...
* pin packer to golang 1.16
* vet command/build_cancellation_test.go
2021-03-02 11:43:58 +01:00
Megan Marsh
9a11fd4136
Update amazon sdk ( #10668 )
2021-02-22 11:18:48 +01:00
Megan Marsh
3d55fa51d8
Merge pull request #10560 from trown/bump-oci-go-sdk
...
Update Oracle Go SDK
2021-02-18 11:46:02 -08:00
Adrien Delorme
993ae765e5
Prepare release ( #10646 )
...
* get github.com/hashicorp/packer-plugin-sdk@v0.0.14
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
2021-02-17 11:22:08 +01:00
Adrien Delorme
915372c73d
get packer plugin sdk version 0.0.12 ( #10612 )
2021-02-11 14:14:04 +01:00
Adrien Delorme
692433721d
Add some acceptance testing for Packer init commands ( #10566 )
2021-02-05 14:06:28 +01:00
Adrien Delorme
1075120109
use the SDK version 0.0.11 ( #10572 )
2021-02-04 17:52:40 +01:00
Sylvia Moss
3ddb17ad86
Don't allow data sources to be used inside data sources ( #10559 )
2021-02-04 11:25:44 +01:00
John Trowbridge
30b0229fb4
Fix vendor
2021-02-03 12:26:24 -05:00
Adrien Delorme
ed091163be
HCL2 Parse packer.required_plugins block + packer init ( #10304 )
...
This adds the new `required_plugins` block to be nested under the packer block.
Example:
```hcl
packer {
required_plugins {
aws = {
version = ">= 2.7.0"
source = "azr/aws"
}
azure = ">= 2.7.0"
}
}
```
For example on darwin_amd64 Packer will install those under :
* "${PACKER_HOME_DIR}/plugin/github.com/azr/amazon/packer-plugin-amazon_2.7.0_x5.0_darwin_amd64"
* "${PACKER_HOME_DIR}/plugin/github.com/hashicorp/azure/packer-plugin-azure_2.7.0_x5.0_darwin_amd64_x5"
+ docs
+ tests
2021-02-02 18:05:04 +01:00
Sylvia Moss
d1ada744e1
Aws Secrets Manager data sources ( #10505 )
2021-01-22 14:49:45 +01:00
Sylvia Moss
291121dd55
(2) Implement datasources ( #10440 )
2021-01-20 10:37:16 +01: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
77c3c12244
fix vendoring
2021-01-07 15:44:58 -08:00
Megan Marsh
37652b05eb
update vendoring
2020-12-17 15:12:16 -08:00
Mike Tougeron
e0e82e2192
Support AWS gp3 volumes ( #10338 )
...
* Support AWS gp3 volumes
* docs
* tests
2020-12-09 13:06:57 +01:00
Megan Marsh
c4d0c5505a
fix tests
...
regenerate code
regenerate code, revendor
fix website
2020-11-13 15:00:12 -08:00
Roman Mingazeev
33dce4fc83
fix yandex vendor
2020-10-23 12:26:16 +03:00
Megan Marsh
456214eb51
Merge pull request #10056 from marinsalinas/new_client
...
New official Outscale SDK migration.
2020-10-16 15:28:54 -07:00
Marin Salinas
c5dffc1bff
chore: add go mod vendor for new Outscale SDK
2020-10-13 10:17:37 -05:00
Adrien Delorme
14e253f316
upgrade panicwrap to v1 ( #10059 )
...
* and go mod tidy this allows us to get rid of a dep
2020-10-07 11:22:32 -04:00
Patrik
d4d78feed2
feat(scaleway): get image by label if not an UUID ( #10061 )
...
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-10-07 16:04:00 +02:00
upodroid
b1c74f9df0
Merge branch 'master' of github.com:hashicorp/packer into google-impersonation
2020-10-01 23:19:15 +01:00
upodroid
2228b18fcb
revendor the libraries
2020-10-01 22:06:15 +01:00
Adrien Delorme
f3e65b5eb1
use "github.com/hashicorp/go-cty-funcs/collection".CoalesceFunc
...
fix #9419
after https://github.com/hashicorp/go-cty-funcs/pull/5 was merged
2020-09-30 11:59:36 +02:00
Megan Marsh
4c0ac6917e
switch to using aws base config, which means we're using code tested and maitnained by the terraform crowd.
2020-09-29 14:26:38 -07:00
Niels Pardon
a2ceb54b1a
Add support for external source image url ( #9992 )
...
Signed-off-by: Niels Pardon <par@zurich.ibm.com>
2020-09-25 14:59:00 +02:00
Megan Marsh
429d431365
Implement assume_role for Packer. This functionality is copied shamelessly
...
from the Terraform AWS provider
2020-09-23 13:18:26 -07:00
upodroid
be56632f7e
fix vendoring
2020-09-20 16:50:03 +01:00
Sylvia Moss
7736ae6c67
Add VMware vnc_over_websocket option ( #9938 )
2020-09-16 11:02:46 +02:00