Run CI in prebuilt images #24

Merged
marfavi merged 2 commits from ci/custom-images into main 2026-10-14 13:35:06 +02:00
Owner

Both workflows now run in the custom crocq-ci-extension / crocq-ci-grammar images built from the sibling forgejo-runner repo, so the per-run toolchain install steps are gone. The extension image also carries clightgen (CompCert 3.17) and a pinned VsRocq .vsix for the end-to-end tests.

Both workflows now run in the custom `crocq-ci-extension` / `crocq-ci-grammar` images built from the sibling `forgejo-runner` repo, so the per-run toolchain install steps are gone. The extension image also carries `clightgen` (CompCert 3.17) and a pinned VsRocq `.vsix` for the end-to-end tests.
ci: run both workflows in prebuilt images
All checks were successful
Grammar / Corpus and binding tests (pull_request) Successful in 54s
Extension / Format, types, lint, extension tests (pull_request) Successful in 1m19s
1b73d99bc8
Bake the toolchains into images built from the sibling forgejo-runner
repo (crocq-ci-extension, crocq-ci-grammar) and drop the per-run
"Install native build toolchain" apt steps. The extension image also
carries clightgen (CompCert 3.17) and a pinned VsRocq .vsix for the
end-to-end tests.
ci: bake node_modules and the test VS Code into the image
All checks were successful
Extension / Format, types, lint, extension tests (pull_request) Successful in 22s
Grammar / Corpus and binding tests (pull_request) Successful in 48s
1fdbb97dd0
npm ci (~30s) and the VS Code download for the extension-host tests (~20s)
dominated the workflow, so the extension image now pre-installs both and the
job reuses them instead of installing and downloading.

The baked tree is never trusted blindly: extension/scripts/deps-digest.mjs
fingerprints all of the dependency inputs (both lockfiles, .npmrc, the build
scripts and the grammar sources, which install-links copies into
node_modules), and the job reinstalls whenever the digest no longer matches.
setup-node goes away too - the image already has Node 24.
marfavi force-pushed ci/custom-images from 1fdbb97dd0
All checks were successful
Extension / Format, types, lint, extension tests (pull_request) Successful in 22s
Grammar / Corpus and binding tests (pull_request) Successful in 48s
to 1b73d99bc8
All checks were successful
Grammar / Corpus and binding tests (pull_request) Successful in 54s
Extension / Format, types, lint, extension tests (pull_request) Successful in 1m19s
2026-10-14 10:27:05 +02:00
Compare
Merge branch 'main' into ci/custom-images
All checks were successful
Grammar / Corpus and binding tests (pull_request) Successful in 37s
Extension / Format, types, lint, extension tests (pull_request) Successful in 1m21s
3987d70b5b
Author
Owner

let's wait until CI fails on future E2E tests

let's wait until CI fails on future E2E tests
marfavi self-assigned this 2026-10-14 13:31:19 +02:00
marfavi changed title from WIP: Run CI in prebuilt images to Run CI in prebuilt images 2026-10-14 13:33:15 +02:00
michael approved these changes 2026-10-14 13:33:59 +02:00
marfavi deleted branch ci/custom-images 2026-10-14 13:35:06 +02:00
marfavi referenced this pull request from a commit 2026-10-14 13:35:07 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
code2rocq/crocq!24
No description provided.