lmnewton
bfb3c88e16
Fixing typo for VAGRANT_DISABLE_WINCURL option in website docs
2022-07-28 15:18:57 -05:00
Sophia Castellarin
87689f5f19
Merge pull request #329 from hashicorp/warn-compatability
...
Warn compatability
2022-07-28 11:57:49 -05:00
sophia
d05e4503bb
Add docs for VAGRANT_SUPPRESS_GO_EXPERIMENTAL_WARNING env var
2022-07-28 11:54:32 -05:00
sophia
2f5c185708
Warn users when using vagrant-go
2022-07-28 11:54:27 -05:00
Chris Roberts
6aa63e309a
Merge pull request #326 from hashicorp/release-updates
...
Release updates for vagrant-agogo
2022-07-27 13:22:39 -07:00
Paul Hinze
b10ca08d67
Merge pull request #327 from hashicorp/command-options
...
Support and honor the "primary" option for Command plugins
2022-07-27 15:19:33 -05:00
Paul Hinze
e9488a041d
bump sdk
2022-07-27 15:15:09 -05:00
Paul Hinze
7c56c74bb6
Support and honor the "primary" option for Command plugins
2022-07-27 11:36:04 -05:00
Paul Hinze
9a096926c2
Merge pull request #328 from hashicorp/ci-enable-more-components
...
ci: enable shell provisioner component
2022-07-26 18:15:04 -05:00
Sophia Castellarin
5170d83c21
Merge pull request #325 from hashicorp/load-external-plugin-config
...
Find type to unany objects when mapping
2022-07-26 14:15:33 -05:00
Chris Roberts
62d16b3b9f
Build and store the binary on non-release builds
2022-07-26 11:38:41 -07:00
sophia
c2d8f892ac
Find type to unany objects when mapping
...
find_types works fine until you have a module which has the same name but different case. For example, the VagrantVmware package is HashiCorp::VagrantVMwareDesktop. All the protos are at Hashicorp::Vagrant::… So, you end up with this fun
Object.constants.select { |n| n.to_s.downcase == "hashicorp" }
=> [:HashiCorp, :Hashicorp]
So, when trying to walk down the modules to find the right type to unany to, Vagrant sometimes takes the wrong path (eg. Down the HashiCorp module instead of the Hashicorp module).
This change will keep a list of the parent modules when walking down the module list. This way if a dead end is reached then Vagrant can go a level back and keep searching for the correct class.
2022-07-26 12:22:28 -05:00
Chris Roberts
54502d5d66
Merge pull request #324 from hashicorp/fix-packaged-hang
...
Fix hanging commands when using packaged installation
2022-07-26 09:12:50 -07:00
Chris Roberts
cbbc0ca7f5
Keep deferred close as multiple calls are allowed
2022-07-25 15:28:00 -07:00
Chris Roberts
1ae72d6283
Use cleanup and log error if encountered
2022-07-25 15:27:30 -07:00
Chris Roberts
dca389eda0
Generated proto updates
2022-07-25 15:00:49 -07:00
Chris Roberts
1a0c6b9d70
Request ruby runtime to stop itself when closing
2022-07-25 15:00:49 -07:00
Paul Hinze
3942a359d2
Merge pull request #323 from hashicorp/fix-multimachine-parallel
...
Fix vbox multimachine by setting provider parallel default correctly
2022-07-25 16:57:25 -05:00
Sophia Castellarin
0081bb0f9b
Merge pull request #322 from hashicorp/cleanup-target-dir-on-destroy
...
Set not created machine state when appropriate
2022-07-25 16:41:31 -05:00
Chris Roberts
3aedfb4970
Include Stop() function on the ruby client
2022-07-25 14:31:13 -07:00
Chris Roberts
b917dc466a
Implement stop on the ruby internal service
2022-07-25 14:30:45 -07:00
Chris Roberts
8c3393bd61
Add Stop rpc for ruby internal service
2022-07-25 14:30:29 -07:00
Chris Roberts
fda4aef9c7
Make server instance accessible, return integer value
2022-07-25 14:29:38 -07:00
Chris Roberts
d5e41e328e
Check base command close for error and modify exitcode
2022-07-25 14:28:53 -07:00
Paul Hinze
fc76f71ffc
Fix vbox multimachine by setting provider parallel default correctly
...
Turns out I misinterpreted the behavior of a ruby method with a default
being passed nil so I assumed :parallel was effectively defaulting to
true when it is the opposite.
2022-07-25 15:52:11 -05:00
sophia
7441927f06
Set not created machine state when appropriate
2022-07-25 15:16:40 -05:00
Sophia Castellarin
c999147497
Merge pull request #321 from hashicorp/check-v1-box
...
Automatically update v1 boxes
2022-07-25 15:11:32 -05:00
sophia
2fc44897fd
Bump sdk
2022-07-25 13:07:41 -05:00
sophia
5df47c8856
Check for existence of metatdata.json to determine if a box is v1
2022-07-25 13:05:48 -05:00
sophia
7678c28f65
Add warning about v1 boxes
2022-07-25 12:29:59 -05:00
sophia
0af2ff5709
Automatically update v1 boxes
2022-07-25 12:29:32 -05:00
Paul Hinze
a846e55a0e
ci: enable shell provisioner component
...
This would have caught the issue in https://github.com/hashicorp/vagrant-ruby/pull/319
2022-07-25 10:26:03 -05:00
Sophia Castellarin
fe4956ac83
Merge pull request #314 from hashicorp/ruby-load-global-plugins
...
Load global ruby plugins
2022-07-25 09:40:00 -05:00
Chris Roberts
c736a528ca
Build go binary and include in release assets
2022-07-21 08:27:25 -07:00
Chris Roberts
ee9e63ca40
Setup go for release job
2022-07-21 08:26:49 -07:00
Sophia Castellarin
8fedb6752e
Merge pull request #320 from hashicorp/add-some-dev-setup-docs
...
Add some info on developing with go
2022-07-20 15:59:37 -07:00
sophia
2d1b6aa629
Add some info on developing with go
2022-07-20 15:38:14 -07:00
Paul Hinze
092bf6ebc5
Merge pull request #319 from hashicorp/fix-provisioners
...
Fix crashes on Vagrantfiles with provisioners
2022-07-20 15:38:01 -07:00
Paul Hinze
9ab94f9971
Fix crashes on Vagrantfiles with provisioners
...
I forgot to handle nil in the new PluginOptions stuff, and options are
nil for Provisioner plugins.
2022-07-20 17:36:05 -05:00
Sophia Castellarin
7ccfff3ec2
Merge pull request #318 from hashicorp/provider-opts
...
Fix provider options typo
2022-07-18 12:38:18 -05:00
sophia
4f0082adfa
Fix provider options typo
2022-07-18 10:03:01 -07:00
Sophia Castellarin
59a0a2a3a0
Merge pull request #313 from hashicorp/go-plugins-doc
...
Add docs for writing go based plugins
2022-07-18 11:07:13 -05:00
Paul Hinze
313905dde5
Merge pull request #317 from hashicorp/fix-help-subcommand
...
Band-aid to prevent help subcommand from erroring
2022-07-15 16:42:13 -05:00
Paul Hinze
1d2e487924
Merge pull request #312 from hashicorp/ruby-plugin-options
...
Bring plugin options back to Ruby for providers and synced folders
2022-07-15 16:41:59 -05:00
Paul Hinze
9d406a7361
bump sdk
2022-07-15 12:15:23 -05:00
Paul Hinze
a916cddf68
Re-enable pending test since box_optional works again
2022-07-15 12:14:47 -05:00
Paul Hinze
957d0d3779
Bring plugin options back to Ruby for providers and synced folders
...
This removes the need for the validation workaround for Docker, because
box_updated is once again available in that context.
We don't technically need the SyncedFolder priorities back on the Ruby
side, but wiring them through for symmetry.
Depends on https://github.com/hashicorp/vagrant-plugin-sdk/pull/183
2022-07-15 12:14:47 -05:00
Paul Hinze
f3dbc24a22
Band-aid to prevent help subcommand from erroring
...
The code running in the help subcommand relies on Command plugins being
returned from the manager with their options hash. Stubbing in a blank
hash prevents the command from crashing
What we really need is for CommandOptions to be modeled and passed
through from Go to Ruby so :primary subcommands can be displayed, but
that can be a follow-on task from this quick fix.
2022-07-15 11:25:50 -05:00
Paul Hinze
ae49b1f13f
Merge pull request #316 from hashicorp/fix-vbox-acctests
...
Fix virtualbox lifecycle acctests
2022-07-14 13:10:37 -05:00
sophia
b470522767
Add docs for writing go based plugins
2022-07-14 11:10:00 -05:00