Main website
Government Drupal Developers NetworkCommunity
Resource library
Tool

Upgrade Status + Drupal Rector in CI

Fail the build when deprecated APIs creep in, so major upgrades become a non-event.

4
DO
Daniel Ortiz

General Services Administration · 30 Aug 2026

Open drupal.org(opens in a new tab)
# .gitlab-ci.yml
deprecations:
  script:
    - composer require --dev drupal/upgrade_status palantirnet/drupal-rector
    - drush upgrade_status:analyze --all --ignore-contrib
    - vendor/bin/rector process web/modules/custom --dry-run

Join GDDN to upvote and share your own resources.