refactor: stand up vantage-agent as its own repository
Agent Release / build (push) Successful in 2m23s
Agent Release / msi (push) Successful in 3m10s

agent/ becomes the repository root, so the module is
gitea.hostxtra.co.uk/vantage/vantage-agent, and installer/ comes with it.

Releases move to this repository, and internal/sync's self-update URLs
move with them. Agents built before this point have the old
mrhid6/vantage path compiled in and will fail the push-button update;
re-running the server-generated /update one-liner on each host moves
them onto a build that knows the new address.
This commit is contained in:
2026-09-08 08:58:30 +00:00
parent 20fd5790a1
commit 6b2c5f6f62
13 changed files with 312 additions and 28 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"os/exec"
"strings"
"gitea.hostxtra.co.uk/mrhid6/vantage/agent/internal/winexec"
"gitea.hostxtra.co.uk/vantage/vantage-agent/internal/winexec"
)
// AgentUnit is the service this agent runs as — the NSSM service name written
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"os/exec"
"strconv"
"gitea.hostxtra.co.uk/mrhid6/vantage/agent/internal/winexec"
"gitea.hostxtra.co.uk/vantage/vantage-agent/internal/winexec"
)
func logsPlatform(ctx context.Context, kind, id string, tail int) (string, error) {
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"os"
"time"
"gitea.hostxtra.co.uk/mrhid6/vantage/agent/internal/winexec"
"gitea.hostxtra.co.uk/vantage/vantage-agent/internal/winexec"
)
const servicesTimeout = 60 * time.Second