785 Commits

Author SHA1 Message Date
Chris Roberts
cd222f4622
Clean loading UI usage. Add an extra logging flag.
Use the UI provided by the built client instead of creating a
new one. Add support for an extra `v` flag when enabling logging
via flag. An exclude function is added to the logger to prevent
outputting log lines where the content is extremely long for trace
messages. Adding the extra `v` will prevent the suppression and
all log output will be displayed.
2022-04-25 12:24:24 -05:00
Chris Roberts
b86e9c3e8b
Temporarily disable local check in client UI setup 2022-04-25 12:24:24 -05:00
Chris Roberts
219cfe81c5
Rename client target file to properly reflect contents 2022-04-25 12:24:24 -05:00
Chris Roberts
5a4d607437
Remove things no longer required of target 2022-04-25 12:24:24 -05:00
Chris Roberts
cf7630d14d
Update target and vagrantfile loading in project 2022-04-25 12:24:24 -05:00
Chris Roberts
07dbd15ea6
Attach functions to client instead of basis 2022-04-25 12:24:24 -05:00
Chris Roberts
1c87679bc0
Introduce a base client
Provide a base client type that can then be used for loading
scoped items (like basis, project, etc). Allow per-run setup
of server and runner be handled by the client. Add project
loading and project detection support to basis implementation
and load vagrantfiles during client setup.
2022-04-25 12:24:24 -05:00
Chris Roberts
d16eee410f
Add target initialization when loading project 2022-04-25 12:24:24 -05:00
Chris Roberts
4de0da5749
Remove factory usage from test 2022-04-25 12:24:24 -05:00
Chris Roberts
e7c1584822
Use path helper for config path 2022-04-25 12:24:24 -05:00
Chris Roberts
785c38f755
Remove factory usage within runner testing 2022-04-25 12:24:23 -05:00
Chris Roberts
415a6b6b5b
Allow setting a custom context for the runner 2022-04-25 12:24:23 -05:00
Chris Roberts
e9c3494778
Remove path requirement from basis and project in state 2022-04-25 12:24:23 -05:00
Chris Roberts
ef3cde9cd3
Update in-process builtin factory to return plugin registration 2022-04-25 12:24:23 -05:00
Chris Roberts
63fe341ca5
Add plugin discovery support to manager 2022-04-25 12:24:23 -05:00
Chris Roberts
26b9cd37e7
Remove plugin discover function 2022-04-25 12:24:23 -05:00
Chris Roberts
4e28d59806
Temporary updates to force project loading 2022-04-25 12:24:23 -05:00
Chris Roberts
6b9e2561dc
Add plugin discovery when loading basis and project 2022-04-25 12:24:23 -05:00
Chris Roberts
361fb21ba0
Remove plugin from config 2022-04-25 12:24:22 -05:00
Chris Roberts
b553544808
Initial updates for client loading 2022-04-25 12:24:22 -05:00
Chris Roberts
7357fa4017
Update plugin factory definitions to use custom type 2022-04-25 12:24:22 -05:00
Chris Roberts
392ad6d3b7
Define plugin struct in plugin file and remove factories 2022-04-25 12:24:22 -05:00
Chris Roberts
ab0dc954cc
Handle all plugin setup via manager in runner 2022-04-25 12:24:22 -05:00
Chris Roberts
0f05203e0f
Remove plugin config 2022-04-25 12:24:22 -05:00
Chris Roberts
0e364e8946
Need to retain the component 2022-04-25 12:24:22 -05:00
Chris Roberts
a8f8178b59
Use updated function names for fetching plugins from manager 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
Chris Roberts
e10cd26407
Use plugin manager for plugins. Remove component specialization. 2022-04-25 12:24:22 -05:00
Chris Roberts
b573385dd3
Update plugin factories to return plugin type for plugin manager registration 2022-04-25 12:24:22 -05:00
Chris Roberts
29344edab5
Add a plugin manager 2022-04-25 12:24:21 -05:00
Chris Roberts
cdfcd0dc5b
Update local runner lifecycle within client 2022-04-25 12:24:21 -05:00
Chris Roberts
572dcc8622
Update types to properly match 2022-04-25 12:24:21 -05:00
Chris Roberts
221982d73a
Remove core component creator helper 2022-04-25 12:24:21 -05:00
Chris Roberts
cad5a7f717
Generated proto update 2022-04-25 12:24:21 -05:00
Chris Roberts
47f8d588ab
Update component list within proto 2022-04-25 12:24:21 -05:00
sophia
5128f604ca
go generate 2022-04-25 12:24:20 -05:00
sophia
0e40c2eb97
to_proto save point 2022-04-25 12:24:20 -05:00
sophia
07296157a8
Better error handling 2022-04-25 12:24:20 -05:00
sophia
f5fa1f330a
Seperate target name and project into their own keys for target index 2022-04-25 12:24:20 -05:00
sophia
49cf6b8c29
Search for project before upserting 2022-04-25 12:24:20 -05:00
sophia
ada96f13a3
Upload targets found in Vagrantfile 2022-04-25 12:24:20 -05:00
sophia
6421b671e1
Store Vagrantfile related to the basis 2022-04-25 12:24:19 -05:00
sophia
26333d420e
Store Vagrantfile related to the project 2022-04-25 12:24:19 -05:00
sophia
f316afdd38
Set project and basis configuration type as vagrantfile 2022-04-25 12:24:19 -05:00
sophia
7f9702a095
Successfully parse vagrantfile 2022-04-25 12:24:19 -05:00
sophia
1832fd9f53
Remove vagrantfile service in Vagrant server 2022-04-25 12:24:19 -05:00
sophia
53c822d76a
Define Vagrantfile DB form 2022-04-25 12:24:19 -05:00
sophia
5bfa4a6f48
Move Vagrantfile proto definition to the plugin sdk 2022-04-25 12:24:19 -05:00
sophia
eeb7028a48
Building after rebase 2022-04-25 12:24:19 -05:00
sophia
5f532fc986
Make box url a repeated field 2022-04-25 12:24:18 -05:00