80 Commits

Author SHA1 Message Date
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
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
Chris Roberts
c1bbc7284b
Generated proto updates 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
df2488e508
Set uuid value on target if unset 2022-04-25 12:24:32 -05:00
Chris Roberts
aaf0ae8504
Generated proto updates 2022-04-25 12:24:31 -05:00
Chris Roberts
097c4547db
Support target lookups via uuid 2022-04-25 12:24:31 -05:00
Chris Roberts
003b06502c
Set provider within target 2022-04-25 12:24:31 -05:00
sophia
f103797592
go generate . 2022-04-25 12:24:27 -05:00
sophia
a5445b708e
go generate 2022-04-25 12:24:26 -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
Chris Roberts
378019f014
Generated proto updates 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
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
f5fa1f330a
Seperate target name and project into their own keys for target index 2022-04-25 12:24:20 -05:00
sophia
ada96f13a3
Upload targets found in Vagrantfile 2022-04-25 12:24:20 -05:00
sophia
f316afdd38
Set project and basis configuration type as 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
sophia
c2176d5e80
Extract vagrant and communicator settings from Vagrantfile 2022-04-25 12:24:18 -05:00
sophia
849755646b
Define config for config.ssh, winrm, winssh, vagrant 2022-04-25 12:24:18 -05:00
sophia
da58bbc1c1
Get all config.vm.* variables 2022-04-25 12:24:18 -05:00
sophia
9c1d09eb8a
Extract providers 2022-04-25 12:24:18 -05:00
sophia
81368d83dd
More complicated provider setup 2022-04-25 12:24:18 -05:00
sophia
5467b9134c
Extract network info from Vagrantfile into proto 2022-04-25 12:24:18 -05:00
sophia
36a4a03160
Define the 'config.vm.*' level of the Vagrantfile 2022-04-25 12:24:17 -05:00
sophia
6899a2a00d
Make Vagrantfile protos more closely resemble the Vagrantfile 2022-04-25 12:24:17 -05:00
sophia
3b6766cfc1
Add Vagrantfile to task definition 2022-04-25 12:24:16 -05:00
sophia
3f9b933991
Return dummy Vagrantfile data 2022-04-25 12:24:16 -05:00
sophia
3d25e71970
Add Vagrantfile to proto data model 2022-04-25 12:24:16 -05:00
sophia
71f3b99819
Setup Vagrantfile refs 2022-04-25 12:24:16 -05:00
sophia
45e86d7f8a
Setup Vagrantfile service 2022-04-25 12:24:16 -05:00