Skip to content
Snippets Groups Projects

Issue #3487711: Fix tugboat previews

+ 3
3
@@ -13,13 +13,13 @@ services:
# TODO: remove this line when the upstream Composer issue is resolved.
- composer self-update 2.8.0
# Add the components as globally available path repositories, simulating Packagist.
- find $TUGBOAT_ROOT -type d -maxdepth 1 -name 'drupal_cms*' -exec composer config --global repositories.{} path {} ';'
- 'sed "s|\"url\": \"|\"url\": \"$TUGBOAT_ROOT/|g" components.composer.json > $(composer config --global home)/config.json'
# Add the project template as a globally available path repository, simulating Packagist.
- composer config --global repositories.template path $TUGBOAT_ROOT/project_template
# Clean up from any previous build.
- rm -Rf $TUGBOAT_ROOT/project
# Create the project.
- composer create-project drupal/drupal-cms-project $TUGBOAT_ROOT/project --stability=dev
- composer create-project drupal/cms $TUGBOAT_ROOT/project --stability=dev
# Symlink the Drupal root to the Apache web root.
- ln -snf $TUGBOAT_ROOT/project/web $DOCROOT
# Create the files directory and settings.php files with appropriate perms.
@@ -58,4 +58,4 @@ services:
# Warm the caches
- 'curl --silent -H "Host: $TUGBOAT_DEFAULT_SERVICE_URL_HOST" http://localhost > /dev/null'
db:
image: tugboatqa/mariadb
\ No newline at end of file
image: tugboatqa/mariadb
Loading