Skip to content

chore(deploy): run factory v0.5.0 on the AWS kit - #280

Merged
gusfcarvalho merged 1 commit into
mainfrom
fx/aws-factory-v0.5.0
Nov 25, 2026
Merged

gusfcarvalho merged 1 commit into
mainfrom
fx/aws-factory-v0.5.0

Conversation

@ccf-lisa

@ccf-lisa ccf-lisa Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Task: none — deploys v0.5.0 to the AWS dispatcher

Changes

  1. deploy/aws/instance.tf, aws_ssm_parameter.image: pin ghcr.io/containersolutions/factory@sha256:029131f6de9b4d9582e15f254e1aca0b4302ad76256a9596c3519d6b4ef62d07 and set the version comment to # factory v0.5.0. That is the OCI image index digest of ghcr.io/containersolutions/factory:v0.5.0 (linux/amd64 + linux/arm64, so the t4g instance gets its arm64 image; labels org.opencontainers.image.version=v0.5.0, org.opencontainers.image.revision=3e4cb5afc0770f30629ffe43670462a67235ed48, the tag's commit), the same kind of pin as the v0.4.0 one it replaces. Checked with crane digest and crane config --platform linux/arm64.

Nothing else in deploy/aws names the old release or digest.

What v0.5.0 changes for this kit

Expected plan after merge

Deploy (README §9)

If #278 is already applied:

tofu apply -var aws_account_id=$ACCOUNT
aws ssm send-command --instance-ids "$(tofu output -raw instance_id)" \
  --document-name AWS-RunShellScript --parameters 'commands=["systemctl restart factory"]'

Then redeliver any webhooks from the restart window. If #278 isn't applied yet, the replaced instance starts on v0.5.0 directly: no restart needed, just the §9 switch steps.

Rollback

Restoring the v0.4.0 pin (sha256:c0391f3aa421073920a68474eda531bea0896e5f40920b8b03ae37f8302df54c) and restarting is safe: no store change between the two.

Verification (CI's tofu job, in deploy/aws, OpenTofu v1.13.9)

Command Result
tofu fmt -check exit 0
tofu init -backend=false -input=false exit 0; .terraform.lock.hcl unchanged
tofu validate Success! The configuration is valid.
tofu test Success! 15 passed, 0 failed.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@gusfcarvalho gusfcarvalho left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ccf-review: APPROVE

no findings.

@gusfcarvalho
gusfcarvalho merged commit dea7d6d into main Nov 25, 2026
9 checks passed
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.

1 participant