Repository navigation
CCINFRA-13282 - Pin Ruby jobs to ubuntu-24.04 for the Ubuntu 26.04 migration - #16
Closed
dantech2000 wants to merge 2 commits into
Closed
dantech2000 wants to merge 2 commits into
dantech2000 wants to merge 2 commits into
Conversation
Author
|
Closing: this repo is inactive. Its CI was already failing the org full-SHA action-pinning policy before this change, so the Ubuntu 24.04 pin isn't needed here now. CCINFRA-13282. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why: GitHub moves
ubuntu-latestto Ubuntu 26.04 between 2026-10-19 and 2026-11-19. The repo's Ruby 2.7.1 throughruby/setup-ruby@v1may have no 26.04 build, and olderruby/setup-rubyversions fail on 26.04. This PR pins the Ruby jobs toubuntu-24.04so they keep working until a Ruby andruby/setup-rubyupgrade lands as a later fix. Ruby 2.7 is EOL, so the pin stays until the repo moves off Ruby 2.7.What:
Each pinned
runs-online carries the comment# CCINFRA-13282: Ubuntu 26.04 breaks Ruby 2.7.1; remove in Phase 5..github/workflows/lint.yaml:11lintTesting:
lintruns on this PR on ubuntu-24.04.Rollback: Revert this PR.
Ticket: CCINFRA-13282
SHA pinning: Also pins every action to a full commit SHA with pinact (no version changes). Without this, every job fails at Set up job under the org SHA-pinning policy, so CI couldn't run.
actions/checkoutv3a37ce9120846195fa4ece8f58b268e6043cb2f26 # v3.7.0ruby/setup-rubyv1de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0