1391 Commits

Author SHA1 Message Date
Wilken Rivera
0cd78871ce Update Plugin binary releases to match Packer
The goreleaser binary release matrix has been updated to match the binaries platforms distributed by Packer core.
A complete list of supported binaries can be found at https://releases.hashicorp.com/packer/1.8.3

- darwin/amd64
- darwin/arm64
- freebsd/386
- freebsd/amd64
- freebsd/arm
- linux/386
- linux/amd64
- linux/arm
- linux/arm64
- netbsd/386
- netbsd/amd64
- netbsd/arm
- openbsd/386
- openbsd/amd64
- openbsd/arm
- windows/386
- windows/amd64
- solaris/amd64
2022-09-16 16:13:40 -04:00
Wilken Rivera
02e7be06a8
Fix issues reported by Go checks (#88)
* Fix go mod tidy check errors

* Remove extra spaces to fix goimports error

* Fix comments to address reported goimports errors

* Convert NetworkMapperMock to pointer receiver

The staticcheck error report SA4005: ineffective assignment to field
NetworkMapperMock.NameIntoDeviceCalled was valid, as modifying these
values would do nothing on the receiver. Converting to a pointer allows
for the call to modify the structures data for proper validation.

* Fix reported Go linting issues

* S1038: should use t.Errorf(...) instead of t.Error(fmt.Sprintf(...))
* SA4001: *&x will be simplified to x. It will not copy x.
* File is not `goimports`-ed (goimports)
2022-09-09 13:20:02 -04:00
Wilken Rivera
67b1887a1c Managed by Terraform: Update go-validate.yml github workflow 2022-09-03 17:53:08 -04:00
Wilken Rivera
2317dead73 Managed by Terraform: Update go-validate.yml github workflow 2022-08-31 13:57:52 -04:00
Wilken Rivera
e3ca2793fb Managed by Terraform: Update go-version config 2022-08-31 13:56:08 -04:00
Wilken Rivera
3c50e88134 Managed by Terraform: Update config.yml github workflow 2022-08-31 13:55:30 -04:00
Wilken Rivera
97e7b73b13 Managed by Terraform: Update go-test.yml github workflow 2022-08-31 13:54:55 -04:00
Wilken Rivera
5d7f0b4fe4 Managed by Terraform: Add CONTRIBUTING.md issue template 2022-08-10 13:03:24 -04:00
Wilken Rivera
f9c099e549 Managed by Terraform: Update config.yml github workflow 2022-08-10 10:19:52 -04:00
Ryan Johnson
dd81f50aa4
docs: update README.md files (#83)
* docs: update `README.md` files

- Updates `README.md` to follow the same structure as the Packer Plugin for vSphere project, including adding the Requirements section.

- Simplifies `docs/README.md`  to follow the same structure as the Packer Plugin for vSphere project and remove redundant content already provided in the default README.

Signed-off-by: Ryan Johnson <johnsonryan@vmware.com>

* docs: update `README.md`

Added the context for `packer plugins install` cmd in Packer v1.8.0 and later.

* Update README.md

Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2022-08-08 20:06:57 -04:00
Ryan Johnson
34ed55b582
docs: update CONTRIBUTING.md (#82)
Updates the `CONTRIBUTING.md` to spell "VMware" correctly.

igned-off-by: Ryan Johnson <johnsonryan@vmware.com>
2022-08-08 10:03:27 -04:00
Wilken Rivera
8135be26af Managed by Terraform: Update config.yml github workflow 2022-08-05 14:58:35 -04:00
dependabot[bot]
392d3e6a09 Bump github.com/hashicorp/packer-plugin-sdk from 0.3.0 to 0.3.1
Bumps [github.com/hashicorp/packer-plugin-sdk](https://github.com/hashicorp/packer-plugin-sdk) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/hashicorp/packer-plugin-sdk/releases)
- [Changelog](https://github.com/hashicorp/packer-plugin-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/packer-plugin-sdk/compare/v0.3.0...v0.3.1)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/packer-plugin-sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-28 14:39:22 -04:00
dependabot[bot]
798b7e9e19
Bump github.com/hashicorp/hcl/v2 from 2.12.0 to 2.13.0 (#78)
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.12.0 to 2.13.0.
- [Release notes](https://github.com/hashicorp/hcl/releases)
- [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/hcl/compare/v2.12.0...v2.13.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/hcl/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-27 13:46:20 -04:00
Ryan Johnson
0abd4820dd
fix:gh-77 (#80)
Add `Content` to `StepCreateFloppy`

#77

Signed-off-by: Ryan Johnson <johnsonryan@vmware.com>
2022-07-27 13:45:58 -04:00
Lucas Bajolet
406d1dd8e2
.github: don't ignore dependabot on releases (#79)
The PRs merged by dependabot may affect the stability of releases and
should be included in the changelog.

In the past they hadn't been included as they may induce too much
noise, we re-enable them with this commit, and will rollback if
necessary.
2022-06-28 11:25:21 -04:00
Lucas Bajolet
2ca922d0d8 goreleaser: add support for missing platforms
The goreleaser targets a subset of the platforms supported by packer,
this commit adds the missing targets for the next release.
2022-06-15 16:31:26 -04:00
Wilken Rivera
ae0d349b58 Cut release 1.0.7 2022-06-10 09:35:59 -04:00
Wilken Rivera
256a5868a6 Update go.sum for Go 1.17
```
go mod tidy -compat=1.17
```
2022-06-10 09:32:25 -04:00
dependabot[bot]
de162f01bd
Bump github.com/hashicorp/packer-plugin-sdk from 0.2.13 to 0.3.0 (#75)
Bumps [github.com/hashicorp/packer-plugin-sdk](https://github.com/hashicorp/packer-plugin-sdk) from 0.2.13 to 0.3.0.
- [Release notes](https://github.com/hashicorp/packer-plugin-sdk/releases)
- [Changelog](https://github.com/hashicorp/packer-plugin-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/packer-plugin-sdk/compare/v0.2.13...v0.3.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/packer-plugin-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-10 08:30:42 -04:00
Wilken Rivera
a10a49f635 Delete .github/workflows/pull-requests-opened.yml 2022-06-09 10:17:08 -04:00
Wilken Rivera
d4fc272118 Managed by Terraform: Update issues-opened.yml github workflow 2022-05-26 15:01:45 -04:00
Wilken Rivera
3665f8eb84 Managed by Terraform: Update pull-requests-opened.yml github workflow 2022-05-26 15:00:58 -04:00
Wilken Rivera
368e007224 cut release v1.0.6 2022-05-25 10:21:54 -04:00
dependabot[bot]
b6195f08cd
Bump github.com/hashicorp/packer-plugin-sdk from 0.2.12 to 0.2.13 (#72)
Bumps [github.com/hashicorp/packer-plugin-sdk](https://github.com/hashicorp/packer-plugin-sdk) from 0.2.12 to 0.2.13.
- [Release notes](https://github.com/hashicorp/packer-plugin-sdk/releases)
- [Changelog](https://github.com/hashicorp/packer-plugin-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/packer-plugin-sdk/compare/v0.2.12...v0.2.13)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/packer-plugin-sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-13 12:23:48 +02:00
dependabot[bot]
a3b06f0a3a
Bump github.com/hashicorp/packer-plugin-sdk from 0.2.11 to 0.2.12 (#70)
Bumps [github.com/hashicorp/packer-plugin-sdk](https://github.com/hashicorp/packer-plugin-sdk) from 0.2.11 to 0.2.12.
- [Release notes](https://github.com/hashicorp/packer-plugin-sdk/releases)
- [Changelog](https://github.com/hashicorp/packer-plugin-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/packer-plugin-sdk/compare/v0.2.11...v0.2.12)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/packer-plugin-sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-04 15:25:49 -04:00
Wilken Rivera
8f3c921420
Sign releases using signore 2022-03-01 13:53:09 -05:00
Wilken Rivera
09e8a8f23b goreleaser: Fix changelog configuration 2022-01-27 15:22:17 -05:00
Adrien Delorme
671f53ac09
goreleaser: auto-generate changelog file (#63) 2022-01-27 09:30:05 -05:00
Sergei Parshev
50602c0cc2
Makes builder to respect ssh_proxy_* configuration (#62) 2021-12-22 11:57:15 +01:00
dependabot[bot]
d9795f96b2
Bump github.com/hashicorp/packer-plugin-sdk from 0.2.9 to 0.2.11 (#60)
Bumps [github.com/hashicorp/packer-plugin-sdk](https://github.com/hashicorp/packer-plugin-sdk) from 0.2.9 to 0.2.11.
- [Release notes](https://github.com/hashicorp/packer-plugin-sdk/releases)
- [Changelog](https://github.com/hashicorp/packer-plugin-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/packer-plugin-sdk/compare/v0.2.9...v0.2.11)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/packer-plugin-sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-17 13:15:30 -05:00
Wilken Rivera
b0bbea010e Managed by Terraform: Update config.yml github workflow 2021-12-14 19:33:44 -05:00
Wilken Rivera
19850f2afb
Rename releases.yml to release.yml
Update filename to have release notes automatically generated on release.
2021-12-07 15:36:49 -05:00
Adrien Delorme
5d621c57a6
add .github/releases.yml (#57)
* add .github/releases.yml

* update .github/releases.yml
2021-12-06 16:17:22 -05:00
Wilken Rivera
55828e4c82
Merge pull request #56 from hashicorp/dependabot/go_modules/github.com/hashicorp/hcl/v2-2.11.1
Bump github.com/hashicorp/hcl/v2 from 2.11.0 to 2.11.1
2021-12-02 19:26:07 -05:00
dependabot[bot]
08e65ce451
Bump github.com/hashicorp/hcl/v2 from 2.11.0 to 2.11.1
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.11.0 to 2.11.1.
- [Release notes](https://github.com/hashicorp/hcl/releases)
- [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/hcl/compare/v2.11.0...v2.11.1)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/hcl/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-02 17:30:00 +00:00
dependabot[bot]
86bf8a2516
Bump github.com/hashicorp/hcl/v2 from 2.10.1 to 2.11.0 (#55)
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.10.1 to 2.11.0.
- [Release notes](https://github.com/hashicorp/hcl/releases)
- [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/hcl/compare/v2.10.1...v2.11.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/hcl/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-02 13:51:29 +01:00
Wilken Rivera
310364cb46
Merge pull request #53 from tenthirtyam/patch-1
Add Packer configuration context
2021-11-16 10:45:03 -05:00
Wilken Rivera
219d49aa8f
Update docs/builders/index.mdx 2021-11-16 10:44:13 -05:00
Ryan Johnson
776df47973
Add Packer configuration context
Adds context for the configuration of the Packer Plugin in Packer >= v1.7.0.
2021-11-16 10:33:17 -05:00
dependabot[bot]
b087a7f216
Bump github.com/zclconf/go-cty from 1.9.1 to 1.10.0 (#48)
Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty) from 1.9.1 to 1.10.0.
- [Release notes](https://github.com/zclconf/go-cty/releases)
- [Changelog](https://github.com/zclconf/go-cty/blob/main/CHANGELOG.md)
- [Commits](https://github.com/zclconf/go-cty/compare/v1.9.1...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/zclconf/go-cty
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-15 15:17:23 +01:00
Wilken Rivera
34d48d46ce
Merge pull request #51 from hashicorp/dependabot/go_modules/github.com/hashicorp/packer-plugin-sdk-0.2.9
Bump github.com/hashicorp/packer-plugin-sdk from 0.2.3 to 0.2.9
2021-11-12 15:01:18 -05:00
dependabot[bot]
99f6357695
Bump github.com/hashicorp/packer-plugin-sdk from 0.2.3 to 0.2.9
Bumps [github.com/hashicorp/packer-plugin-sdk](https://github.com/hashicorp/packer-plugin-sdk) from 0.2.3 to 0.2.9.
- [Release notes](https://github.com/hashicorp/packer-plugin-sdk/releases)
- [Changelog](https://github.com/hashicorp/packer-plugin-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/packer-plugin-sdk/compare/v0.2.3...v0.2.9)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/packer-plugin-sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-12 19:41:14 +00:00
Wilken Rivera
c9bc63a62b
Merge pull request #50 from hashicorp/azr/validate-plugin-with-packer-sdk
Validate plugin from the packer-sdc plugin-validate command
2021-11-12 14:31:31 -05:00
Adrien Delorme
bde2f5efee goreleaser: run plugin-check before release 2021-11-11 14:12:28 +01:00
Adrien Delorme
bfb52556d1 go mod tidy -compat=1.17 2021-11-11 11:50:24 +01:00
Adrien Delorme
b6f91c39b7 use go 1.17 2021-11-11 11:49:58 +01:00
Adrien Delorme
85ee775b62 make generate && go fmt ./... 2021-11-11 10:57:21 +01:00
Adrien Delorme
c47840b8a5 go get github.com/hashicorp/packer-plugin-sdk@v0.2.8 2021-11-11 10:57:04 +01:00
Adrien Delorme
fff9558a2e use make plugin-check in releaser 2021-11-11 10:57:02 +01:00