41 Commits

Author SHA1 Message Date
sophia
a99bfc65f9
AUse version constraints to find boxes 2022-04-25 12:25:54 -05:00
sophia
e77cb42171
Add tests 2022-04-25 12:25:54 -05:00
sophia
9d01b2c60e
Add endpoint for finding boxes 2022-04-25 12:25:54 -05:00
sophia
63eb76bd60
Find boxes by name, provider, version 2022-04-25 12:25:54 -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
3e3ab869d4
Add box to bolt 2022-04-25 12:25:52 -05:00
sophia
d75f76edf7
Prune old jobs as part of vagrant server clean ups 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
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
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
df2488e508
Set uuid value on target if unset 2022-04-25 12:24:32 -05:00
Chris Roberts
097c4547db
Support target lookups via uuid 2022-04-25 12:24:31 -05:00
sophia
ea313d1291
Implement service endpoint to delete target 2022-04-25 12:24:25 -05:00
Chris Roberts
e9c3494778
Remove path requirement from basis and project in state 2022-04-25 12:24:23 -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
1832fd9f53
Remove vagrantfile service in Vagrant server 2022-04-25 12:24:19 -05:00
sophia
eeb7028a48
Building after rebase 2022-04-25 12:24:19 -05:00
sophia
3f9b933991
Return dummy Vagrantfile data 2022-04-25 12:24:16 -05:00
sophia
45e86d7f8a
Setup Vagrantfile service 2022-04-25 12:24:16 -05:00
sophia
45e1564a81
Remove unused code 2022-04-25 12:24:15 -05:00
sophia
8b0f7d8658
Fix runner and snapshot tests 2022-04-25 12:24:15 -05:00
sophia
86dfcefad5
Fix project test 2022-04-25 12:24:15 -05:00
sophia
3de668b821
Sort out job test except for blocking job execution tests 2022-04-25 12:24:15 -05:00
sophia
1b4891317c
Fix config test 2022-04-25 12:24:15 -05:00
sophia
bb83e4aa46
Clean up service runner tests 2022-04-25 12:24:15 -05:00
sophia
cdb77936fa
Provide default basis info 2022-04-25 12:24:15 -05:00
sophia
f6a726f425
Fix service config test 2022-04-25 12:24:14 -05:00
sophia
afb2dcdc8b
Testing save point 2022-04-25 12:24:13 -05:00
Chris Roberts
3e58d4dc42
Update server service and state to use Target and refs from sdk 2022-04-25 12:24:07 -05:00
Chris Roberts
a46f8d0e29
Rename machine to target. Remove core services. 2022-04-25 12:24:05 -05:00
Chris Roberts
cffd771288
Move Vagrant runtime out of server and into runner (via client startup) 2022-04-25 12:23:58 -05:00
sophia
c3ee750db1
Add gogo 2022-04-25 12:23:57 -05:00