Skip to content

feat: add integration test - #3

Merged
maxday merged 10 commits into
mainfrom
maxday/integration-test
Nov 19, 2026
Merged

maxday merged 10 commits into
mainfrom
maxday/integration-test

Conversation

@maxday

@maxday maxday commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Folds an end-to-end integration test into the Build runtime image workflow so each build-<arch> job now runs build → smoke/security test → integration test → push, and the runtime-image push only happens if the test passes.

The test layers a hello-world handler onto the image just built, pushes it to a throwaway integ ECR repo, deploys it as a real container Lambda, invokes it via the SDK and asserts a 200, then deletes the function and image (if: always()). It runs on push and same-repo PRs (fork PRs are skipped), with resources uniquely named per arch and run.

Requires repo secrets AWS_INTEGRATION_ROLE_ARN, AWS_LAMBDA_EXEC_ROLE_ARN, and INTEG_ECR_REPOSITORY (the AWS side is codified in LambdaRuntimesOpenSourceInfraCDK). Note: this is stacked on svozza/runtime-image, and the temporary svozza/runtime-image entries in the branch triggers should be reverted before merging to main.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@maxday
maxday changed the base branch from main to svozza/runtime-image November 18, 2026 18:38
@maxday
maxday requested a review from svozza as a code owner November 18, 2026 18:38
svozza
svozza previously approved these changes Nov 19, 2026
@maxday
maxday changed the base branch from svozza/runtime-image to main November 19, 2026 19:54
@maxday
maxday dismissed svozza’s stale review November 19, 2026 19:54

The base branch was changed.

@maxday
maxday requested a review from svozza November 19, 2026 22:05
@maxday
maxday merged commit 4ac95ea into main Nov 19, 2026
6 checks passed
@maxday
maxday deleted the maxday/integration-test branch November 19, 2026 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants