193 Commits

Author SHA1 Message Date
Chris Roberts
acb32d33f7
Get parent count directly from plugin 2022-04-25 12:26:14 -05:00
Chris Roberts
1155e7be21
Configure plugins and use plugin local functions 2022-04-25 12:26:14 -05:00
sophia
9ea254735a
Set target uuid opposed to resource id
The uuid is the public identifier vs the resource id which should
be for internal operations.
The target uuid should correspond to the machine id (given by
the provider)
2022-04-25 12:26:13 -05:00
sophia
63a4b76c21
Add tests for setting machine id 2022-04-25 12:26:13 -05:00
sophia
294293097c
Set empty machine id when destroying 2022-04-25 12:26:13 -05:00
Paul Hinze
2460961749
Switch to centralized VagrantCWD implementation
Now depends on https://github.com/hashicorp/vagrant-plugin-sdk/pull/104
2022-04-25 12:26:12 -05:00
sophia
ea680d78f7
Seed synced folder plugins with machine 2022-04-25 12:26:12 -05:00
sophia
a86bf277aa
Use guest specified in vagrantfile if available 2022-04-25 12:26:11 -05:00
sophia
31e57414b4
Destroy machine + remove data dir when machine id is set to empty value 2022-04-25 12:26:11 -05:00
sophia
ba1dd33fff
Include seeds in ruby communicator 2022-04-25 12:26:09 -05:00
sophia
d57203f005
Get ruby communincator upload working 2022-04-25 12:26:09 -05:00
sophia
85f7aa1586
Make go communincator plugin work 2022-04-25 12:26:09 -05:00
sophia
b6dfff9679
Implement communicate method for core.Target 2022-04-25 12:26:07 -05:00
sophia
3a43cd35cb
Don't use config if it doesn't exist yet 2022-04-25 12:26:06 -05:00
sophia
04591646a3
Use host from vagrantfile if defined 2022-04-25 12:26:06 -05:00
sophia
1fe695bdf3
Use Vagrantfile info to configure target box 2022-04-25 12:26:06 -05:00
sophia
36dbd73945
Add endpoint for accessing basis/project/target config 2022-04-25 12:26:06 -05:00
sophia
01bc9a8430
Remove unused config from basis 2022-04-25 12:26:06 -05:00
sophia
0153f75b09
Remove unused core components 2022-04-25 12:26:06 -05:00
Chris Roberts
6b37b7ba55
Add seed functions and seed before running 2022-04-25 12:26:05 -05:00
Chris Roberts
bd2d399951
Use function to get component type 2022-04-25 12:26:05 -05:00
sophia
f1dc606d11
Get plugins from basis 2022-04-25 12:26:04 -05:00
sophia
8f8b5d2078
Return synced folders plugin along with synced folder info 2022-04-25 12:26:04 -05:00
sophia
847d87a017
Get synced folder from machine 2022-04-25 12:26:04 -05:00
sophia
de996a6047
Move box loading to machine 2022-04-25 12:26:01 -05: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
081fcad389
Update guest detection and parent loading in machine 2022-04-25 12:25:59 -05:00
Chris Roberts
a2147ed27f
Update basis ResourceId to match interface 2022-04-25 12:25:59 -05:00
Chris Roberts
22de22e199
Update parent counting when loading plugins 2022-04-25 12:25:59 -05:00
sophia
57afe56edd
Delete box directory if exists 2022-04-25 12:25:57 -05:00
sophia
b12393ce2c
Ensure metadataurl is set for box 2022-04-25 12:25:57 -05:00
sophia
cec195cecb
Remove boxes from db when deleting 2022-04-25 12:25:56 -05:00
sophia
559b160eb8
Use go getter to extract box files 2022-04-25 12:25:56 -05:00
sophia
d786649e03
Add box if not found in box collection 2022-04-25 12:25:55 -05:00
sophia
a233cbefbb
Add ability to add box
This only works for boxes being added as username/boxname from
vagrant cloud.
2022-04-25 12:25:55 -05:00
sophia
2dfb9b933e
Get boxes from project 2022-04-25 12:25:55 -05:00
sophia
a841ca8552
Ensure box destination path is in box path 2022-04-25 12:25:55 -05:00
sophia
60860386f6
Fix tests 2022-04-25 12:25:55 -05:00
sophia
371895497b
Ensure box collection implements the cor box collection 2022-04-25 12:25:54 -05:00
sophia
e77cb42171
Add tests 2022-04-25 12:25:54 -05:00
sophia
c48afe423d
Implement box collection 2022-04-25 12:25:54 -05:00
sophia
79b1b046a4
Creat box from ref 2022-04-25 12:25:54 -05:00
sophia
2b93a26b50
Inject a box into the machine
This should be updated once the box collection and provider are
implemented in order to select the right box from the box
collection.
2022-04-25 12:25:54 -05:00
sophia
4335d9e7dd
Store box as part of machine object 2022-04-25 12:25:54 -05:00
sophia
1545093be2
Set box id 2022-04-25 12:25:54 -05:00
sophia
ff98ee294a
Create full boxes for tests 2022-04-25 12:25:53 -05:00
sophia
f3b6f615ab
Get box from machine 2022-04-25 12:25:53 -05:00
sophia
a2002f66fb
Implement repackage 2022-04-25 12:25:53 -05:00
sophia
50c37c9b96
Create new box 2022-04-25 12:25:53 -05:00
sophia
a023c88a1f
Save box to db 2022-04-25 12:25:53 -05:00