Skip to content

Changes needed to install Drupal 10 #269

@RodBruce

Description

@RodBruce

I had to make a few changes in order to get the playbook to do a clean install of Drupal 10:

  1. Update: vars/starter.yml to use a newer version of the Starter Site:
diff ~/tmp/islandora-playbook/vars/starter.yml vars/starter.yml
8c8
< drupal_composer_project_package: 'islandora/islandora-starter-site:~0.7'
---
> drupal_composer_project_package: 'islandora/islandora-starter-site:~1.2'
  1. The way Drush gets installed and used with Drupal 10 is different. We no longer need the geerlingguy.drush role in requirements.yml
diff ~/tmp/islandora-playbook/requirements.yml requirements.yml
39,42d38
< 
< - src: geerlingguy.drush
<   version: 3.1.1
< 

and we no longer need to include it in webserver.yml

diff ~/tmp/islandora-playbook/webserver.yml webserver.yml
24,25d23
<     - name: geerlingguy.drush  # Include drush as drupal-openseadragon needs it.
<       when: islandora_build_base_box|bool == False
  1. The geerlingguy.drupal role has not been updated for Drupal 10. The version we are loading (4.3.0) is the latest version on the ansible galaxy website (https://galaxy.ansible.com/ui/standalone/roles/geerlingguy/drupal/). So, after running ansible-galaxy install to pull in the requirements I needed to change the drush version in roles/external/geerlingguy.drupal/defaults/main.yml from 10.1 to 12.
diff ~/tmp/islandora-playbook/roles/external/geerlingguy.drupal/defaults/main.yml roles/external/geerlingguy.drupal/defaults/main.yml 
28c28
<   - "drush/drush:^10.1"
---
>   - "drush/drush:^12"

Would it make sense to fork that role, update it and move it to an internal role until it is updated on the galaxy site?

Thanks

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions