Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal_cms
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
drupal_cms
Commits
36249663
Commit
36249663
authored
8 months ago
by
Adam G-H
Browse files
Options
Downloads
Patches
Plain Diff
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
8 months ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+4
-4
4 additions, 4 deletions
.gitlab-ci.yml
with
4 additions
and
4 deletions
.gitlab-ci.yml
+
4
−
4
View file @
36249663
...
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment