feat(agent): job runner, compose override executor and swarm executor (#7)

This commit is contained in:
2026-10-12 18:45:44 +02:00
parent 32c30194c4
commit e313365686
18 changed files with 1617 additions and 165 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
package discovery_test
package updater_test
import (
"testing"
"github.com/shcizo/package-updater/internal/discovery"
"github.com/shcizo/package-updater/internal/agent/updater"
"github.com/stretchr/testify/require"
)
@@ -26,7 +26,7 @@ func TestIsInsideRoot(t *testing.T) {
}
for _, c := range cases {
t.Run(c.name, func(t *testing.T) {
require.Equal(t, c.want, discovery.IsInsideRoot(c.root, c.path))
require.Equal(t, c.want, updater.IsInsideRoot(c.root, c.path))
})
}
}