Problem
templates/gitlab-ci.yml.erb has several outdated references:
- Node.js 12.13.1 and Yarn installation for non-API apps — Rails 8+ uses importmap by default, no Node/Yarn needed
- yarn-audit job — irrelevant for importmap-based apps
- yarn.lock cache — no longer applicable
- BUNDLER_VERSION: 2.2.26 — very outdated
- postgres:12-alpine — should be updated (e.g. 16 or 17)
- mysql:5.7 — should be updated (e.g. 8.0+)
Location
templates/gitlab-ci.yml.erb
Fix
- Remove Node.js/Yarn related steps and jobs for importmap-based apps
- Update database service image versions
- Update or remove the hardcoded BUNDLER_VERSION
Affected versions
Rails 7.1+
Problem
templates/gitlab-ci.yml.erbhas several outdated references:Location
templates/gitlab-ci.yml.erbFix
Affected versions
Rails 7.1+