fix: cleanup agent and add to ci
This commit is contained in:
parent
ab7587e7a9
commit
4961e83a9c
13 changed files with 160 additions and 758 deletions
|
|
@ -2,11 +2,10 @@ package main
|
|||
|
||||
import (
|
||||
_ "github.com/joho/godotenv/autoload"
|
||||
"github.com/tale/headplane/agent/internal/config"
|
||||
"github.com/tale/headplane/agent/internal/hpagent"
|
||||
"github.com/tale/headplane/agent/internal/sshutil"
|
||||
"github.com/tale/headplane/agent/internal/tsnet"
|
||||
"github.com/tale/headplane/agent/internal/util"
|
||||
"github.com/tale/headplane/internal/config"
|
||||
"github.com/tale/headplane/internal/hpagent"
|
||||
"github.com/tale/headplane/internal/tsnet"
|
||||
"github.com/tale/headplane/internal/util"
|
||||
)
|
||||
|
||||
type Register struct {
|
||||
|
|
@ -32,6 +31,5 @@ func main() {
|
|||
ID: agent.ID,
|
||||
})
|
||||
|
||||
sshutil.DispatchSSHStdin()
|
||||
hpagent.FollowMaster(agent)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue