Skip to content

GitLab CI template is outdated (Node.js 12, Yarn, old DB versions) #10

Description

@ryudoawaru

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+

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions