Skip to content

ci: use compact arm release#826

Merged
gilescope merged 27 commits into
mainfrom
giles-compact-arm
Mar 5, 2026
Merged

ci: use compact arm release#826
gilescope merged 27 commits into
mainfrom
giles-compact-arm

Conversation

@gilescope

@gilescope gilescope commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Remove all QEMU emulation from CI — compactc now ships ARM64 binaries, and aiken is built from source via cargo install, so no x86 emulation is needed on ARM64 runners
  • Consolidate tools into CI image — compactc, aiken, gh CLI, and contract precompilation all happen inside node-ci-image-single-platform, eliminating separate workflow and per-target installs
  • Auto-version CI image — image tag is now ${RUST_VERSION}-${COMPACTC_VERSION} derived from rust-toolchain.toml and COMPACTC_VERSION file (no more manual rust_version workflow input)
  • Delete build-publish-contract-precompiles-image.yml — the separate x86-only contract precompile image workflow is no longer needed
  • Native ARM64 for toolkit-jstoolkit-js-prep and all consumers (build-test-toolkit, toolkit-image) now build natively instead of forcing --platform=linux/amd64
  • Increases reliability of CI: removed sources where rate limits errored builds.

Changes

Area What changed
Earthfile rebuild-redemption-skeleton uses CI image (was standalone amd64 Amazon Linux + npm aiken). node-ci-image-single-platform gains patch, aiken, compactc, gh CLI, contract precompilation. toolkit-js-prep builds natively. Removed all --platform=linux/amd64 overrides.
.envrc Fixed shellcheck-compliant export pattern for COMPACTC_VERSION and RUST_VERSION
continuous-integration.yml Removed QEMU setup step
main.yml Removed QEMU setup step
build-publish-contract-precompiles.yml Renamed to "Build and publish CI image", auto-derives version, removed manual rust_version input
build-publish-contract-precompiles-image.yml Deleted (consolidated into CI image)

Checklist

  • Go on diet (4.7 Gb base CI image)
  • Get approval
  • Rebuild CI image pointing to branch
  • Point new contract image
  • earthly -P +rebuild-redemption-skeleton passes on ARM64

PR: #826
JIRA: https://shielded.atlassian.net/browse/PM-21000

Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
…t versions of node

Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
@github-actions

github-actions Bot commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

kics-logo

KICS version: v2.1.19

Category Results
CRITICAL CRITICAL 0
HIGH HIGH 0
MEDIUM MEDIUM 47
LOW LOW 3
INFO INFO 59
TRACE TRACE 0
TOTAL TOTAL 109
Metric Values
Files scanned placeholder 26
Files parsed placeholder 26
Files failed to scan placeholder 0
Total executed queries placeholder 73
Queries failed to execute placeholder 0
Execution time placeholder 11

gilescope and others added 9 commits March 2, 2026 07:07
Signed-off-by: Giles Cope <gilescope@gmail.com>
… limits

Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
@gilescope gilescope marked this pull request as ready for review March 4, 2026 12:08
@gilescope gilescope requested a review from a team as a code owner March 4, 2026 12:08
Comment thread .github/workflows/build-publish-contract-precompiles.yml Outdated
Comment thread Earthfile
gilescope and others added 6 commits March 4, 2026 13:04
Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
@gilescope gilescope requested a review from ozgb March 4, 2026 18:33
Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
Comment thread Earthfile
@gilescope gilescope enabled auto-merge March 5, 2026 08:28
@gilescope gilescope disabled auto-merge March 5, 2026 08:29
Co-authored-by: justinfrevert <81839854+justinfrevert@users.noreply.github.com>
@gilescope gilescope enabled auto-merge March 5, 2026 08:30
@gilescope gilescope added this pull request to the merge queue Mar 5, 2026
Merged via the queue into main with commit d31d1d5 Mar 5, 2026
47 checks passed
@gilescope gilescope deleted the giles-compact-arm branch March 5, 2026 11:18
m2ux added a commit that referenced this pull request Apr 23, 2026
…ages (#826)

Signed-off-by: Mike Clay <mike.clay@shielded.io>
m2ux added a commit that referenced this pull request Apr 23, 2026
…ages (#826)

Signed-off-by: Mike Clay <mike.clay@shielded.io>
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