10 Commits

Author SHA1 Message Date
Chris Roberts
e958c6183a Adds initial HCP config support
Adds initial basic support for HCP based configuration in vagrant-go.
The initalization process has been updated to remove Vagrantfile parsing
from the client, moving it to the runner using init jobs for the basis
and the project (if there is one). Detection is done on the file based
on extension for Ruby based parsing or HCP based parsing.

Current HCP parsing is extremely simple and currently just a base to
build off. Config components will be able to implement an `Init`
function to handle receiving configuration data from a non-native source
file. This will be extended to include a default approach for injecting
defined data in the future.

Some cleanup was done in the state around validations. Some logging
adjustments were applied on the Ruby side for better behavior
consistency.

VirtualBox provider now caches locale detection to prevent multiple
checks every time the driver is initialized.
2023-09-07 17:26:10 -07:00
hashicorp-copywrite[bot]
36a312ee26
add missing license headers and update copyright file headers to BUS-1.1 2023-08-10 21:53:25 +01:00
Chris Roberts
b6192eba0d Fixup scoping usage to properly validate 2023-06-05 14:18:05 -07:00
sophia
d49944a25d
Only init targets when running a job scoped at the project or target 2022-04-25 12:26:01 -05:00
Chris Roberts
96ac78a9a4
Fix some panics 2022-04-25 12:24:31 -05:00
Chris Roberts
07dbd15ea6
Attach functions to client instead of basis 2022-04-25 12:24:24 -05:00
Chris Roberts
b553544808
Initial updates for client loading 2022-04-25 12:24:22 -05:00
Chris Roberts
3f86194f60
Replace machine usage with target. Update proto ref location to plugin sdk 2022-04-25 12:24:06 -05:00
Chris Roberts
d9893c1a13
Return immediately on error to prevent inspecting nil result 2022-04-25 12:23:59 -05:00
sophia
c3ee750db1
Add gogo 2022-04-25 12:23:57 -05:00