Repository navigation
chore(deploy): run factory v0.5.0 on the AWS kit - #280
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gusfcarvalho
approved these changes
Nov 25, 2026
gusfcarvalho
left a comment
Contributor
There was a problem hiding this comment.
ccf-review: APPROVE
no findings.
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.
Task: none — deploys v0.5.0 to the AWS dispatcher
Changes
deploy/aws/instance.tf,aws_ssm_parameter.image: pinghcr.io/containersolutions/factory@sha256:029131f6de9b4d9582e15f254e1aca0b4302ad76256a9596c3519d6b4ef62d07and set the version comment to# factory v0.5.0. That is the OCI image index digest ofghcr.io/containersolutions/factory:v0.5.0(linux/amd64 + linux/arm64, so the t4g instance gets its arm64 image; labelsorg.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 withcrane digestandcrane config --platform linux/arm64.Nothing else in
deploy/awsnames the old release or digest.What v0.5.0 changes for this kit
servelost one flag,--anti-affinity-wait(feat(scheduler)!: remove the anti-affinity row; harness choice belongs to the catalog #279). The kit never passed it (/factory/prod/argsandfactory-rundon't), so the args parameter needs no change.git diff v0.4.0 v0.5.0 -- internal/storeis empty.Expected plan after merge
aws_ssm_parameter.image: updated in place. Nothing else from this PR.user_data. Follow README §9, Switching from the bucket (once), for that apply (the optional state copy and redelivering webhooks).Deploy (README §9)
If #278 is already applied:
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
tofujob, indeploy/aws, OpenTofu v1.13.9)tofu fmt -checktofu init -backend=false -input=false.terraform.lock.hclunchangedtofu validateSuccess! The configuration is valid.tofu testSuccess! 15 passed, 0 failed.🤖 Generated with Claude Code