packer-cn/builder/vmware/common
Wilken Rivera 9ec8b67392
Add golangci-lint to project (#8686)
* Add golangci-lint as linting tool

* Disable failing staticchecks to start; GitHub issue to handle coming soon

* Run `goimports -w` to repair all source files that have improperly
formatted imports

* makefile: Add ci-lint target to run on travis

This change adds a new make target for running golangci-lint on newly
added Go files only. This target is expected to run during Packer ci builds.

* .github/contributing: Add code linting instructions

* travis: Update job configuration to run parallel builds
2020-02-14 11:42:29 -05:00
..
artifact.go Sharing info with post-processors via artifact (#8632) 2020-01-30 11:27:58 +01:00
artifact_test.go remove unused NewLocalArtifact 2018-11-02 14:22:01 -07:00
driver.go add note about error abort to vmware warning 2020-01-24 09:02:30 -08:00
driver_config.go make fmt autogenerated docs 2019-06-06 16:29:25 +02:00
driver_config_test.go use interpolate.NewContext() instead of testConfigTemplate(t) 2019-06-14 12:17:28 +02:00
driver_esx5.go builder/vmware/common: defer close after testing for errors 2019-11-06 14:28:17 -08:00
driver_esx5_test.go builder/vmware: fix dropped test errors 2019-09-27 16:05:12 -07:00
driver_fusion5.go Add support to vmware-vmx builder for linked clones. 2018-06-17 01:38:42 +01:00
driver_fusion6.go vmware: Correctly parse version for VMware Fusion Tech Preview 2018-11-17 09:32:15 +01:00
driver_mock.go Add support to vmware-vmx builder for linked clones. 2018-06-17 01:38:42 +01:00
driver_mock_test.go builder/vmware/common: Mock driver and test for DHCP Lease IP lookup 2013-12-24 11:55:44 -07:00
driver_parser.go Prevent endless reading of closed file in vmware plugin 2019-07-16 16:02:57 +03:00
driver_player5.go Add support to vmware-vmx builder for linked clones. 2018-06-17 01:38:42 +01:00
driver_player5_windows.go Completely forgot to support the unix paths in each of the drivers for the VMware builder. Fixed. 2018-02-02 19:11:41 -06:00
driver_player6.go Add cloneType to fusion driver 2018-06-30 16:31:42 +01:00
driver_player6_windows.go Add support for VMware Fusion 7 Pro [GH-1478] 2014-09-10 10:14:50 -07:00
driver_player_unix.go Modified the path finders for the Player driver in the vmware-builders to search through all the possible variations for dhcp configuration and leases.. 2018-03-30 18:19:25 -05:00
driver_workstation9.go Add support to vmware-vmx builder for linked clones. 2018-06-17 01:38:42 +01:00
driver_workstation9_windows.go Completely forgot to support the unix paths in each of the drivers for the VMware builder. Fixed. 2018-02-02 19:11:41 -06:00
driver_workstation10.go Add support to vmware-vmx builder for linked clones. 2018-06-17 01:38:42 +01:00
driver_workstation10_windows.go Add support for VMware Fusion 7 Pro [GH-1478] 2014-09-10 10:14:50 -07:00
driver_workstation_unix.go Reinforced the VMWare Workstation builder methodology for locating the dhcp.conf and dhcpd.leases files on Linux. 2018-02-14 00:11:17 -06:00
driver_workstation_unix_test.go test vmware workstation version checking 2018-01-26 15:58:17 -08:00
export_config.go vmware: document using partials 2019-06-20 15:28:27 +02:00
host_ip_ifconfig.go builder/vmware: Try to use `ip address` to find host IP 2017-01-17 10:33:48 +01:00
hw_config.go re-indent HWConfig struct comments 2019-09-03 17:35:29 +02:00
hw_config_test.go builder/vmware/common: remove unused testHWConfig() 2019-11-01 19:13:26 -07:00
output_config.go make fmt autogenerated docs 2019-06-06 16:29:25 +02:00
output_config_test.go use interpolate.NewContext() instead of testConfigTemplate(t) 2019-06-14 12:17:28 +02:00
output_dir.go remove unused NewLocalArtifact 2018-11-02 14:22:01 -07:00
output_dir_local.go builder/vmware/common: make the dir private for LocalOutputDir 2013-12-24 11:22:22 -07:00
output_dir_local_test.go spelling: output 2018-03-13 08:27:26 +00:00
remote_driver.go No need to make upload public. 2018-10-25 12:39:51 -07:00
remote_driver_mock.go No need to make upload public. 2018-10-25 12:39:51 -07:00
remote_driver_mock_test.go Move the remote_driver from iso to common. 2018-10-25 11:01:22 -07:00
run_config.go make fmt autogenerated docs 2019-06-06 16:29:25 +02:00
ssh.go refactor all copy pasted sshConfig with into communicator.Config.SSHConfigFunc 2018-08-22 17:02:23 +02:00
ssh_config.go Rename communicator config variables and remove deprecated code (#8584) 2020-01-09 08:37:30 -08:00
ssh_config_test.go use interpolate.NewContext() instead of testConfigTemplate(t) 2019-06-14 12:17:28 +02:00
step_clean_files.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_clean_vmx.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_clean_vmx_test.go Added knowledge of the "temporaryDevices" statebag to the StepCleanVMX tests for the VMware builders. 2018-12-03 18:03:02 -06:00
step_compact_disk.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_compact_disk_test.go Revert "Fix test - reporting compaction results requires a tmp file" 2018-05-16 13:52:00 +01:00
step_configure_vmx.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_configure_vmx_test.go builder/vmware: fix dropped test errors 2019-09-27 16:05:12 -07:00
step_configure_vnc.go fix panic in StepConfigureVNC 2019-04-16 15:32:05 +02:00
step_configure_vnc_test.go Adds password protection for VNC on VMWare 2016-08-19 13:26:16 +02:00
step_export.go Fix error message when ovftool is missing 2019-11-14 23:11:16 +00:00
step_export_test.go Move step_export to common. 2018-10-25 12:55:10 -07:00
step_http_ip_discover.go Add golangci-lint to project (#8686) 2020-02-14 11:42:29 -05:00
step_http_ip_discover_test.go Add golangci-lint to project (#8686) 2020-02-14 11:42:29 -05:00
step_output_dir.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_output_dir_test.go Remove tmp directories created by builder/vmware/common tests 2018-04-30 20:38:03 +01:00
step_prepare_tools.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_prepare_tools_test.go test fixes WIP 2018-01-24 17:09:17 -08:00
step_register.go add 30 minute timeout for destroying a VM 2019-04-23 12:55:59 -07:00
step_register_test.go fix tests 2018-11-02 15:44:27 -07:00
step_remote_upload.go Support floppy_files for vmx on esxi 2019-09-20 00:23:28 +05:30
step_run.go implement ID and Type values in the provisioner template info sharing 2019-12-13 11:57:01 -08:00
step_run_test.go test fixes WIP 2018-01-24 17:09:17 -08:00
step_shutdown.go allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
step_shutdown_test.go bump the timeout to a very high level to protect against laggy CI machines 2020-01-07 09:59:25 -08:00
step_suppress_messages.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_suppress_messages_test.go test fixes WIP 2018-01-24 17:09:17 -08:00
step_test.go Added knowledge of the "temporaryDevices" statebag to the StepCleanVMX tests for the VMware builders. 2018-12-03 18:03:02 -06:00
step_type_boot_command.go Fix compilation error 2020-01-27 17:15:13 +01:00
step_upload_tools.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_upload_vmx.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
tools_config.go vmware: document using partials 2019-06-20 15:28:27 +02:00
vmx.go spelling: multiples 2018-03-13 08:12:53 +00:00
vmx_config.go make fmt autogenerated docs 2019-06-06 16:29:25 +02:00
vmx_config_test.go use interpolate.NewContext() instead of testConfigTemplate(t) 2019-06-14 12:17:28 +02:00
vmx_test.go go files are 0644 2017-04-25 12:50:58 -07:00