Add Tugboat preview support for automated testing and review

Created on 10 May 2025, 2 months ago

Problem/Motivation

Currently, testing patches and merge requests requires manual setup of a test environment, which can be time-consuming and creates barriers for contribution. This makes it harder for contributors to test changes and for maintainers to review submissions efficiently.
Tugboat previews would:

  • Automatically create preview environments for each patch/MR
  • Allow reviewers to test changes in a live environment without local setup
  • Improve the contribution process by reducing friction for testing
  • Enable visual regression testing where applicable
  • Help catch issues earlier in the development cycle

Proposed resolution

Add the necessary configuration files to enable Tugboat preview integration:

  1. Create a .tugboat/config.yml file with appropriate configuration
  2. Configure the build steps needed for the module
  3. Set up any required dependencies or test data
  4. Document the Tugboat integration in the module's README or documentation

Full instructions for adding Tugboat previews to contributed modules are available at:
https://www.drupal.org/docs/develop/git/using-git-to-contribute-to-drupa...

Remaining tasks

  • Create .tugboat/config.yml configuration file
  • Test Tugboat integration
  • Update documentation to mention Tugboat preview availability
  • Add information about using previews to CONTRIBUTING.md (if exists)
Feature request
Status

Active

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom the_g_bomb

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024