293 Commits

Author SHA1 Message Date
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
sophia
57474ac8c8
Periodically prune old jobs from bolt 2022-04-25 12:24:40 -05:00
sophia
2991810e0c
Seperate pruning jobs from memdb and bolt
only prune out old queued jobs in memdb
2022-04-25 12:24:40 -05:00
sophia
21c926523f
Count all the entries in jobs bucket 2022-04-25 12:24:40 -05:00
sophia
63dcc9fbf3
Save point: run prune in background 2022-04-25 12:24:40 -05:00
sophia
4205d0e444
Prune old jobs from state 2022-04-25 12:24:40 -05:00
sophia
772e786eee
Import Waypoint state pruning code
ref: b333b059a0/internal/server/singleprocess/state/prune.go
b333b059a0/internal/server/singleprocess/state/prune_test.go
4f71748610/internal/server/singleprocess/prune.go

Squash: import prune
2022-04-25 12:24:40 -05:00
sophia
f845222c44
Add statebag to basis 2022-04-25 12:24:40 -05:00
sophia
631a630e68
Implement statebag 2022-04-25 12:24:40 -05:00
sophia
f5fe88de15
Add tests for target 2022-04-25 12:24:39 -05:00
sophia
72225abc28
Add test for basis state 2022-04-25 12:24:39 -05:00
sophia
b30bbcb13a
Don't check for 'found' in basis/project/target query results 2022-04-25 12:24:39 -05:00
sophia
bb336592ea
Remove 'found' from basis/project/target query results 2022-04-25 12:24:39 -05:00
sophia
591dcced22
Remotve machine names function from project 2022-04-25 12:24:37 -05:00
sophia
5ca687cad4
Implement project home path, cwd and default private key 2022-04-25 12:24:36 -05:00
sophia
6b007f27bb
Detect guest for machine 2022-04-25 12:24:35 -05:00
Chris Roberts
c1bbc7284b
Generated proto updates 2022-04-25 12:24:35 -05:00
Chris Roberts
3505089a3c
Allow runner UI to disable new lines 2022-04-25 12:24:35 -05:00
Chris Roberts
fdfa6f221e
Add disable new line to message proto 2022-04-25 12:24:35 -05:00
sophia
ea87b6824d
Upgrade bolt to bbolt
boltdb/bolt is no longer a maintained project. bbolt is the CoreOS
fork that the author of boltdb suggests using as a replacement.
2022-04-25 12:24:34 -05:00
Chris Roberts
90903417c4
Use plugin submanager within new basis instances 2022-04-25 12:24:34 -05:00