Skip to content

Commit a29f62c

Browse files
jesseturner21claude
andcommitted
feat: add docker container deployment e2e test for Strands/Bedrock
Add e2e coverage for the Container build path, which exercises the CodeBuild + ECR + container runtime deployment pipeline. Extends E2EConfig with an optional `build` field and adds a new test file that runs create → deploy → invoke using --build Container. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2706b89 commit a29f62c

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import { createE2ESuite } from './e2e-helper.js';
2+
3+
createE2ESuite({ framework: 'Strands', modelProvider: 'Bedrock', build: 'Container' });

e2e-tests/e2e-helper.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ interface E2EConfig {
1313
framework: string;
1414
modelProvider: string;
1515
requiredEnvVar?: string;
16+
build?: string;
1617
}
1718

1819
/**
@@ -64,6 +65,10 @@ export function createE2ESuite(cfg: E2EConfig) {
6465
'--json',
6566
];
6667

68+
if (cfg.build) {
69+
createArgs.push('--build', cfg.build);
70+
}
71+
6772
// Pass API key so the credential is registered in the project and .env.local
6873
const apiKey = cfg.requiredEnvVar ? process.env[cfg.requiredEnvVar] : undefined;
6974
if (apiKey) {

0 commit comments

Comments
 (0)