small feat: svg animation for servers, codebuild, codePipleline etc...

This commit is contained in:
Zakaria
2026-10-15 10:25:16 -04:00
parent ca1e845cb6
commit 668911ed6e
29 changed files with 10034 additions and 117 deletions
@@ -127,6 +127,7 @@ describe('AwsComputeAdapter', () => {
securityGroupIds: 'sg-111, sg-222',
rootVolumeSize: '30',
rootVolumeType: 'gp3',
userData: '#!/bin/bash\necho ready',
}})
expect(launched).toHaveLength(1)
expect(launched[0].name).toBe('test-box')
@@ -135,6 +136,7 @@ describe('AwsComputeAdapter', () => {
expect(launched[0].securityGroupIds).toEqual(['sg-111', 'sg-222'])
expect(launched[0].rootVolumeSize).toBe(30)
expect(launched[0].rootVolumeType).toBe('gp3')
expect(launched[0].userData).toBe('#!/bin/bash\necho ready')
expect(result.type).toBe('instance')
expect(result.cloud).toBe('aws')
})
@@ -56,6 +56,7 @@ export class AwsComputeAdapter implements CloudServiceAdapter {
securityGroupIds,
rootVolumeSize,
rootVolumeType: v.rootVolumeType ? String(v.rootVolumeType) : undefined,
userData: typeof v.userData === 'string' && v.userData.trim() ? v.userData : undefined,
}
const instance = await this.service_.runInstance(runInput)
return instanceToResource(instance)