Conversation
jamesray
force-pushed
the
jamesray/mission-buildspec-automation
branch
from
August 27, 2026 23:17
f1ad238 to
030581e
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the CodeBuild buildspec.yml to generalize Docker image builds/deploys for the processing Lambda across missions by deriving mission context from the CodeBuild project name, selecting the corresponding base image/ECR repo, and triggering the mission-specific pipeline architecture project with an immutable image tag.
Changes:
- Skip image push/deploy entirely for PR webhook builds.
- Derive
MISSION_NAMEfrom the CodeBuild project name (with env override support) and select mission-specific ECR repo/base image/requirements file. - Trigger the corresponding
build_${MISSION_NAME}_sdc_aws_pipeline_architectureproject inus-east-1withCDK_ENVIRONMENT,MISSION_NAME,LAMBDA_PIPELINE, and an immutableTAG.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
jamesray
force-pushed
the
jamesray/mission-buildspec-automation
branch
from
September 1, 2026 08:57
d0b0f9e to
ae0464d
Compare
Alrobbertz
approved these changes
Sep 1, 2026
Alrobbertz
previously approved these changes
Sep 1, 2026
jamesray
added a commit
that referenced
this pull request
Sep 9, 2026
Classify main, tag, and pull-request builds from CodeBuild metadata, publish an immutable image tag alongside latest, refuse to deploy from anything but main or a release tag, and hand off to the mission's architecture project with MISSION, CDK_ENVIRONMENT, LAMBDA_PIPELINE, and the exact tag just pushed. Buildspec only; the workflow and doc edits from #13 are left out. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
jamesray
added a commit
that referenced
this pull request
Sep 9, 2026
Classify main, tag, and pull-request builds from CodeBuild metadata, publish an immutable image tag alongside latest, refuse to deploy from anything but main or a release tag, and hand off to the mission's architecture project with MISSION, CDK_ENVIRONMENT, LAMBDA_PIPELINE, and the exact tag just pushed. Buildspec only; the workflow and doc edits from #13 are left out. Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This makes processing image builds derive the mission from the CodeBuild project, use the right mission ECR/base image, and trigger the actual us-east-1 architecture project with the immutable image tag.
Rebased onto the latest main and pairs with swxsoc/sdc_aws_architecture#36.