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
Labels
Merge Requests
104
Merge Requests
104
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
a0096a81
Commit
a0096a81
authored
Jun 15, 2023
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stack/drupal: no next.js is not configured for drupal8
parent
edc83f79
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
+7
-4
stack/drupal/buildout.cfg
stack/drupal/buildout.cfg
+2
-0
stack/drupal/buildout.hash.cfg
stack/drupal/buildout.hash.cfg
+2
-2
stack/drupal/drupal-instance.cfg.in
stack/drupal/drupal-instance.cfg.in
+2
-2
stack/drupal/instance.cfg.in
stack/drupal/instance.cfg.in
+1
-0
No files found.
stack/drupal/buildout.cfg
View file @
a0096a81
...
@@ -27,6 +27,7 @@ db-user = drupal
...
@@ -27,6 +27,7 @@ db-user = drupal
publish-list =
publish-list =
admin-username
admin-username
admin-password
admin-password
enable-php8 = True
[install-drupal]
[install-drupal]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
...
@@ -73,6 +74,7 @@ url = ${:_profile_base_location_}/${:filename}
...
@@ -73,6 +74,7 @@ url = ${:_profile_base_location_}/${:filename}
output = ${buildout:directory}/instance.cfg
output = ${buildout:directory}/instance.cfg
extensions = jinja2.ext.do
extensions = jinja2.ext.do
context =
context =
key application_deployment_php8 custom-application-deployment:enable-php8
key buildout_egg_directory buildout:eggs-directory
key buildout_egg_directory buildout:eggs-directory
key buildout_develop_directory buildout:develop-eggs-directory
key buildout_develop_directory buildout:develop-eggs-directory
key buildout_directory buildout:directory
key buildout_directory buildout:directory
...
...
stack/drupal/buildout.hash.cfg
View file @
a0096a81
[instance]
[instance]
filename = instance.cfg.in
filename = instance.cfg.in
md5sum =
406bfbc4a683156593da333a01e5faab
md5sum =
ee73fe8e6b6959cfa137a02b9ce038f0
[template-drupal-instance]
[template-drupal-instance]
filename = drupal-instance.cfg.in
filename = drupal-instance.cfg.in
md5sum =
b0c371ae31203d3984599ee617fd8f6
5
md5sum =
eeef9228e93cea091f61761c2635ec7
5
[template-settings.php]
[template-settings.php]
filename = default.settings.php.in
filename = default.settings.php.in
...
...
stack/drupal/drupal-instance.cfg.in
View file @
a0096a81
...
@@ -16,7 +16,6 @@ offline = true
...
@@ -16,7 +16,6 @@ offline = true
[apache-php-configuration]
[apache-php-configuration]
enable-php8 = !py!True
document-root = ${:default-document-root}/docroot
document-root = ${:default-document-root}/docroot
[template-base]
[template-base]
...
@@ -119,7 +118,7 @@ input = inline:#!/bin/sh
...
@@ -119,7 +118,7 @@ input = inline:#!/bin/sh
# Rebuild all caches.
# Rebuild all caches.
drush cache:rebuild
drush cache:rebuild
{% if parameter_dict.get('php8') == True %}
# install modules Next.js and Next.js JSON:API
# install modules Next.js and Next.js JSON:API
drush en next next_jsonapi --verbose --yes
drush en next next_jsonapi --verbose --yes
# install drush configs
# install drush configs
...
@@ -128,6 +127,7 @@ input = inline:#!/bin/sh
...
@@ -128,6 +127,7 @@ input = inline:#!/bin/sh
--uri=default --root=${directory:www} \
--uri=default --root=${directory:www} \
--verbose --yes
--verbose --yes
drush cache:rebuild
drush cache:rebuild
{%- endif %}
echo "done" > $INSTALL_FILE
echo "done" > $INSTALL_FILE
chmod 440 $INSTALL_FILE
chmod 440 $INSTALL_FILE
...
...
stack/drupal/instance.cfg.in
View file @
a0096a81
...
@@ -14,6 +14,7 @@ offline = true
...
@@ -14,6 +14,7 @@ offline = true
[dynamic-template-drupal-parameters]
[dynamic-template-drupal-parameters]
# Additional parameters for instance apache-php
# Additional parameters for instance apache-php
php8 = !py!{{ application_deployment_php8 }}
[dynamic-template-drupal]
[dynamic-template-drupal]
<= jinja2-template-base
<= jinja2-template-base
...
...
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