Skip to content

Commit ccb525a

Browse files
authored
chore(deps): downgrade sdk from 0.6.5 to v6.0.0 (#653)
- Downgrades `github.com/hashicorp/packer-plugin-sdk` from 0.6.5 to v6.0.0. - Downgrades `github.com/hashicorp/hcl/v2` from v2.24.0 to v2.19.1. - Downgrades `go` from 1.24.13 to 1.23.12. Ref: #651 Signed-off-by: Ryan Johnson <ryan.johnson@broadcom.com>
1 parent 2be3072 commit ccb525a

9 files changed

Lines changed: 57 additions & 116 deletions

File tree

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.24.13
1+
1.23.12

.web-docs/components/builder/vsphere-clone/README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1386,13 +1386,9 @@ boot time.
13861386
useful if, for example, packer hangs on a connection after a reboot.
13871387
Example: `5m`. Disabled by default.
13881388

1389-
- `ssh_remote_tunnels` ([]string) - Remote tunnels forward a port from your local machine to the instance.
1390-
Format: ["REMOTE_PORT:LOCAL_HOST:LOCAL_PORT"]
1391-
Example: "9090:localhost:80" forwards localhost:9090 on your machine to port 80 on the instance.
1389+
- `ssh_remote_tunnels` ([]string) -
13921390

1393-
- `ssh_local_tunnels` ([]string) - Local tunnels forward a port from the instance to your local machine.
1394-
Format: ["LOCAL_PORT:REMOTE_HOST:REMOTE_PORT"]
1395-
Example: "8080:localhost:3000" allows the instance to access your local machine’s port 3000 via localhost:8080.
1391+
- `ssh_local_tunnels` ([]string) -
13961392

13971393
<!-- End of code generated from the comments of the SSH struct in communicator/config.go; -->
13981394

.web-docs/components/builder/vsphere-iso/README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1283,13 +1283,9 @@ JSON Example:
12831283
useful if, for example, packer hangs on a connection after a reboot.
12841284
Example: `5m`. Disabled by default.
12851285

1286-
- `ssh_remote_tunnels` ([]string) - Remote tunnels forward a port from your local machine to the instance.
1287-
Format: ["REMOTE_PORT:LOCAL_HOST:LOCAL_PORT"]
1288-
Example: "9090:localhost:80" forwards localhost:9090 on your machine to port 80 on the instance.
1286+
- `ssh_remote_tunnels` ([]string) -
12891287

1290-
- `ssh_local_tunnels` ([]string) - Local tunnels forward a port from the instance to your local machine.
1291-
Format: ["LOCAL_PORT:REMOTE_HOST:REMOTE_PORT"]
1292-
Example: "8080:localhost:3000" allows the instance to access your local machine’s port 3000 via localhost:8080.
1288+
- `ssh_local_tunnels` ([]string) -
12931289

12941290
<!-- End of code generated from the comments of the SSH struct in communicator/config.go; -->
12951291

.web-docs/components/builder/vsphere-supervisor/README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -316,13 +316,9 @@ items are listed below as well as the _optional_ configurations.
316316
useful if, for example, packer hangs on a connection after a reboot.
317317
Example: `5m`. Disabled by default.
318318

319-
- `ssh_remote_tunnels` ([]string) - Remote tunnels forward a port from your local machine to the instance.
320-
Format: ["REMOTE_PORT:LOCAL_HOST:LOCAL_PORT"]
321-
Example: "9090:localhost:80" forwards localhost:9090 on your machine to port 80 on the instance.
319+
- `ssh_remote_tunnels` ([]string) -
322320

323-
- `ssh_local_tunnels` ([]string) - Local tunnels forward a port from the instance to your local machine.
324-
Format: ["LOCAL_PORT:REMOTE_HOST:REMOTE_PORT"]
325-
Example: "8080:localhost:3000" allows the instance to access your local machine’s port 3000 via localhost:8080.
321+
- `ssh_local_tunnels` ([]string) -
326322

327323
<!-- End of code generated from the comments of the SSH struct in communicator/config.go; -->
328324

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ your desired strategy:
3939

4040
The plugin supports versions in accordance with the [Broadcom Product Lifecycle][product-lifecycle].
4141

42-
- [Go 1.24.13][golang-install]
42+
- [Go 1.23.12][golang-install]
4343

4444
Required if building the plugin.
4545

builder/vsphere/common/output_config.hcl2spec.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

builder/vsphere/common/step_export.hcl2spec.go

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go.mod

Lines changed: 11 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
module github.com/vmware/packer-plugin-vsphere
22

3-
go 1.24.13
3+
go 1.23.12
44

55
require (
66
github.com/google/go-cmp v0.7.0
77
github.com/google/uuid v1.6.0
8-
github.com/hashicorp/hcl/v2 v2.24.0
9-
github.com/hashicorp/packer-plugin-sdk v0.6.5
8+
github.com/hashicorp/hcl/v2 v2.19.1
9+
github.com/hashicorp/packer-plugin-sdk v0.6.0
1010
github.com/pkg/errors v0.9.1
1111
github.com/vmware-tanzu/image-registry-operator-api v0.0.0-20240422225856-ad6a4cd477e0
1212
github.com/vmware-tanzu/vm-operator/api v1.8.7-0.20250406160248-af0c660a6ede
1313
github.com/vmware/govmomi v0.52.0
14-
github.com/zclconf/go-cty v1.16.3
14+
github.com/zclconf/go-cty v1.13.3
1515
golang.org/x/mobile v0.0.0-20210901025245-1fde1d6c3ca1
1616
gopkg.in/yaml.v2 v2.4.0
1717
k8s.io/api v0.31.0
@@ -27,26 +27,11 @@ require (
2727
cloud.google.com/go/storage v1.35.1 // indirect
2828
github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 // indirect
2929
github.com/ChrisTrenkamp/goxpath v0.0.0-20210404020558-97928f7e12b6 // indirect
30-
github.com/Microsoft/go-winio v0.6.2 // indirect
3130
github.com/agext/levenshtein v1.2.3 // indirect
3231
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
3332
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
3433
github.com/armon/go-metrics v0.4.1 // indirect
3534
github.com/aws/aws-sdk-go v1.44.114 // indirect
36-
github.com/aws/aws-sdk-go-v2 v1.37.2 // indirect
37-
github.com/aws/aws-sdk-go-v2/config v1.30.3 // indirect
38-
github.com/aws/aws-sdk-go-v2/credentials v1.18.3 // indirect
39-
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.2 // indirect
40-
github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.2 // indirect
41-
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.2 // indirect
42-
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3 // indirect
43-
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.0 // indirect
44-
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.2 // indirect
45-
github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.37.0 // indirect
46-
github.com/aws/aws-sdk-go-v2/service/sso v1.27.0 // indirect
47-
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.32.0 // indirect
48-
github.com/aws/aws-sdk-go-v2/service/sts v1.36.0 // indirect
49-
github.com/aws/smithy-go v1.22.5 // indirect
5035
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
5136
github.com/bodgit/ntlmssp v0.0.0-20240506230425-31973bb52d9b // indirect
5237
github.com/bodgit/windows v1.0.1 // indirect
@@ -130,22 +115,20 @@ require (
130115
github.com/spf13/pflag v1.0.5 // indirect
131116
github.com/tidwall/transform v0.0.0-20201103190739-32f242e2dbde // indirect
132117
github.com/ugorji/go/codec v1.2.6 // indirect
133-
github.com/ulikunitz/xz v0.5.15 // indirect
118+
github.com/ulikunitz/xz v0.5.10 // indirect
134119
github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect
135120
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
136121
github.com/x448/float16 v0.8.4 // indirect
137122
go.opencensus.io v0.24.0 // indirect
138-
golang.org/x/crypto v0.46.0 // indirect
123+
golang.org/x/crypto v0.38.0 // indirect
139124
golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc // indirect
140-
golang.org/x/mod v0.30.0 // indirect
141-
golang.org/x/net v0.47.0 // indirect
125+
golang.org/x/net v0.40.0 // indirect
142126
golang.org/x/oauth2 v0.30.0 // indirect
143-
golang.org/x/sync v0.19.0 // indirect
144-
golang.org/x/sys v0.39.0 // indirect
145-
golang.org/x/term v0.38.0 // indirect
146-
golang.org/x/text v0.32.0 // indirect
127+
golang.org/x/sync v0.16.0 // indirect
128+
golang.org/x/sys v0.33.0 // indirect
129+
golang.org/x/term v0.32.0 // indirect
130+
golang.org/x/text v0.28.0 // indirect
147131
golang.org/x/time v0.11.0 // indirect
148-
golang.org/x/tools v0.39.0 // indirect
149132
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
150133
google.golang.org/api v0.150.0 // indirect
151134
google.golang.org/genproto v0.0.0-20231030173426-d783a09b4405 // indirect

0 commit comments

Comments
 (0)