Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Remove CI builder #13965

Merged
merged 1 commit into from
Jan 31, 2025
Merged

ci: Remove CI builder #13965

merged 1 commit into from
Jan 31, 2025

Conversation

mslipper
Copy link
Collaborator

@mslipper mslipper commented Jan 24, 2025

We were using both Docker-based CI builder images as well as self-hosted runner images with software preinstalled. This was causing discrepancies between software versions when things were updated. Furthermore, changing mise.toml required a manual rebuild of the CI builder image for changes to take effect.

This PR updates the CI pipeline to use Mise to install all tool necessary to run the monorepo. Preinstalled tools have been removed from the self-hosted runners, and all Docker images in the pipeline have been replaced with a simple cimg/base image. Data is cached to minimize installation time between runs.

This PR has been tested with self-hosted images that have had the majority of pre-installed tools removed. To make the pipeline work while this PR is reviewed, I've put those tools back. When this is ready to merge I'll uninstall them again. Note that this PR will require a rebase of all open PRs.

@mslipper mslipper force-pushed the feat/remove-ci-builder branch from 65ed7a6 to 7901124 Compare January 24, 2025 04:39
.circleci/config.yml Outdated Show resolved Hide resolved
@mslipper mslipper force-pushed the feat/remove-ci-builder branch from ca4f04f to a347a67 Compare January 30, 2025 22:59
Copy link

codecov bot commented Jan 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 46.27%. Comparing base (c38ebfc) to head (551d012).
Report is 2 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #13965      +/-   ##
===========================================
- Coverage    46.37%   46.27%   -0.11%     
===========================================
  Files          994      994              
  Lines        83950    83950              
===========================================
- Hits         38936    38847      -89     
- Misses       42069    42170     +101     
+ Partials      2945     2933      -12     
Flag Coverage Δ
cannon-go-tests-32 61.99% <ø> (-2.02%) ⬇️
cannon-go-tests-64 56.62% <ø> (-1.66%) ⬇️
contracts-bedrock-tests 94.44% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 14 files with indirect coverage changes

@mslipper mslipper force-pushed the feat/remove-ci-builder branch from 458b4e8 to 2acfa7f Compare January 31, 2025 07:17
@mslipper mslipper marked this pull request as ready for review January 31, 2025 07:18
@mslipper mslipper requested review from a team as code owners January 31, 2025 07:18
@mslipper mslipper requested review from clabby and Inphi January 31, 2025 07:18
We were using both Docker-based CI builder images as well as self-hosted runner images with software preinstalled. This was causing discrepancies between software versions when things were updated. Furthermore, changing `mise.toml` required a manual rebuild of the CI builder image for changes to take effect.

This PR updates the CI pipeline to use Mise to install all tool necessary to run the monorepo. Preinstalled tools have been removed from the self-hosted runners, and all Docker images in the pipeline have been replaced with a simple `cimg/base` image.
@mslipper mslipper force-pushed the feat/remove-ci-builder branch from 2acfa7f to 551d012 Compare January 31, 2025 07:23
Copy link
Contributor

@ajsutton ajsutton left a comment

Choose a reason for hiding this comment

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

LGTM.

.circleci/config.yml Show resolved Hide resolved
@mslipper mslipper added this pull request to the merge queue Jan 31, 2025
Merged via the queue into develop with commit 070375d Jan 31, 2025
45 checks passed
@mslipper mslipper deleted the feat/remove-ci-builder branch January 31, 2025 16:12
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