NCIOCPL / cgov-digital-platform

The Cancer.gov Digital Communications Platform
GNU General Public License v2.0
11 stars 33 forks source link

Upgrade to next Drupal 10.x version #4506

Open bryanpizzillo opened 6 days ago

bryanpizzillo commented 6 days ago

This is probably going to be 10.3.x as Drupal 10.4.x won't be out until mid-Dec. This should follow the steps in Updating Drupal Core.

Additional Tasks

bryanpizzillo commented 6 days ago

Upgrade Notes

Steps performed

Pre-steps:

  1. composer cgov-clean && composer install
  2. [Inside Container] blt cgov:reinstall --no-interaction && npm ci && npm run build:prod
  3. [Inside Container] drush features:list:packages
    • There were no changes
  4. composer require 'drupal/features:^3.14'
  5. [Inside Container] drush updb
  6. [Inside Container] drush features:list:packages
    • There were no changes

Upgrade Steps:

  1. Removed fixed packages from composer.json
  2. Changed failed patches in composer.json
    • 1308152 - Changed to https://www.drupal.org/files/issues/2024-06-24/1308152.patch
    • 2971390 -- ?????????
  3. composer require 'drupal/samlauth:^3.10'
  4. composer require drupal/core-composer-scaffold:~10.3.8 drupal/core-recommended:~10.3.8 --update-with-dependencies --no-update
  5. composer require drupal/core-dev:~10.3.8 --dev --update-with-dependencies --no-update
  6. composer update
bryanpizzillo commented 6 days ago

allow-plugins requests