Skip to content

Restore executor image auto-deploy - #31

Merged
jamesray merged 8 commits into
mainfrom
jamesray/restore-image-auto-deploy
Sep 9, 2026
Merged

jamesray merged 8 commits into
mainfrom
jamesray/restore-image-auto-deploy

Conversation

@jamesray

@jamesray jamesray commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

Small one: after the executor image is pushed, kick off the architecture build with the immutable image tag so Terraform can update the Lambda again.

Update: the handoff now targets build_swxsoc_sdc_aws_base_architecture (the dedicated base-root project from swxsoc/sdc_aws_architecture#38) instead of borrowing build_hermes_sdc_aws_pipeline_architecture. Same LAMBDA_PIPELINE=EXECUTOR + TAG contract, just the right project.

Merge after #38 is merged and the CodeBuild adoption plan has been applied, otherwise the start-build call fails on a missing project. Current executor image tag for base planning is 20260824134213.

Checks: buildspec YAML parses, every embedded shell block passes bash -n, git diff --check clean, CodeQL/ruff/build green.

🤖 Generated with Claude Code

Copilot AI lite review requested due to automatic review settings August 27, 2026 23:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Restores the executor pipeline’s ability to automatically trigger the downstream “architecture” CodeBuild job after publishing a new immutable executor image tag, so Terraform/Lambda can be updated based on that tag (pairing with swxsoc/sdc_aws_architecture#35).

Changes:

  • Start the architecture CodeBuild project after pushing the executor image, passing TAG=$VERSION (immutable tag) and LAMBDA_PIPELINE=EXECUTOR.
  • Minor buildspec formatting/indentation cleanup in post_build.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread buildspec.yml Resolved
@jamesray
jamesray requested a review from Alrobbertz August 28, 2026 18:15
@jamesray
jamesray force-pushed the jamesray/restore-image-auto-deploy branch from 579e520 to 3e116ff Compare September 1, 2026 08:57
@jamesray
jamesray force-pushed the jamesray/restore-image-auto-deploy branch from 3e116ff to d73350f Compare September 1, 2026 09:01
Alrobbertz
Alrobbertz previously approved these changes Sep 1, 2026
The base Terraform root now has its own CodeBuild project, so the
executor image build starts build_swxsoc_sdc_aws_base_architecture
instead of borrowing the HERMES pipeline architecture project.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@jamesray
jamesray merged commit 72e577e into main Sep 9, 2026
7 checks passed
@Alrobbertz
Alrobbertz deleted the jamesray/restore-image-auto-deploy branch September 9, 2026 19:00
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.

3 participants