Skip to content
Snippets Groups Projects
Commit 36249663 authored by Adam G-H's avatar Adam G-H
Browse files

Move all recipes into build dir, not web root

parent 6d84e545
No related branches found
No related tags found
No related merge requests found
Pipeline #335578 failed
......@@ -40,14 +40,14 @@ build project:
# Until they are available on Packagist, the various components need to NOT
# be managed by Composer at all.
- .ddev/commands/web/unpack $BUILD_DIR
- cd $BUILD_DIR/$_WEB_ROOT
- mv recipes $BUILD_DIR
- cd $_WEB_ROOT
- mkdir -p profiles themes
- mv $CI_PROJECT_DIR/drupal_cms_installer profiles
- mv $CI_PROJECT_DIR/drupal_cms_olivero themes
- mv $CI_PROJECT_DIR/recipes .
# Turn the built project into an archive that can be downloaded by the public
# to spin up projects with Drupal CMS.
- composer archive --format=zip --file=drupal-cms --dir=$CI_PROJECT_DIR --working-dir=$_PROJECT_ROOT
- composer archive --format=zip --file=drupal-cms --dir=$CI_PROJECT_DIR
artifacts:
paths:
- $BUILD_DIR
......@@ -130,7 +130,7 @@ run PHP tests:
- recipes/drupal_cms_starter
script:
- *start-apache
- cd $_PROJECT_ROOT
- cd $BUILD_DIR
- sudo SIMPLETEST_BASE_URL=$DDEV_PRIMARY_URL SIMPLETEST_DB=$SIMPLETEST_DB -u www-data vendor/bin/phpunit --configuration=$_WEB_ROOT/core $DIR
run end-to-end tests:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment