La_eu staging improvements to fix the pipeline deployment

Created on 20 August 2024, 9 months ago

Problem/Motivation

In order to fix the current situation, there are a couple of things that need to happen.

1. settings file needs to contain:

$settings['config_sync_directory'] = 'config/default';

instead of the default

$settings['config_sync_directory'] = 'sites/default/files/sync';

2. remove all of the uuid in the config files so existing configs are updated instead of removed and recreated

$ cd config/default
$ sed -i.bak '/uuid:.*/d' *.yml
$ rm *.bak

export all of the uuids from the website

$ drush cex -y 

3. create a custom module swiftmailer so the configs can be removed without errors

4. remove la_eu_default_content from core.extensions.yml so the default content is not created again, it's already in the database

5. a config_split for the german site should be created with the language configuration

6. a language switcher should be added and themed

Proposed resolution

2. done
3. done
4. done

Remaining tasks

1. I'm unsure how to differentiate the local/stg/live settings files in this setup
5. todo: create config split
6. todo: create language switcher

📌 Task
Status

Active

Component

Code

Created by

🇧🇪Belgium pjonckiere

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024