diff --git a/.tugboat/config.yml b/.tugboat/config.yml index 85e35fd742b43fd30e5fc643b9be4c28e82946eb..b04e1db8258c02b053bd9c08585c7996363cef46 100644 --- a/.tugboat/config.yml +++ b/.tugboat/config.yml @@ -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