This repository was archived by the owner on Jun 23, 2026. It is now read-only.
chore(ci): publish to Velocity ECR via OIDC, drop kubectl rollout - #45
Merged
Conversation
…mainnet-beta.yml)
- master.yml / mainnet-beta.yml restored to the old drift deploy flow (old infra keeps deploying until decommission) - new velocity-publish.yml: pushing a vX.Y.Z tag publishes that exact, immutable version to Velocity ECR (prod copy gated until the prod account exists). Deploy = bump the gitops pin in infrastructure-v3. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
What
Switches this repo's image-publish CI to the Velocity account's ECR publish role (assumed via GitHub OIDC) and removes the in-CI
kubectl rollout restartdeploy step.Changes (
master.yml+mainnet-beta.yml)master.yml→role-to-assume: ${{ vars.VELOCITY_NON_PROD_ECR_PUBLISH_ROLE }}mainnet-beta.yml→role-to-assume: ${{ vars.VELOCITY_PROD_ECR_PUBLISH_ROLE }}deployjob (kubectlrollout restart). Rollouts are now handled by ArgoCD Image Updater, which watches the new image tags.Why
Part of the AWS account migration to the Velocity org. The new accounts expose a dedicated
VelocityEcrPublishRole(scoped to image push only) that CI assumes directly via OIDC. Deployment is GitOps now, so CI no longer needs cluster (kubectl) access.Required org/repo Actions variables
VELOCITY_NON_PROD_ECR_PUBLISH_ROLE=arn:aws:iam::725652782496:role/VelocityEcrPublishRoleVELOCITY_PROD_ECR_PUBLISH_ROLE=arn:aws:iam::039438368040:role/VelocityEcrPublishRole🤖 Generated with Claude Code