Skip to content

Conversation

@jeffwidman
Copy link
Member

@jeffwidman jeffwidman commented Apr 12, 2025

Rather than inheriting the version of RubyGems bundled with Ruby, let's explicitly match the version of RubyGems specified in Dockerfile.update-core:

  • This matches the rest of our prod/CI systems... so it feels a bit safer.
  • It's more flexible because it lets us decouple the RubyGems version from the Ruby version.

I think this is a good idea overall, but the specific need for this arose because the --attestations flag was only recently added to the gem push command. So we need this for my recently merged Sigstore attestations PR:

Luckily, @deivid-rodriguez already put in the effort to update the RubyGems version, so we just need to wire that up into this workflow as well:

Until this PR is merged, we cannot publish our gems.

@jeffwidman jeffwidman requested a review from a team as a code owner April 12, 2025 04:45
@jeffwidman jeffwidman mentioned this pull request Apr 12, 2025
…pdater-core`

Rather than inheriting the version of RubyGems bundled with Ruby, let's
explicitly match the version of RubyGems specified in
`Dockerfile.update-core`, as this is what the rest of our prod/CI
systems are using. So this feels a bit safer.

It's also more flexible because it lets us explicitly manage the version
of RubyGems.

I think this is a good idea overall, but the specific need for this
arose because the `--attestations` flag was only recently added to the
`gem push` command. So we need a newer version of RubyGems than is
bundled with the version of Ruby currently used by this repo (3.3). It
turns out that we already use a newer version, so we just need to wire
that up into this workflow as well.
@jeffwidman jeffwidman force-pushed the match-the-rubygems-version-to-the-rest-of-the-codebase branch from c678e3c to fc54620 Compare April 12, 2025 16:47
@jeffwidman jeffwidman merged commit cd9b208 into main Apr 12, 2025
63 checks passed
@jeffwidman jeffwidman deleted the match-the-rubygems-version-to-the-rest-of-the-codebase branch April 12, 2025 16:58
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