Fix update checks for orbit at startup (#3835)

* Fix update checks for orbit at startup

* Add tests

* Add scripts for testing local TUF server

* Remove -x used for debugging
This commit is contained in:
Lucas Manuel Rodriguez
2022-02-23 14:58:07 -03:00
committed by GitHub
parent 0ac0c9de3e
commit b5be858071
12 changed files with 251 additions and 34 deletions
+2
View File
@@ -181,6 +181,7 @@ jobs:
cp ./orbit/pkg/packaging/certs.pem /tmp/orbit
mkdir orbit_logs
go run github.com/fleetdm/fleet/v4/orbit/cmd/orbit \
--debug \
--dev-mode \
--disable-updates \
--root-dir /tmp/orbit \
@@ -230,6 +231,7 @@ jobs:
cp ./orbit/pkg/packaging/certs.pem "/C/Program Files/Orbit"
mkdir orbit_logs
go run github.com/fleetdm/fleet/v4/orbit/cmd/orbit \
--debug \
--dev-mode \
--disable-updates \
--root-dir "/C/Program Files/Orbit" \