sophia
83111d62ae
Add git tag to git tag test repo
2022-04-25 12:24:29 -05:00
sophia
12cb7b9fca
Include a plugin manager for basis creation in runner tests
2022-04-25 12:24:29 -05:00
sophia
eb90501fd1
Make test for project more basic
2022-04-25 12:24:29 -05:00
sophia
806f6e7399
Set a target dir when loading from a project
2022-04-25 12:24:29 -05:00
sophia
10a1f1011b
Get datadir for machine and project
2022-04-25 12:24:29 -05:00
sophia
bc365ab796
Remote discover tests
2022-04-25 12:24:28 -05:00
sophia
32df0557e0
Fix core tests
2022-04-25 12:24:28 -05:00
sophia
3e74501d26
Get full path to Vagrantfile without Vagrantfile name
2022-04-25 12:24:28 -05:00
sophia
6cde007530
Get Vagrantfile path from project
2022-04-25 12:24:28 -05:00
sophia
0778e615e9
Remote NewTarget method
2022-04-25 12:24:28 -05:00
sophia
154a4e56f0
Use uuid as Target Index identifier
2022-04-25 12:24:28 -05:00
sophia
466c692d1c
Update target index interface to use core.TargetRef instead of protos
2022-04-25 12:24:28 -05:00
sophia
83495a4f8b
Fix each machine index machine yielder
2022-04-25 12:24:27 -05:00
sophia
47a0a2d7d2
Record machine client in machine index entry
2022-04-25 12:24:27 -05:00
sophia
6eea1b0afd
Add endpoint for getting all machines from the index
2022-04-25 12:24:27 -05:00
sophia
f103797592
go generate .
2022-04-25 12:24:27 -05:00
sophia
6f54cf51a2
Allow Machine Index entries to have a remote machine reference
2022-04-25 12:24:27 -05:00
sophia
991f7db5c5
Find target in index
2022-04-25 12:24:27 -05:00
sophia
3bda8b24ef
Save point: Get a target successfully from target index
2022-04-25 12:24:26 -05:00
sophia
b22c128671
Get a target from target index
2022-04-25 12:24:26 -05:00
sophia
1ea5b2ba91
Save point: use target ref to retrieve info from target index
2022-04-25 12:24:26 -05:00
sophia
293af5de29
Fill in target index implementation
2022-04-25 12:24:26 -05:00
sophia
a5445b708e
go generate
2022-04-25 12:24:26 -05:00
sophia
be074047eb
wip
2022-04-25 12:24:25 -05:00
sophia
ea313d1291
Implement service endpoint to delete target
2022-04-25 12:24:25 -05:00
sophia
040f02e60d
Add proto to delete target
2022-04-25 12:24:25 -05:00
sophia
551aa2970f
Rename machine index to target index
2022-04-25 12:24:25 -05:00
sophia
16f3ba3574
Setup machine index class
2022-04-25 12:24:25 -05:00
Chris Roberts
378019f014
Generated proto updates
2022-04-25 12:24:25 -05:00
Chris Roberts
6bc65c10c8
Update dynamic to use client directly and automatically set scope
2022-04-25 12:24:25 -05:00
Chris Roberts
9caa92a20a
Update command setup to use base client and then load scope
...
There are still some things left to address like how to handle
a target (or targets) and if that is something we should even
be doing. It may be best to just let the command deal with
target loading. There are also some considerations to make
around remote source.
2022-04-25 12:24:25 -05:00
Chris Roberts
dd9f7f19b4
Update types used
2022-04-25 12:24:24 -05:00
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