Matthew Hooker
030b5fd4f0
WIP add context to state bag
2018-01-24 17:09:16 -08:00
Matthew Hooker
07a5af66f8
remove ctx arg from step.run
2018-01-24 17:09:15 -08:00
Matthew Hooker
366dc3da0a
move multistep imports to helper.
...
gomvpkg -from "github.com/mitchellh/multistep" -to "github.com/hashicorp/packer/helper/multistep"
2018-01-24 17:09:15 -08:00
Matthew Hooker
89d43256bb
pass context into step.run
2018-01-24 17:09:15 -08:00
Matthew Hooker
807e88245b
trying to add context to state bag
2018-01-24 17:09:15 -08:00
Matthew Hooker
4c5a7e08b5
remove multistep vendor dep
2018-01-24 17:09:15 -08:00
Matthew Hooker
ccbd8b8abf
update plugin documentation
2018-01-24 16:59:32 -08:00
Andrei Tonkikh
6d9933d804
Uncomment accidentally commented glide install
2018-01-24 21:53:49 +03:00
Andrei Tonkikh
7424078a43
Rename tests
2018-01-24 21:52:29 +03:00
Michael Kuzmin
230bfa774c
Build two independent plugins
2018-01-24 21:01:04 +03:00
Andrei Tonkikh
df40ffbe8d
Add ISO builder which creates an empty VM
2018-01-24 17:56:14 +03:00
Andrei Tonkikh
f909669670
Add basic functionality of creating VMs to the driver
2018-01-24 16:45:35 +03:00
Andrei Tonkikh
e91ac3ef1b
Move clone builder to a separate module
2018-01-24 14:19:25 +03:00
Matthew Hooker
247119e1c3
make examples copy/pastable
2018-01-23 14:34:40 -08:00
Matthew Hooker
61c17c1d2a
Merge pull request #5800 from jessestuart/jesse/cleanup_contributing_docs
...
[docs] Fix typos + cleanup CONTRIBUTING.md docs.
2018-01-23 14:34:12 -08:00
Matthew Hooker
83bfeb200d
Merge pull request #5799 from jessestuart/jesse/remove_redundant_vagrantfile_block
...
[vagrant] Remove redundant configuration block in Vagrantfile.
2018-01-23 13:12:53 -08:00
Matthew Hooker
4bccbbba1f
Merge pull request #5790 from GennadySpb/trusted_certs_dir
...
Support 'trusted_certs_dir' chef-client configuration option
2018-01-23 13:11:27 -08:00
Michael Kuzmin
448809aa1e
switch tests to vSphere 6.5 lab
2018-01-23 22:51:05 +03:00
Michael Kuzmin
4267014a5e
Merge pull request #42 from jetbrains-infra/driver_tests
...
Add acceptance tests for driver package
2018-01-23 22:34:41 +03:00
James Nugent
5967732442
Merge pull request #5795 from stack72/bump-triton-go-deps
...
builder/triton: bump triton-go dependencies
2018-01-23 14:40:03 +00:00
Matthew Hooker
ebe995c0ff
run goimports
2018-01-22 17:21:10 -08:00
Matthew Hooker
5ef0c2280f
Merge pull request #5802 from arizvisa/GH-5789
...
Some chances to log errors were missed inside step_create_floppy.go for floppy_files
2018-01-19 15:49:03 -08:00
Ali Rizvi-Santiago
0e0b467da7
Forgot to check some errors during the adding of files to the floppy disk. This gives users some better information in case packer is unable to add a file...like if there's not enough disk space available.
2018-01-19 13:34:01 -06:00
Ali Rizvi-Santiago
97fc9c02a5
Grr...missed the case that actually mattered on linux.
2018-01-18 23:58:24 -06:00
Ali Rizvi-Santiago
f9572cb244
Fixed a bug on linux related to forgetting to check the platform for the forward-slash prefix.
2018-01-18 23:48:20 -06:00
Ali Rizvi-Santiago
41f4dc3f3d
umm...gofmt -w on common/config{,_test}.go from linux instead of windows(?)
2018-01-18 23:33:44 -06:00
Ali Rizvi-Santiago
7cd5d576d9
Updated common/config.go's FileExistsLocally implementation to use the LocalDownloader interface for determining the real file path.
2018-01-18 23:18:55 -06:00
Ali Rizvi-Santiago
8a102a42a0
gofmt -w on common/config{,_test}.go
2018-01-18 23:09:53 -06:00
Ali Rizvi-Santiago
15079a99dc
Fixed common/config_test.go tests for DownloadableURL to avoid writing to disk on the windows platform. Also added tests for relative paths/uris.
...
common/config_test.go:
Replaced instances of os.Mkdir and os.Create with tests that use
the existing "common/test-fixtures" mechanism.
Removed the runtime.GOOS test for the "FileExistsLocally" test,
as the functionality should work regardless of the platform.
Added some more comprehensive tests for the relative uri/pathing.
Replaced the Windows Object Manager name test as the Object
Manager's naming scheme is different from a UNC path.
Modified the FilePaths tests to support the policy of windows absolute
paths being prefixed with the `/` introduced with PR #5761 .
2018-01-18 23:08:22 -06:00
Ali Rizvi-Santiago
95f60f6153
Modified common/config.go to accommodate some of the new DownloadableURL policies made by the PR #5761 merge.
...
common/config.go:
Added the ability for DownloadableURL to promote UNC paths to the SMB uri.
Modified DownloadableURL to include the "./" prefix when a relative path is passed to it.
Fix-up the DownloadableURL argument if on windows and incorrectly prefixed with "/".
2018-01-18 22:43:08 -06:00