Skip to content

Commit 4f2da33

Browse files
committed
Merge branch 'development'
2 parents cae4df3 + 0bfee6b commit 4f2da33

24 files changed

+356
-647
lines changed

.circleci/config.yml

+10-4
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,15 @@ jobs:
104104
steps:
105105
- attach_workspace:
106106
at: ./
107+
- run: sudo cp /home/circleci/project/.circleci/docker-php-circleci.ini /usr/local/etc/php/conf.d/
107108
- run:
108109
name: PHPCS static analysis
109110
command: /home/circleci/project/phpcs.sh /home/circleci/project "/home/circleci/project/web/modules/origins /home/circleci/project/web/modules/custom /home/circleci/project/web/modules/migrate /home/circleci/project/web/themes/custom"
110111
- run:
111112
name: Deprecated code check
112113
command: |
113114
cd /home/circleci/project
114-
vendor/bin/drupal-check /home/circleci/project/web/modules/custom /home/circleci/project/web/modules/origins
115+
vendor/bin/drupal-check /home/circleci/project/web/modules/custom /home/circleci/project/web/modules/origins -e "*/tests/src/*"
115116
116117
# Run any unit tests and any kernel tests against a vanilla D8 site + our site config imported over it (no predefined content).
117118
unit_kernel_tests:
@@ -330,7 +331,7 @@ jobs:
330331
# Fetches migration assets from NIDirect D7. Platform.sh API token injected as environment variable.
331332
migrate_update_assets:
332333
docker:
333-
- image: cimg/php:7.3
334+
- image: circleci/php:7.3.14-apache-browsers
334335
steps:
335336
- checkout_code
336337
- install_php_os_extensions
@@ -343,14 +344,20 @@ jobs:
343344
command: |
344345
mkdir -p ~/.ssh
345346
ssh-keyscan -H ssh.$PLATFORM_REGION >> ~/.ssh/known_hosts
347+
- run:
348+
name: Install the Platform.sh CLI tool
349+
command: |
350+
curl -sS https://platform.sh/cli/installer | php
346351
- run:
347352
name: Fetch database and managed files from NIDirect D7
348353
command: |
349354
/home/circleci/.platformsh/bin/platform ssh -p $PLATFORM_PROJECT_ID -e master /app/migrate-fetch.sh $PLATFORM_LEGACY_PROJECT_ID $PLATFORM_LEGACY_BRANCH
355+
no_output_timeout: 30m
350356
- run:
351357
name: Unpack database to legacy database service
352358
command: |
353359
/home/circleci/.platformsh/bin/platform ssh -p $PLATFORM_PROJECT_ID -e master /app/migrate-unpack.sh
360+
no_output_timeout: 30m
354361

355362
workflows:
356363
version: 2
@@ -415,8 +422,7 @@ workflows:
415422
triggers:
416423
- schedule:
417424
# At 02:30 every Saturday
418-
# cron: "30 2 * * 6"
419-
cron: "30 2 * * *"
425+
cron: "30 2 * * 6"
420426
filters:
421427
branches:
422428
only:

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"drupal/inline_entity_form": "^1.0@RC",
7676
"drupal/layout_builder_modal": "^1.0@alpha",
7777
"drupal/layout_builder_restrictions": "^2.2",
78-
"drupal/linkit": "^6.0",
78+
"drupal/linkit": "^5.0",
7979
"drupal/metatag": "^1.8",
8080
"drupal/migrate_upgrade": "^3.2",
8181
"drupal/moderation_sidebar": "^1.3",
@@ -94,6 +94,7 @@
9494
"drupal/search_api_spellcheck": "^3.0@alpha",
9595
"drupal/shs": "^1.0@alpha",
9696
"drupal/simplei": "^1.1",
97+
"drupal/sitewide_alert": "^1.3",
9798
"drupal/smart_trim": "^1.2",
9899
"drupal/structure_sync": "^1.16",
99100
"drupal/taxonomy_access_fix": "^2.6",
@@ -129,8 +130,7 @@
129130
"drupal/permissions_filter": "^1.1",
130131
"drupal/restui": "^1.17",
131132
"drupal/stage_file_proxy": "^1.0@beta",
132-
"mglaman/drupal-check": "^1.0",
133-
"phpstan/phpstan": "0.11.16",
133+
"mglaman/drupal-check": "^1.1",
134134
"previousnext/phpunit-finder": "^1.0@alpha"
135135
},
136136
"conflict": {

0 commit comments

Comments
 (0)