313 Commits

Author SHA1 Message Date
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
sophia
4e9e0dbe75
Load box metadata 2022-04-25 12:25:53 -05:00
sophia
8642882a35
Add box tests 2022-04-25 12:25:53 -05:00
sophia
abd2e24e07
Add compare method for comparing box versions 2022-04-25 12:25:52 -05:00
sophia
aeeddd7967
Add comparision functions 2022-04-25 12:25:52 -05:00
sophia
faf1131617
Fill in box module
And add last_update field to box
2022-04-25 12:25:52 -05:00
sophia
639cf1db04
Add empty box module 2022-04-25 12:25:52 -05:00
sophia
62d7324bfc
go generate 2022-04-25 12:25:52 -05:00
sophia
a8ce240049
Add tests for box 2022-04-25 12:25:52 -05:00
sophia
5fc9dd94fe
Implement box crub endpoints 2022-04-25 12:25:52 -05:00
sophia
93e94186ba
Add box endpoints 2022-04-25 12:25:52 -05:00
sophia
3e3ab869d4
Add box to bolt 2022-04-25 12:25:52 -05:00
sophia
d7737effbf
Add id to box 2022-04-25 12:25:52 -05:00
sophia
1c27a57213
Use Box as part of machine proto 2022-04-25 12:25:51 -05:00
sophia
ed76183470
Add Box proto message 2022-04-25 12:25:51 -05:00
sophia
80e18d0b17
Allow querying version on constraints 2022-04-25 12:25:51 -05:00
sophia
e22df5af5c
Use go-version to compare version 2022-04-25 12:25:51 -05:00
sophia
01b63b559a
Filter versions by providers available 2022-04-25 12:25:51 -05:00
sophia
15b4cc25bf
Add tests 2022-04-25 12:25:51 -05:00
sophia
8e005c9ee1
Setup box metadata 2022-04-25 12:25:51 -05:00
sophia
52e9e49e4d
Start defining box metadata 2022-04-25 12:25:51 -05:00
sophia
c4cd5c599b
Add mappers to component at component creation phase 2022-04-25 12:25:51 -05:00
sophia
63c71b0a20
Append mappers to a plugin component 2022-04-25 12:25:51 -05:00
Chris Roberts
7595f1533f
Enable plugin mappers 2022-04-25 12:25:50 -05:00
Chris Roberts
038d4b16c3
Cache host value to prevent multiple lookups during run 2022-04-25 12:25:50 -05:00
sophia
22c75fe979
Raise error for failing to load parent plugin 2022-04-25 12:25:49 -05:00
Chris Roberts
cb869a6597
Fix up logging, singularize name 2022-04-25 12:25:49 -05:00
sophia
cafa1d039d
Load single parent plugin 2022-04-25 12:24:48 -05:00
sophia
fd96279d82
Count number of parents for host plugin 2022-04-25 12:24:48 -05:00
sophia
92d7c7b291
go generate 2022-04-25 12:24:48 -05:00
sophia
f1f1b8c79d
Update parents -> parent 2022-04-25 12:24:48 -05:00
sophia
cda3ba7b29
Make myplugin have parents darwin and bsd 2022-04-25 12:24:48 -05:00
sophia
2bd95144e7
Seed plugin on startup 2022-04-25 12:24:48 -05:00
sophia
3d0197d0bf
Store plugin parents 2022-04-25 12:24:47 -05:00
Chris Roberts
7cc07642a5
Use project for host capabilities 2022-04-25 12:24:47 -05:00
Chris Roberts
891541cd40
Create cache in manager and set into plugin if available 2022-04-25 12:24:47 -05:00
Chris Roberts
be4bbe902f
Generated proto updates 2022-04-25 12:24:46 -05:00
Chris Roberts
66d2a70291
Seed host and guest plugins 2022-04-25 12:24:45 -05:00
Chris Roberts
fc61c27b51
Update logging names for clearer messages 2022-04-25 12:24:45 -05:00
Chris Roberts
99978cf9d6
Set statebag into host plugin 2022-04-25 12:24:45 -05:00
sophia
58ffe630a2
Pass statebag to host detect function 2022-04-25 12:24:41 -05:00
sophia
97baac8772
Check for parents if host detected 2022-04-25 12:24:41 -05:00
sophia
d75f76edf7
Prune old jobs as part of vagrant server clean ups 2022-04-25 12:24:40 -05:00
sophia
b2cce38f48
Add rpc endpoint to prune out old jobs 2022-04-25 12:24:40 -05:00