feat(fleet): system-type profiles (H2) (#660)
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
ci/woodpecker/push/ci Pipeline was successful

This commit was merged in pull request #660.
This commit is contained in:
2026-06-24 16:02:25 +00:00
parent 538f0556d5
commit a738ac1410
10 changed files with 783 additions and 2 deletions

View File

@@ -82,6 +82,7 @@ describe('registerFleetCommand', () => {
'init',
'install',
'install-systemd',
'profile',
'ps',
'remove',
'restart',
@@ -92,6 +93,15 @@ describe('registerFleetCommand', () => {
]);
});
it('registers the profile subcommand with list and show', () => {
const program = buildProgram();
const fleet = program.commands.find((command) => command.name() === 'fleet');
const profile = fleet!.commands.find((command) => command.name() === 'profile');
expect(profile).toBeDefined();
expect(profile!.commands.map((command) => command.name()).sort()).toEqual(['list', 'show']);
});
it('registers the backlog subcommand with its operations', () => {
const program = buildProgram();
const fleet = program.commands.find((command) => command.name() === 'fleet');