Building preview: 686497a6469d949162b83b26 (mr31)686497a8469d949162b8440f# sh -c mkdir -p $(dirname /var/lib/tugboat)686497a8469d949162b8440f# git clone git@git.drupal.org:project/brightcove.git /var/lib/tugboatCloning into '/var/lib/tugboat'...
Warning: Permanently added 'git.drupal.org' (ED25519) to the list of known hosts.
686497a8469d949162b8440f# bash -c git -C /var/lib/tugboat remote show origin && git -C /var/lib/tugboat remote set-url origin git@git.drupal.org:project/brightcove.git || git -C /var/lib/tugboat remote add origin git@git.drupal.org:project/brightcove.git* remote origin
  Fetch URL: git@git.drupal.org:project/brightcove.git
  Push  URL: git@git.drupal.org:project/brightcove.git
  HEAD branch: 3.3.x
  Remote branches:
    3.1.x                           tracked
    3.2.x                           tracked
    3.3.x                           tracked
    3.x                             tracked
    6.x-1.x                         tracked
    6.x-2.x                         tracked
    7.x-2.x                         tracked
    7.x-3.x                         tracked
    7.x-4.x                         tracked
    7.x-4.x-playlist                tracked
    7.x-5.x                         tracked
    7.x-6.x                         tracked
    7.x-7.x                         tracked
    8.x-1.x                         tracked
    8.x-1.x-integrate-key-module    tracked
    8.x-2.x                         tracked
    add-gallery                     tracked
    coding-standard-fixes           tracked
    do-7x_thumbnail-image-style     tracked
    do/3186027                      tracked
    do/3245313                      tracked
    do/3246049                      tracked
    issue/3450902                   tracked
    issue/9506                      tracked
    master                          tracked
    playlist-entity                 tracked
    playlist-video-field-separation tracked
    rework-subscriptions            tracked
    video-entity                    tracked
  Local branch configured for 'git pull':
    3.3.x merges with remote 3.3.x
  Local ref configured for 'git push':
    3.3.x pushes to 3.3.x (up to date)
686497a8469d949162b8440f# git -C /var/lib/tugboat fetch --no-recurse-submodules origin 3.3.xFrom git.drupal.org:project/brightcove
 * branch            3.3.x      -> FETCH_HEAD
686497a8469d949162b8440f# git -C /var/lib/tugboat checkout origin/3.3.xNote: switching to 'origin/3.3.x'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at db24b1e Compatibility, phpcs and phpstan fixes for Drupal 11
686497a8469d949162b8440f# git -C /var/lib/tugboat pull --no-edit --rebase=false git@git.drupal.org:issue/brightcove-3533553.git 3533553-add-tugboat-previewsFrom git.drupal.org:issue/brightcove-3533553
 * branch            3533553-add-tugboat-previews -> FETCH_HEAD
Updating db24b1e..f0990ee
Fast-forward
 .tugboat/config.yml | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 .tugboat/config.yml
Running INIT commandsRunning UPDATE commands686497a8469d949162b8440f# /bin/sh -c set -eux
# This is an environment variable we added in the Dockerfile that
# provides the path to Drupal composer root (not the web root).
cd $DRUPAL_COMPOSER_ROOT
# We need to change the minimum stability to dev to use the path
composer config minimum-stability dev
# We configure the Drupal project to use the checkout of the module as a
# Composer package repository.
composer config repositories.tugboat path $TUGBOAT_ROOT
# Now we can require this module
composer require drupal/brightcove
# Install Drupal on the site.
vendor/bin/drush \
  --yes \
  --db-url=mysql://tugboat:tugboat@mysql:3306/tugboat \
  --site-name="Live preview for ${TUGBOAT_PREVIEW_NAME}" \
  --account-pass=admin \
  site:install standard
