Loading
fix: #3634684 Fix Tugboat preview setup on 9.x
Fixes the Cloud 9.x Tugboat preview setup:
- Use Debian's Node.js 20 and npm packages for Cloud Dashboard; remove the unused Yarn package and the NodeSource setup script.
- Use the Drupal 11.4 / PHP 8.4 Tugboat image required by Cloud 9.x.
- Install the contrib modules enabled in the preview: Simple OAuth, Entity Export CSV, and Geocoder.
- Correct the OpenStack and VMware configuration routes so both modules can be enabled.
- Update Drupal core from the image lock file alongside Cloud, without disabling Composer advisory checks.
- Preserve the MR commit when Composer refreshes the Cloud VCS package.
- Avoid compiling optional PHP extensions and use Drupal's default cache instead of optional Memcached in the preview.
- Install SQLite at an absolute path outside the public document root, restore file ownership after Drush, assert that no database remains in
sites/default/files, and verify/user/loginover HTTP during the build.
Validation:
- YAML parsing and
git diff --checkpass. - The Tugboat log for the previous commit
43be07ec3showed the required modules, Drupal core 11.4.5 to 11.4.11, the Vite build, and a successful HTTP request to/user/login. That preview exposed its SQLite database over HTTP, so commita91c1a4e2moves it outside the web root. The latest Tugboat rebuild is ready; its log confirms the database exists outside the document root and no database remains insites/default/files. External requests to/and/user/loginreturn HTTP 200, while both tested database paths return HTTP 404. - MR pipeline #1026699 passed all jobs, including both PHPunit suites.
Co-authored-by: Yas Naoi 45549-yas@users.noreply.drupalcode.org
Closes #3634684
Edited by AI Yas