Rebuilding preview: 685c458040796cecc48f4362 (mr117)685c45812ef66983860d454b# sh -c mkdir -p $(dirname /var/lib/tugboat)685c45812ef66983860d454b# git clone git@git.drupal.org:project/environment_indicator.git /var/lib/tugboatCloning into '/var/lib/tugboat'...
Warning: Permanently added 'git.drupal.org' (ED25519) to the list of known hosts.
685c45812ef66983860d454b# bash -c git -C /var/lib/tugboat remote show origin && git -C /var/lib/tugboat remote set-url origin git@git.drupal.org:project/environment_indicator.git || git -C /var/lib/tugboat remote add origin git@git.drupal.org:project/environment_indicator.git* remote origin
Fetch URL: git@git.drupal.org:project/environment_indicator.git
Push URL: git@git.drupal.org:project/environment_indicator.git
HEAD branch: 4.x
Remote branches:
4.0.x tracked
4.x tracked
6.x-1.x tracked
7.x-1.x tracked
7.x-2.x tracked
8.x-2.x tracked
8.x-3.x tracked
e0ipso-8.x-2.x tracked
envindicator-merge tracked
Local branch configured for 'git pull':
4.x merges with remote 4.x
Local ref configured for 'git push':
4.x pushes to 4.x (up to date)
685c45812ef66983860d454b# git -C /var/lib/tugboat fetch --no-recurse-submodules origin 4.xFrom git.drupal.org:project/environment_indicator
* branch 4.x -> FETCH_HEAD
685c45812ef66983860d454b# git -C /var/lib/tugboat checkout origin/4.xNote: switching to 'origin/4.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 1e672e2 Issue #3530287 by a.dmitriiev, gareth.poole, trackleft2, nicodh: Toolbar is hidden after enabling environment_indicator_toolbar
685c45812ef66983860d454b# git -C /var/lib/tugboat pull --no-edit --rebase=false git@git.drupal.org:issue/environment_indicator-3532440.git 3532440-environment-indicator-overridesFrom git.drupal.org:issue/environment_indicator-3532440
* branch 3532440-environment-indicator-overrides -> FETCH_HEAD
Updating 1e672e2..3e64a6b
Fast-forward
js/environment_indicator.js | 4 ++--
modules/environment_indicator_toolbar/js/toolbar.js | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
Running INIT commandsRunning UPDATE commands685c45812ef66983860d454b# /bin/sh -c set -eux
# Check out a branch using the unique Tugboat ID for this repository, to
# ensure we don't clobber an existing branch.
git checkout -b $TUGBOAT_REPO_ID
# Composer is hungry. You need a Tugboat project with a pretty sizeable
# chunk of memory.
export COMPOSER_MEMORY_LIMIT=-1
# 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 configure the Drupal project to use the checkout of the module as a
# Composer package repository.
composer config repositories.tugboat vcs $TUGBOAT_ROOT
# Now we can require this module, specifing the branch name we created
# above that uses the $TUGBOAT_REPO_ID environment variable.
composer require drupal/environment_indicator:dev-$TUGBOAT_REPO_ID
composer require 'drupal/gin_toolbar:^1.0@RC'
composer require 'drupal/gin:^3.0@RC'
# 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
# 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
# Set up gin theme.
vendor/bin/drush --yes theme:install gin
vendor/bin/drush --yes config:set system.theme admin gin
# Enable 3 modules.
vendor/bin/drush --yes pm:enable environment_indicator environment_indicator_ui gin_toolbar
vendor/bin/drush --yes config:set environment_indicator.indicator bg_color '#31758e'
vendor/bin/drush --yes config:set environment_indicator.indicator fg_color '#d4e5eb'
vendor/bin/drush --yes config:set environment_indicator.indicator name "${TUGBOAT_PREVIEW_NAME}"
vendor/bin/drush --yes state:set environment_indicator.current_release "${TUGBOAT_REPO_ID}"
vendor/bin/drush --yes config:set environment_indicator.switcher.dev machine 'dev'
vendor/bin/drush --yes config:set environment_indicator.switcher.dev uuid '971430b9-85ed-4fb7-8ef1-0fae13bd3032'
vendor/bin/drush --yes config:set environment_indicator.switcher.dev name 'Development'
vendor/bin/drush --yes config:set environment_indicator.switcher.dev url 'https://dev.example.com'
vendor/bin/drush --yes config:set environment_indicator.switcher.dev fg_color '#31758e'
vendor/bin/drush --yes config:set environment_indicator.switcher.dev bg_color '#d4e5eb'
vendor/bin/drush --yes config:set environment_indicator.switcher.dev weight 0
vendor/bin/drush --yes config:set environment_indicator.switcher.dev langcode 'en'
vendor/bin/drush --yes config:set environment_indicator.switcher.dev status true
vendor/bin/drush --yes config:set environment_indicator.switcher.staging machine 'staging'
vendor/bin/drush --yes config:set environment_indicator.switcher.staging uuid '971430b9-85ed-4fb7-9ef1-0fae13bd3032'
vendor/bin/drush --yes config:set environment_indicator.switcher.staging name 'Staging'
vendor/bin/drush --yes config:set environment_indicator.switcher.staging url 'https://staging.example.com'
vendor/bin/drush --yes config:set environment_indicator.switcher.staging fg_color '#017bff'
vendor/bin/drush --yes config:set environment_indicator.switcher.staging bg_color '#ff94fb'
vendor/bin/drush --yes config:set environment_indicator.switcher.staging weight 1
vendor/bin/drush --yes config:set environment_indicator.switcher.staging langcode 'en'
vendor/bin/drush --yes config:set environment_indicator.switcher.staging status true
vendor/bin/drush --yes config:set environment_indicator.switcher.prod machine 'prod'
vendor/bin/drush --yes config:set environment_indicator.switcher.prod uuid '971430b9-85ed-5yb7-8ef1-0fae13bd3032'
vendor/bin/drush --yes config:set environment_indicator.switcher.prod name 'Production'
vendor/bin/drush --yes config:set environment_indicator.switcher.prod url 'https://example.com'
vendor/bin/drush --yes config:set environment_indicator.switcher.prod fg_color '#000000'
vendor/bin/drush --yes config:set environment_indicator.switcher.prod bg_color '#3dff24'
vendor/bin/drush --yes config:set environment_indicator.switcher.prod weight 2
vendor/bin/drush --yes config:set environment_indicator.switcher.prod langcode 'en'
vendor/bin/drush --yes config:set environment_indicator.switcher.prod status true
+ git checkout -b 651bf8cd0687b34e4b064f29
Switched to a new branch '651bf8cd0687b34e4b064f29'
+ export COMPOSER_MEMORY_LIMIT=-1
+ cd /var/www/drupal
+ composer config repositories.tugboat vcs /var/lib/tugboat
+ composer require drupal/environment_indicator:dev-651bf8cd0687b34e4b064f29
./composer.json has been updated
Running composer update drupal/environment_indicator
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
- Locking drupal/environment_indicator (dev-651bf8cd0687b34e4b064f29 3e64a6b)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Installing drupal/environment_indicator (dev-651bf8cd0687b34e4b064f29 3e64a6b): Cloning 3e64a6b4b7
Generating autoload files
42 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.
+ composer require drupal/gin_toolbar:^1.0@RC
./composer.json has been updated
Running composer update drupal/gin_toolbar
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
- Locking drupal/gin_toolbar (1.1.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Downloading drupal/gin_toolbar (1.1.0)
- Installing drupal/gin_toolbar (1.1.0): Extracting archive
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.
+ composer require drupal/gin:^3.0@RC
./composer.json has been updated
Running composer update drupal/gin
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
- Locking drupal/gin (3.1.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Downloading drupal/gin (3.1.0)
- Installing drupal/gin (3.1.0): Extracting archive
Generating autoload files
44 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 --db-url=mysql://tugboat:tugboat@mysql:3306/tugboat --site-name=Live preview for 3532440-environment-indicator-overrides --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.
+ 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 theme:install gin
[success] Successfully installed theme: gin
+ vendor/bin/drush --yes config:set system.theme admin gin
// Do you want to update admin key in system.theme config?: yes.
+ vendor/bin/drush --yes pm:enable environment_indicator environment_indicator_ui gin_toolbar
[success] Successfully enabled: environment_indicator, environment_indicator_ui, gin_toolbar
+ vendor/bin/drush --yes config:set environment_indicator.indicator bg_color #31758e
// environment_indicator.indicator config does not exist. Do you want to create
// a new config object?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.indicator fg_color #d4e5eb
// fg_color key does not exist in environment_indicator.indicator config. Do
// you want to create a new config key?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.indicator name 3532440-environment-indicator-overrides
// name key does not exist in environment_indicator.indicator config. Do you
// want to create a new config key?: yes.
+ vendor/bin/drush --yes state:set environment_indicator.current_release 651bf8cd0687b34e4b064f29
+ vendor/bin/drush --yes config:set environment_indicator.switcher.dev machine dev
// environment_indicator.switcher.dev config does not exist. Do you want to
// create a new config object?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.switcher.dev uuid 971430b9-85ed-4fb7-8ef1-0fae13bd3032
// uuid key does not exist in environment_indicator.switcher.dev config. Do you
// want to create a new config key?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.switcher.dev name Development
// name key does not exist in environment_indicator.switcher.dev config. Do you
// want to create a new config key?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.switcher.dev url https://dev.example.com
// url key does not exist in environment_indicator.switcher.dev config. Do you
// want to create a new config key?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.switcher.dev fg_color #31758e
// fg_color key does not exist in environment_indicator.switcher.dev config. Do
// you want to create a new config key?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.switcher.dev bg_color #d4e5eb
// bg_color key does not exist in environment_indicator.switcher.dev config. Do
// you want to create a new config key?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.switcher.dev weight 0
// weight key does not exist in environment_indicator.switcher.dev config. Do
// you want to create a new config key?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.switcher.dev langcode en
// langcode key does not exist in environment_indicator.switcher.dev config. Do
// you want to create a new config key?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.switcher.dev status true
// status key does not exist in environment_indicator.switcher.dev config. Do
// you want to create a new config key?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.switcher.staging machine staging
// environment_indicator.switcher.staging config does not exist. Do you want to
// create a new config object?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.switcher.staging uuid 971430b9-85ed-4fb7-9ef1-0fae13bd3032
// uuid key does not exist in environment_indicator.switcher.staging config. Do
// you want to create a new config key?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.switcher.staging name Staging
// name key does not exist in environment_indicator.switcher.staging config. Do
// you want to create a new config key?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.switcher.staging url https://staging.example.com
// url key does not exist in environment_indicator.switcher.staging config. Do
// you want to create a new config key?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.switcher.staging fg_color #017bff
// fg_color key does not exist in environment_indicator.switcher.staging
// config. Do you want to create a new config key?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.switcher.staging bg_color #ff94fb
// bg_color key does not exist in environment_indicator.switcher.staging
// config. Do you want to create a new config key?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.switcher.staging weight 1
// weight key does not exist in environment_indicator.switcher.staging config.
// Do you want to create a new config key?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.switcher.staging langcode en
// langcode key does not exist in environment_indicator.switcher.staging
// config. Do you want to create a new config key?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.switcher.staging status true
// status key does not exist in environment_indicator.switcher.staging config.
// Do you want to create a new config key?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.switcher.prod machine prod
// environment_indicator.switcher.prod config does not exist. Do you want to
// create a new config object?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.switcher.prod uuid 971430b9-85ed-5yb7-8ef1-0fae13bd3032
// uuid key does not exist in environment_indicator.switcher.prod config. Do
// you want to create a new config key?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.switcher.prod name Production
// name key does not exist in environment_indicator.switcher.prod config. Do
// you want to create a new config key?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.switcher.prod url https://example.com
// url key does not exist in environment_indicator.switcher.prod config. Do you
// want to create a new config key?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.switcher.prod fg_color #000000
// fg_color key does not exist in environment_indicator.switcher.prod config.
// Do you want to create a new config key?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.switcher.prod bg_color #3dff24
// bg_color key does not exist in environment_indicator.switcher.prod config.
// Do you want to create a new config key?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.switcher.prod weight 2
// weight key does not exist in environment_indicator.switcher.prod config. Do
// you want to create a new config key?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.switcher.prod langcode en
// langcode key does not exist in environment_indicator.switcher.prod config.
// Do you want to create a new config key?: yes.
+ vendor/bin/drush --yes config:set environment_indicator.switcher.prod status true
// status key does not exist in environment_indicator.switcher.prod config. Do
// you want to create a new config key?: yes.
Running BUILD commands685c45812ef66983860d454b# /bin/sh -c set -eux
# Delete and re-check out this branch in case this is built from a Base Preview.
git branch -D $TUGBOAT_REPO_ID && git checkout -b $TUGBOAT_REPO_ID || true
export COMPOSER_MEMORY_LIMIT=-1
cd $DRUPAL_COMPOSER_ROOT
composer install --optimize-autoloader
# Update this module, including all dependencies.
composer update drupal/environment_indicator --with-all-dependencies
vendor/bin/drush --yes updb
vendor/bin/drush cache:rebuild
+ git branch -D 651bf8cd0687b34e4b064f29
error: Cannot delete branch '651bf8cd0687b34e4b064f29' checked out at '/var/lib/tugboat'
+ true
+ export COMPOSER_MEMORY_LIMIT=-1
+ 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
44 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/environment_indicator --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Writing lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Generating autoload files
44 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 685c458040796cecc48f4362 (3532440-environment-indicator-overrides)685c458040796cecc48f4362 (3532440-environment-indicator-overrides) is ready