# Add tugboat URLs to the Drupal trusted host patterns.
echo "\$settings['trusted_host_patterns'] = ['\.tugboatqa\.com\$'];" >> $DOCROOT/sites/default/settings.php
# Set up the files directory permissions.
mkdir -p $DRUPAL_DOCROOT/sites/default/files
chgrp -R www-data $DRUPAL_DOCROOT/sites/default/files
chmod 2775 $DRUPAL_DOCROOT/sites/default/files
chmod -R g+w $DRUPAL_DOCROOT/sites/default/files
# Enable the module.
vendor/bin/drush --yes pm:enable brightcove
+ cd /var/www/drupal
+ composer config minimum-stability dev
+ composer config repositories.tugboat path /var/lib/tugboat
+ composer require drupal/brightcove
./composer.json has been updated
Running composer update drupal/brightcove
Loading composer repositories with package information
Updating dependencies
Lock file operations: 6 installs, 0 updates, 0 removals
  - Locking brightcove/api (2.2)
  - Locking drupal/brightcove (dev-main)
  - Locking drupal/inline_entity_form (3.0.0-rc21)
  - Locking drupal/rat (1.0.0)
  - Locking drupal/time_formatter (2.0.2)
  - Locking drupal/token (1.15.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 6 installs, 0 updates, 0 removals
  - Downloading drupal/token (1.15.0)
  - Downloading drupal/time_formatter (2.0.2)
  - Downloading drupal/rat (1.0.0)
  - Downloading drupal/inline_entity_form (3.0.0-rc21)
  - Downloading brightcove/api (2.2)
 0/5 [>---------------------------]   0%
 3/5 [================>-----------]  60%
 4/5 [======================>-----]  80%
 5/5 [============================] 100%
  - Installing drupal/token (1.15.0): Extracting archive
  - Installing drupal/time_formatter (2.0.2): Extracting archive
  - Installing drupal/rat (1.0.0): Extracting archive
  - Installing drupal/inline_entity_form (3.0.0-rc21): Extracting archive
  - Installing brightcove/api (2.2): Extracting archive
  - Installing drupal/brightcove (dev-main): Symlinking from /var/lib/tugboat
 0/5 [>---------------------------]   0%
 5/5 [============================] 100%
Generating autoload files
43 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.
Using version dev-main for drupal/brightcove
+ vendor/bin/drush --yes --db-url=mysql://tugboat:tugboat@mysql:3306/tugboat --site-name=Live preview for 3533553-add-tugboat-previews --account-pass=admin site:install standard
 You are about to:
 * Create a sites/default/settings.php file
 * DROP all tables in your 'tugboat' database.

 // Do you want to continue?: yes.                                              

 [notice] Starting Drupal installation. This takes a while.
 [notice] Performed install task: install_select_language
 [notice] Performed install task: install_select_profile
 [notice] Performed install task: install_load_profile
 [notice] Performed install task: install_verify_requirements
 [notice] Performed install task: install_settings_form
 [notice] Performed install task: install_verify_database_ready
 [notice] Performed install task: install_base_system
 [notice] Performed install task: install_bootstrap_full
 [notice] Performed install task: install_profile_modules
 [notice] Performed install task: install_profile_themes
 [notice] Performed install task: install_install_profile
 [notice] Performed install task: install_configure_form
 [notice] Performed install task: install_finished
 [success] Installation complete.
+ echo $settings['trusted_host_patterns'] = ['\.tugboatqa\.com$'];
+ mkdir -p /var/www/drupal/web/sites/default/files
+ chgrp -R www-data /var/www/drupal/web/sites/default/files
+ chmod 2775 /var/www/drupal/web/sites/default/files
+ chmod -R g+w /var/www/drupal/web/sites/default/files
+ vendor/bin/drush --yes pm:enable brightcove
The following module(s) will be installed: brightcove, inline_entity_form, time_formatter, token

 // Do you want to continue?: yes.                                              

 [success] Module brightcove has been installed. (Permissions - Configure)
 [success] Module inline_entity_form has been installed.
 [success] Module time_formatter has been installed.
 [success] Module token has been installed.
Running BUILD commands686497a8469d949162b8440f# /bin/sh -c set -eux
cd $DRUPAL_COMPOSER_ROOT
composer install --optimize-autoloader
# Update this module, including all dependencies.
composer update drupal/brightcove --with-all-dependencies
vendor/bin/drush --yes updb
vendor/bin/drush cache:rebuild
+ cd /var/www/drupal
+ composer install --optimize-autoloader
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Generating optimized autoload files
43 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
  * Homepage: https://www.drupal.org/project/drupal
  * Support:
    * docs: https://www.drupal.org/docs/user_guide/en/index.html
    * chat: https://www.drupal.org/node/314178
+ composer update drupal/brightcove --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 11 updates, 0 removals
  - Upgrading mck89/peast (v1.17.0 => v1.17.2)
  - Upgrading symfony/console (v7.3.0 => v7.3.1)
  - Upgrading symfony/dependency-injection (v7.3.0 => v7.3.1)
  - Upgrading symfony/error-handler (v7.3.0 => v7.3.1)
  - Upgrading symfony/http-foundation (v7.3.0 => v7.3.1)
  - Upgrading symfony/http-kernel (v7.3.0 => v7.3.1)
  - Upgrading symfony/mailer (v7.3.0 => v7.3.1)
  - Upgrading symfony/serializer (v7.3.0 => v7.3.1)
  - Upgrading symfony/validator (v7.3.0 => v7.3.1)
  - Upgrading symfony/var-dumper (v7.3.0 => v7.3.1)
  - Upgrading symfony/yaml (v7.3.0 => v7.3.1)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 11 updates, 0 removals
  - Downloading symfony/console (v7.3.1)
  - Downloading symfony/yaml (v7.3.1)
  - Downloading symfony/validator (v7.3.1)
  - Downloading symfony/serializer (v7.3.1)
  - Downloading symfony/http-foundation (v7.3.1)
  - Downloading symfony/mailer (v7.3.1)
  - Downloading symfony/var-dumper (v7.3.1)
  - Downloading symfony/error-handler (v7.3.1)
  - Downloading symfony/http-kernel (v7.3.1)
  - Downloading symfony/dependency-injection (v7.3.1)
  - Downloading mck89/peast (v1.17.2)
  0/11 [>---------------------------]   0%
 11/11 [============================] 100%
  - Upgrading symfony/console (v7.3.0 => v7.3.1): Extracting archive
  - Upgrading symfony/yaml (v7.3.0 => v7.3.1): Extracting archive
  - Upgrading symfony/validator (v7.3.0 => v7.3.1): Extracting archive
  - Upgrading symfony/serializer (v7.3.0 => v7.3.1): Extracting archive
  - Upgrading symfony/http-foundation (v7.3.0 => v7.3.1): Extracting archive
  - Upgrading symfony/mailer (v7.3.0 => v7.3.1): Extracting archive
  - Upgrading symfony/var-dumper (v7.3.0 => v7.3.1): Extracting archive
  - Upgrading symfony/error-handler (v7.3.0 => v7.3.1): Extracting archive
  - Upgrading symfony/http-kernel (v7.3.0 => v7.3.1): Extracting archive
  - Upgrading symfony/dependency-injection (v7.3.0 => v7.3.1): Extracting archive
  - Upgrading mck89/peast (v1.17.0 => v1.17.2): Extracting archive
  0/11 [>---------------------------]   0%
  2/11 [=====>----------------------]  18%
 11/11 [============================] 100%
Generating autoload files
43 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.
+ vendor/bin/drush --yes updb
 [success] No pending updates.
+ vendor/bin/drush cache:rebuild
 [success] Cache rebuild complete.
Committing 686497a6469d949162b83b26 (3533553-add-tugboat-previews)686497a6469d949162b83b26 (3533553-add-tugboat-previews) is ready