Skip to content

CCINFRA-13282 - Pin Ruby jobs to ubuntu-24.04 for the Ubuntu 26.04 migration - #16

Closed
dantech2000 wants to merge 2 commits into
mainfrom
CCINFRA-13282-pin-ubuntu-24.04
Closed

dantech2000 wants to merge 2 commits into
mainfrom
CCINFRA-13282-pin-ubuntu-24.04

Conversation

@dantech2000

@dantech2000 dantech2000 commented Oct 30, 2026 •

Copy link
Copy Markdown

Why: GitHub moves ubuntu-latest to Ubuntu 26.04 between 2026-10-19 and 2026-11-19. The repo's Ruby 2.7.1 through ruby/setup-ruby@v1 may have no 26.04 build, and older ruby/setup-ruby versions fail on 26.04. This PR pins the Ruby jobs to ubuntu-24.04 so they keep working until a Ruby and ruby/setup-ruby upgrade 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-on line carries the comment # CCINFRA-13282: Ubuntu 26.04 breaks Ruby 2.7.1; remove in Phase 5.

File:line Job
.github/workflows/lint.yaml:11 lint

Testing: lint runs 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.

Action Old ref New ref
actions/checkout v3 a37ce9120846195fa4ece8f58b268e6043cb2f26 # v3.7.0
ruby/setup-ruby v1 de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0

@dantech2000

Copy link
Copy Markdown
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.

@dantech2000
dantech2000 deleted the CCINFRA-13282-pin-ubuntu-24.04 branch October 30, 2026 22:50
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.

1 participant