Islandora-Devops / islandora-playbook

Ansible playbook for building Islandora
MIT License
31 stars 53 forks source link

Update PHP, Drupal, Drush, Composer for Composer 2 support #193

Closed alxp closed 4 years ago

alxp commented 4 years ago

GitHub Issue: (link)

Composer issue when running "vagrant up" #1663

What does this Pull Request do?

Vagrant / Ansible installation was failing due to composer being updated to version 2.0 in the Ubuntu base install.

Bumping version of composer packages revealed incompatibilities that needed to also be updated, including PHP to 7.4, Drush to 10.x, and Drupal Core to 8.9, which I did by changing the Drupal composer project to the officially-supported drupal/recommended-project.

What's new?

No

Just updates

No

None of these changes should affect Islandora behaviour, however, I observed the Ansible build step of installing packages via composer is significantly faster.

How should this be tested?

Crayfish PR has been merged so edited out no-longer-needed testing steps

  1. Initiate a build of the playbook via vagrant up. (Thus, you must set the environment variable ISLANDORA_DISTRO=ubuntu/bionic64)
  2. Observe the automated test results
  3. Go through the process of creating nodes and media and ensure that everything works as expected.

Interested parties

@Islandora-Devops/committers

ruebot commented 4 years ago

Should this also be updated to remi-php74? https://github.com/Islandora-Devops/islandora-playbook/blob/7cd01da9c30377fb1f278598ba04fedd77e18f7d/inventory/vagrant/group_vars/all/main.yml#L40