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

Split ruby and gems versions as a CI cache key #5005

Merged
merged 1 commit into from
Apr 4, 2023

Conversation

elia
Copy link
Member

@elia elia commented Apr 4, 2023

Summary

Since the ruby version is way more integral to the installation and should not be conflated with gem versions that are easy to upgrade.

The lack of this difference generated a situation in which a patch level ruby update ended up restoring a cache for the previous version.

E.G. see https://app.circleci.com/pipelines/github/solidusio/solidus/4199/workflows/81285fc7-0bc6-4709-9389-e60027f0d0c6/jobs/40237 on #4999

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

The following are not always needed:

  • 📖 I have updated the README to account for my changes.
  • 📑 I have documented new code with YARD.
  • 🛣️ I have opened a PR to update the guides.
  • ✅ I have added automated tests to cover my changes.
  • 📸 I have attached screenshots to demo visual changes.

Since the ruby version is way more integral to the installation and
should not be conflated with gem versions that are easy to upgrade.

The lack of this difference generated a situation in which a patch
level ruby update ended up restoring a cache for the previous version.
@codecov
Copy link

codecov bot commented Apr 4, 2023

Codecov Report

Merging #5005 (d6c1219) into master (b6f883e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #5005   +/-   ##
=======================================
  Coverage   86.67%   86.67%           
=======================================
  Files         580      580           
  Lines       14727    14727           
=======================================
  Hits        12764    12764           
  Misses       1963     1963           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@elia elia marked this pull request as ready for review April 4, 2023 11:55
@elia elia requested a review from a team as a code owner April 4, 2023 11:55
Copy link
Contributor

@rainerdema rainerdema left a comment

Choose a reason for hiding this comment

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

Thanks @elia! 👏

@elia
Copy link
Member Author

elia commented Apr 4, 2023

Forcing a merge to fix the CI

@elia elia merged commit 4259562 into master Apr 4, 2023
@elia elia deleted the elia/tools-versions-cache-key branch April 4, 2023 12:11
@elia elia added the changelog:skip Changes that we don't want to be listed in the Changelog label Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:skip Changes that we don't want to be listed in the Changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants