Skip to content

Commit

Permalink
Limit configuration diffing to core configuration
Browse files Browse the repository at this point in the history
We have seen from experience that language differences acting weirdly
where imports do not seem to be entirely completed. This results in
language changes in CI which we cannot replicate locally.

To address this we have tried the following:

- Digging through issues queues. The following issues have not provided
  any answers yet:
  - https://www.drupal.org/project/drupal/issues/3103440
  - https://www.drupal.org/project/drupal/issues/3221375
  - drush-ops/drush#4610
- Trying out https://github.com/zaporylie/drush-current-language

Running drush config-import twice seems make the problem go away but we
do not want to go there yet.

To address the situation we limit changes to the default language 
configuration. Checking the configuration here is at least better than
what we have now.
  • Loading branch information
kasperg committed Jan 12, 2024
1 parent ec2ac9d commit bcf332c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -276,4 +276,4 @@ jobs:
- name: Export configuration
run: task dev:cli -- drush config-export -y
- name: Check for uncommited configuration after install
run: git diff --ignore-space-at-eol --exit-code config/sync/
run: git diff --ignore-space-at-eol --exit-code config/sync/*.yml

0 comments on commit bcf332c

Please sign in to comment.