From c6b0df4eea1b09df021e5d12fe64d95bd36dee25 Mon Sep 17 00:00:00 2001 From: Dave Long <dave@longwaveconsulting.com> Date: Mon, 29 Apr 2024 21:29:07 +0100 Subject: [PATCH] Issue #3444135 by Wim Leers: [regression] [11.x] "validatable config" CI job no longer runs because Drupal 11 started requireing SQLite 3.45 --- .gitlab-ci.yml | 5 +++-- core/config/schema/core.data_types.schema.yml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 31e0948673a3..ac796f4c0212 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -436,6 +436,7 @@ default: stage: 🪄 Lint variables: KUBERNETES_CPU_REQUEST: "2" + _TARGET_PHP: "8.3-ubuntu" # Run on MRs if config schema files have changed, or manually. rules: - if: $CI_PIPELINE_SOURCE == "merge_request_event" @@ -465,9 +466,9 @@ default: - git checkout -f $CI_MERGE_REQUEST_DIFF_BASE_SHA # Composer-install Drush & the Config Inspector module. - composer require drush/drush drupal/config_inspector || exit 100 - # Install Drupal's Standard install profile + all core modules + the config inspector module. + # Install Drupal's Standard install profile + all core modules (except obsolete ones) + the config inspector module. - php core/scripts/drupal install standard - - ls core/modules | grep -v help_topics | xargs vendor/bin/drush pm:install --yes + - ls core/modules | grep -v sdc | xargs vendor/bin/drush pm:install --yes - vendor/bin/drush pm:install config_inspector --yes --quiet || exit 101 # Compute statistics for coverage of validatable config for HEAD. - vendor/bin/drush config:inspect --statistics > HEAD.json diff --git a/core/config/schema/core.data_types.schema.yml b/core/config/schema/core.data_types.schema.yml index c7f806a053a1..1d30dcad1f5b 100644 --- a/core/config/schema/core.data_types.schema.yml +++ b/core/config/schema/core.data_types.schema.yml @@ -674,7 +674,7 @@ field.value.string: type: label label: 'Value' -# Schema for the configuration of the String (long) field type. +# Schema for the configuration of the String (long) field type. field.storage_settings.string_long: type: mapping -- GitLab