19 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
Chris Roberts
e959369a0b Use factory for scope loading in runner 2022-07-08 16:38:02 -07:00
Chris Roberts
526c43a926 Use reference name for loading. Allow closes to happen automatically. 2022-06-20 13:04:21 -07:00
Chris Roberts
fd113d0aca Remove vagrantfile related logic from operation 2022-06-15 11:06:33 -07:00
Chris Roberts
5b04ac5c35 Isolate our basis validity to single operation 2022-04-25 16:12:38 -07:00
Chris Roberts
32710b5d79
Create basis from factory and update runner to use factory 2022-04-25 12:24:30 -05:00
Chris Roberts
ab0dc954cc
Handle all plugin setup via manager in runner 2022-04-25 12:24:22 -05:00
Chris Roberts
4c8dc9a01c
Update runner to load plugins via plugin manager 2022-04-25 12:24:22 -05:00
sophia
a6af4062f8
Save point 2022-04-25 12:24:15 -05:00
sophia
21938bf0b2
Update runner testdata 2022-04-25 12:24:14 -05:00
Chris Roberts
5d45e2c3f2
Properly detect valid components before registering plugins 2022-04-25 12:24:13 -05:00
Chris Roberts
a46edc37f8
Track scope when loading to use most specific scope for operation 2022-04-25 12:24:08 -05:00
Chris Roberts
0e820011f2
Update machine to target in runner operation 2022-04-25 12:24:06 -05:00
Chris Roberts
e62dd81050
Properly load bases based on scope provided in job 2022-04-25 12:24:05 -05:00
sophia
d004125712
Register builtin plugins against all available components 2022-04-25 12:24:00 -05:00
Chris Roberts
cffd771288
Move Vagrant runtime out of server and into runner (via client startup) 2022-04-25 12:23:58 -05:00
sophia
c3ee750db1
Add gogo 2022-04-25 12:23:57 -05:00