Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
migrate_boost
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
migrate_boost
Merge requests
!10
#3512501
Add Tugboat MR previews
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
#3512501
Add Tugboat MR previews
issue/migrate_boost-3512501:3512501-add-tugboat-mr
into
1.0.x
Overview
3
Commits
4
Pipelines
4
Changes
1
Open
Steve Wirt
requested to merge
issue/migrate_boost-3512501:3512501-add-tugboat-mr
into
1.0.x
1 month ago
Overview
3
Commits
4
Pipelines
4
Changes
1
Expand
Closes
#3512501
0
0
Merge request reports
Compare
1.0.x
version 4
fd8de5e7
1 month ago
version 3
d1aa31fe
1 month ago
version 2
d1aa31fe
1 month ago
version 1
a397619d
1 month ago
1.0.x (HEAD)
and
latest version
latest version
b357887a
4 commits,
1 month ago
version 4
fd8de5e7
3 commits,
1 month ago
version 3
d1aa31fe
2 commits,
1 month ago
version 2
d1aa31fe
2 commits,
1 month ago
version 1
a397619d
1 commit,
1 month ago
1 file
+
55
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.tugboat/config.yml
0 → 100644
+
55
−
0
Options
services
:
php
:
# Specify the version of Drupal you wish to use for Tugboat below.
image
:
tugboatqa/drupal:11
default
:
true
http
:
false
depends
:
mysql
commands
:
update
:
|
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/migrate_boost
composer require drupal/migrate_tools --with-dependencies
composer require drupal/migrate_plus --with-dependencies
composer require drupal/pathauto --with-dependencies
# 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 migrate_boost
vendor/bin/drush --yes pm:enable migrate_tools
vendor/bin/drush --yes pm:enable migrate_plus
vendor/bin/drush --yes pm:enable migrate_example
vendor/bin/drush --yes pm:enable migrate_example_setup
vendor/bin/drush --yes pm:enable pathauto
build
:
|
set -eux
cd $DRUPAL_COMPOSER_ROOT
composer install --optimize-autoloader
# Update this module, including all dependencies.
composer update drupal/migrate_boost --with-all-dependencies
vendor/bin/drush --yes updb
vendor/bin/drush cache:rebuild
vendor/bin/drush migrate-import --group=beer
mysql
:
image
:
tugboatqa/mariadb
\ No newline at end of file
Loading