Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Paul Graydon
slapos
Commits
113381a2
Commit
113381a2
authored
Jun 08, 2023
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stack/drupal: fixup, add mysql binaries
parent
d0560381
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
6 deletions
+31
-6
stack/drupal/buildout.cfg
stack/drupal/buildout.cfg
+9
-4
stack/drupal/buildout.hash.cfg
stack/drupal/buildout.hash.cfg
+1
-1
stack/drupal/drupal-instance.cfg.in
stack/drupal/drupal-instance.cfg.in
+21
-1
No files found.
stack/drupal/buildout.cfg
View file @
113381a2
...
...
@@ -8,6 +8,7 @@ extends =
parts +=
instance
composer-bin
install-drupal
[apache-php]
...
...
@@ -24,6 +25,10 @@ url = ${:_profile_base_location_}/${:filename}
[custom-application-deployment]
db-name = drupal_db
db-user = drupal
publish-list =
admin-username
admin-password
nextjs-url
[create-next-app]
recipe = plone.recipe.command
...
...
@@ -46,19 +51,19 @@ stop-on-error = true
recipe = slapos.recipe.cmmi
path = ${application:location}
configure-command = true
# ${composer-bin:output} config vendor-dir docroot/vendor
make-targets =
make-options =
make-binary =
${composer-bin:output}
install
composer
install
# ${composer-bin:output} update
${composer-bin:output} require drupal/next
composer require drupal/next
composer require --dev phpunit/phpunit
post-install =
mkdir -p drush/config
cp ${pathauto.pattern.article.yml:target} drush/config/
environment =
COMPOSER_HOME=@@LOCATION@@
PATH=${apache-php:location}/bin:%(PATH)s
PATH=${
composer:location}/bin:${
apache-php:location}/bin:%(PATH)s
[template-drupal-instance]
<= drupal-download
...
...
stack/drupal/buildout.hash.cfg
View file @
113381a2
...
...
@@ -4,7 +4,7 @@ md5sum = 158282e578bf9416f5e0e524496b9f68
[template-drupal-instance]
filename = drupal-instance.cfg.in
md5sum =
cb6606a18968396236699876e55d6269
md5sum =
e78f8c1bf06be85554b1455422722703
[template-settings.php]
filename = default.settings.php.in
...
...
stack/drupal/drupal-instance.cfg.in
View file @
113381a2
...
...
@@ -59,9 +59,25 @@ wrapper-path = ${directory:bin}/composer
[blt-bin]
recipe = slapos.cookbook:wrapper
command-line =
${php-bin:wrapper-path} ${directory:www}/vendor/
vendor/
bin/blt
${php-bin:wrapper-path} ${directory:www}/vendor/bin/blt
wrapper-path = ${directory:bin}/blt
[phpunit-bin]
recipe = slapos.cookbook:wrapper
command-line =
${php-bin:wrapper-path} ${directory:www}/vendor/bin/phpunit
wrapper-path = ${directory:bin}/phpunit
[mysql-bin]
recipe = slapos.cookbook:wrapper
command-line = "{{ mariadb_location }}/bin/mysql"
wrapper-path = ${directory:bin}/mysql
[mysqldump-bin]
recipe = slapos.cookbook:wrapper
command-line = "{{ mariadb_location }}/bin/mysqldump"
wrapper-path = ${directory:bin}/mysqldump
[env-base]
recipe = collective.recipe.template
input = inline:
...
...
@@ -193,6 +209,10 @@ depends =
${settings.local.php:recipe}
${composer-bin:recipe}
${drush-bin:recipe}
${phpunit-bin:recipe}
${blt-bin:recipe}
${mysql-bin:recipe}
${mysqldump-bin:recipe}
[drupal-admin-passwd]
recipe = slapos.cookbook:generate.password
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment