From a29f62c47d49997a8306c7bdd130a9bde9921db1 Mon Sep 17 00:00:00 2001 From: Jesse Turner Date: Fri, 20 Feb 2026 16:07:34 +0000 Subject: [PATCH] feat: add docker container deployment e2e test for Strands/Bedrock MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- e2e-tests/container-strands-bedrock.test.ts | 3 +++ e2e-tests/e2e-helper.ts | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 e2e-tests/container-strands-bedrock.test.ts diff --git a/e2e-tests/container-strands-bedrock.test.ts b/e2e-tests/container-strands-bedrock.test.ts new file mode 100644 index 00000000..78e32eef --- /dev/null +++ b/e2e-tests/container-strands-bedrock.test.ts @@ -0,0 +1,3 @@ +import { createE2ESuite } from './e2e-helper.js'; + +createE2ESuite({ framework: 'Strands', modelProvider: 'Bedrock', build: 'Container' }); diff --git a/e2e-tests/e2e-helper.ts b/e2e-tests/e2e-helper.ts index 764f9d0f..1df67c62 100644 --- a/e2e-tests/e2e-helper.ts +++ b/e2e-tests/e2e-helper.ts @@ -13,6 +13,7 @@ interface E2EConfig { framework: string; modelProvider: string; requiredEnvVar?: string; + build?: string; } /** @@ -64,6 +65,10 @@ export function createE2ESuite(cfg: E2EConfig) { '--json', ]; + if (cfg.build) { + createArgs.push('--build', cfg.build); + } + // Pass API key so the credential is registered in the project and .env.local const apiKey = cfg.requiredEnvVar ? process.env[cfg.requiredEnvVar] : undefined; if (apiKey) {