Skip to content

ci: stop patching the deployments repo from the CD workflow#1952

Merged
storopoli merged 1 commit into
mainfrom
ci/remove-deployments-helm-patch
Jun 8, 2026
Merged

ci: stop patching the deployments repo from the CD workflow#1952
storopoli merged 1 commit into
mainfrom
ci/remove-deployments-helm-patch

Conversation

@alexhui01
Copy link
Copy Markdown
Contributor

Summary

Removes the cross-repo write coupling where the alpen CD workflow patched the deployments repo.

cd.yml's update-helm-values job cloned alpenlabs/deployments, rewrote image tags + the SP1 VK with yq/sed, and committed/pushed back to a deployments branch (BRANCH_OF_DEPLOYMENT_REPO) using the DEPLOYMENTS_REPO_WRITE deploy key. Image-tag promotion is handled out of band now, so this job is removed.

Changes

  • Delete the update-helm-values job (clone deployments → yq/sed tag rewrite → commit/push).
  • Drop the now-dead wiring that existed only to feed it:
    • the build-and-push job outputs block (program, sp1_value),
    • the Extract SP1 Value step,
    • the host-side strata-datatool build + gen-checkpoint-predicate extraction inside the build step (its output was only consumed by the Helm patch; the prover image build uses --build-arg PROVER_FEATURES=sp1, not the SP1 value).
  • Update the header comment.

The workflow now only builds and pushes the Docker image to ECR. Net: +2 / −104 lines, valid YAML, single remaining job build-and-push.

Follow-ups (not in this PR)

  • The DEPLOYMENTS_REPO_WRITE secret and the BRANCH_OF_DEPLOYMENT_REPO / CLUSTER_NAME / GH_ACTIONS_USER_NAME repo vars are now unused and can be revoked/cleaned up in repo settings.

Remove the update-helm-values job, which cloned alpenlabs/deployments,
rewrote image tags/SP1 VK with yq/sed, and committed+pushed back to a
deployments branch. Image tag promotion is handled out of band, so this
cross-repo write coupling (and its DEPLOYMENTS_REPO_WRITE deploy key) is
no longer wanted.

Also drop the now-dead wiring that only fed that job: the build-and-push
job outputs block, the Extract SP1 Value step, and the host-side datatool
build + checkpoint-predicate extraction. The workflow now only builds and
pushes the Docker image to ECR.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 8, 2026

Commit: 3d360a7

SP1 Execution Results

program cycles gas
EVM EE Chunk 824,732 969,395
EVM EE Account 404,056 498,593
Checkpoint 2,601,525 3,007,269

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.42%. Comparing base (81d4e77) to head (52c9e1b).

@@            Coverage Diff             @@
##             main    #1952      +/-   ##
==========================================
- Coverage   84.46%   84.42%   -0.04%     
==========================================
  Files         637      637              
  Lines       76670    76670              
==========================================
- Hits        64757    64728      -29     
- Misses      11913    11942      +29     
Flag Coverage Δ
functional 66.36% <ø> (-0.08%) ⬇️
unit 69.76% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 6 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Member

@storopoli storopoli left a comment

Choose a reason for hiding this comment

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

ACK 52c9e1b

@storopoli storopoli added this pull request to the merge queue Jun 8, 2026
Merged via the queue into main with commit cc0824d Jun 8, 2026
33 checks passed
@storopoli storopoli deleted the ci/remove-deployments-helm-patch branch June 8, 2026 14:04
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.

2 participants