Skip to content

ci: wait for the build images of a release before running its integration tests - #9342

Merged
roger-zhangg merged 3 commits into
developfrom
ci/wait-for-build-images
Oct 16, 2026
Merged

roger-zhangg merged 3 commits into
developfrom
ci/wait-for-build-images

Conversation

@roger-zhangg

@roger-zhangg roger-zhangg commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Which issue(s) does this change fix?

aws/aws-sam-build-images#208

Why is this change necessary?

Build images for a release are published at the same time the release integration tests start, so container build tests run against the previous release's images. A broken build image (aws/aws-sam-build-images#208) passed the release tests this way.

How does it address the issue?

Adds a wait-for-build-images job that all integration test jobs depend on. For latest-release runs, tests/wait_for_build_images.py polls Public ECR every minute until each build image published for the previous release has a <version>-<arch> tag that latest-<arch> points to. It uses the existing Public ECR login password, which is now get_ecr_public_password() in tests/setup_testing_resources.py.

Test runs:

What side effects does this change have?

Release integration tests start after the build images are published, or fail after 120 minutes if they aren't. Other triggers skip the wait job.

Mandatory Checklist

PRs will only be reviewed after checklist is complete

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@roger-zhangg
roger-zhangg marked this pull request as ready for review October 14, 2026 23:31
@roger-zhangg
roger-zhangg requested a review from a team as a code owner October 14, 2026 23:31
@roger-zhangg
roger-zhangg merged commit 50cd280 into develop Oct 16, 2026
103 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants