Commit Graph

260 Commits

Author SHA1 Message Date
Vladislav Rassokhin 69e31bc126 A bit debugging for CD-ROM creation problems 2019-07-16 23:23:17 +03:00
Vladislav Rassokhin 483df213fd Ensure no goroutines leak from StepWaitForIP in concurrent cases 2019-07-13 21:02:15 +03:00
Vladislav Rassokhin b6cc2f01c7 Fix inspections 2019-07-13 20:56:43 +03:00
Vladislav Rassokhin ddbc7bb631 Add goroutine leak detection in tests 2019-07-13 18:23:04 +03:00
Vladislav Rassokhin 4cf9ff78a2 Increase 'ip_wait_timeout' default value to 30 minutes
Often copying VM (vsphere-clone) takes more than 5 minutes.
Creating VM from scratch (vsphere-iso) time expensive too.
2019-07-12 13:22:28 +03:00
Vladislav Rassokhin b8ed1bd576 Fix copy-pasta error 2019-07-12 13:07:59 +03:00
Vladislav Rassokhin a9ffa1559e Don't wait for IP till heat death of the universe
Introduced 'ip_wait_timeout' parameter with '5m' (five minutes) default value.
2019-07-12 12:44:40 +03:00
Vladislav Rassokhin 9b254b2f53 Simplify time.Duration parsing 2019-07-12 11:29:41 +03:00
Vladislav Rassokhin d3591540e1 Add spelling distionary for GoLand 2019-07-08 18:42:43 +03:00
Vladislav Rassokhin a72ec1ae8d Reuse library function for SSH provisioner config 2019-07-08 18:40:01 +03:00
Vladislav Rassokhin 1c7ccb833c Add SATA controller for CD-ROMs only if needed 2019-07-08 18:18:58 +03:00
Vladislav Rassokhin 94a036038b Fix inspections 2019-07-08 18:18:58 +03:00
Vladislav Rassokhin 1147536646 Update dependencies 2019-07-08 16:43:06 +03:00
Cody Lingle fd608b574f Update plugin to Packer ^1.4 compatibility
- Changed "http_port" from uint to int for step_boot_command (https://github.com/hashicorp/packer/pull/7423)
- Implemented API changes for context cancellation of builders (https://github.com/hashicorp/packer/pull/7440)
- Update packer (1.4.1) and govmomi (0.20.0) go modules
- Run `go mod tidy` to clean up unnecessary go.mod and go.sum entries
2019-07-08 16:34:57 +03:00
Vladislav Rassokhin 3f1c8fd2f7 .gitignore: add vendor directory 2019-07-08 15:37:08 +03:00
Vladislav Rassokhin 4196a5323a Update 'network' option documentation 2019-07-08 14:25:40 +03:00
Vladislav Rassokhin 1111c74696 Support IP address settle down timeout
Sometimes it's possible that Windows VM starts with one address and then changes to another one. For successful communication we need latest one
2019-07-08 10:16:30 +03:00
Michael Kuzmin f7151b4058 Network selection test 2019-06-13 17:18:36 +03:00
Vladislav Rassokhin 395ce39611 Support redefining network in vsphere-clone builder
Fixes #226
2019-06-13 17:18:36 +03:00
Michael Kuzmin 0417062d9f update vSphere lab password 2019-06-10 23:08:35 +03:00
Michael Kuzmin 4586e8d3b6 macOS example uses 'iso_urls' to upload "preseed" image dynamically 2019-01-05 05:50:10 +03:00
Michael Kuzmin acd07e56ec fix test 2019-01-05 03:45:45 +03:00
Michael Kuzmin 3c005a9291 File upload to DRS-enabled clusters (fix #202) 2019-01-05 01:10:26 +03:00
Michael Kuzmin fd2d78c73b fix test 2019-01-04 18:01:03 +03:00
Michael Kuzmin 5bf77f33ca swith tests from Ubuntu to Alpine 2019-01-04 17:21:59 +03:00
Michael Kuzmin c6e97fe887 build by Make 2019-01-04 17:20:34 +03:00
Rémi Jouannet 23ce26e82c add step remote upload for iso builder (#164) 2019-01-04 17:07:09 +03:00
Michael Kuzmin 0346aa5bac update README 2018-12-26 01:30:47 +03:00
Michael Kuzmin be84a39aa0 Support 'http_host' parameter (fix #184) 2018-12-23 20:16:49 +03:00
Michael Kuzmin 9cad0b7b66 don't detect local IP if `http_directory` is not specified 2018-12-23 19:49:38 +03:00
Michael Kuzmin a62012a78c Support for local HTTP server (#116) 2018-12-23 05:04:54 +03:00
Michael Kuzmin d603d9548c Fix IP resolution 2018-12-23 04:38:45 +03:00
Michael Kuzmin 1474a0b82d Interpolate variables in 'boot_command' 2018-12-23 04:38:45 +03:00
Sander Jans 7cafcf5879 Support for local HTTP server 2018-12-23 04:38:39 +03:00
Michael Kuzmin 5b8be459ed fix build 2018-12-22 22:03:19 +03:00
Michael Kuzmin 22df3392be fix build 2018-12-22 21:48:18 +03:00
mkuzmin 60cbf38e24 TeamCity change in 'JetBrains Public Projects / Packer Builder for vSphere' project: New GitHub issue tracker with name packer-builder-vsphere was created 2018-12-22 18:32:48 +00:00
mkuzmin c13a7cc23f TeamCity change in 'JetBrains Public Projects / Packer Builder for vSphere' project: build features of 'Build' build configuration were updated 2018-12-22 18:25:22 +00:00
mkuzmin 0fcaa7bf36 TeamCity change in 'JetBrains Public Projects / Packer Builder for vSphere' project: build features of 'Build' build configuration were updated 2018-12-22 18:22:46 +00:00
mkuzmin 9a960ae744 TeamCity change in 'JetBrains Public Projects / Packer Builder for vSphere' project: triggers of 'Build' build configuration were updated 2018-12-22 18:21:31 +00:00
mkuzmin b1389db5e0 TeamCity change in 'JetBrains Public Projects / Packer Builder for vSphere' project: Connection added 2018-12-22 18:14:15 +00:00
Michael Kuzmin 15d8587344 a test for windows. WinRM needs a special validation.
https://github.com/jetbrains-infra/packer-builder-vsphere/issues/92#issuecomment-386486758
2018-12-22 20:20:28 +03:00
Michael Kuzmin 8a75761898 use golang 1.11 and modules 2018-12-22 20:20:22 +03:00
Michael Kuzmin 1ca8fdfe08 use Packer 1.3
Packer broke API compatibility
https://github.com/hashicorp/packer/pull/6621
2018-12-22 19:54:55 +03:00
Michael Kuzmin e6462e7b6d use govmomi 0.19 2018-12-22 19:54:54 +03:00
Michael Kuzmin d634c32fd4 Enable TeamCity DSL 2018-12-20 01:04:04 +03:00
Michael Kuzmin 5014e46b48
Add 'cpu_cores' parameter (#198) 2018-12-18 20:51:56 +03:00
Michael Kuzmin a809a853b8
Update README.md 2018-12-18 18:16:49 +03:00
Michael Kuzmin 70b6d6a8b3
Add 'video_ram' parameter (#197) 2018-12-17 15:49:04 +03:00
Michael Kuzmin b107245aed use alternate vsphere account in tests 2018-12-03 20:10:48 +03:00