Skip to content

Commit d3bd3f1

Browse files
committed
Merge branch 'dev' of github.com:City-of-Helsinki/drupal-helfi-etusivu into UHF-12387_tests
2 parents a4672c5 + dedcbea commit d3bd3f1

395 files changed

Lines changed: 4889 additions & 11468 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.deprecation-ignore.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# This file contains patterns to be ignored while testing for use of
2+
# deprecated code.
3+
# See https://www.drupal.org/node/3285162 for more details.

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ core/.phpstan-baseline.php text eol=lf whitespace=blank-at-eol,-blank-at-eof,-sp
4848
# Define binary file attributes.
4949
# - Do not treat them as text.
5050
# - Include binary diff in patches instead of "binary files differ."
51+
*.avif -text diff
5152
*.eot -text diff
5253
*.exe -text diff
5354
*.gif -text diff

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ public/sites/backstop/
1414
# Ignore the folder created by PhpStorm
1515
.idea/*
1616

17+
# Ignore the folder created by VS Code
18+
.vscode/*
19+
1720
# Ignore local settings
1821
public/sites/default/local.settings.php
1922
public/sites/default/local.services.yml

.platform/schema

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
24
1+
25

compose.ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ services:
22
app:
33
user: "1001:1001"
44
environment:
5-
SYMFONY_DEPRECATIONS_HELPER: disabled
5+
COMPOSER_MIRROR_PATH_REPOS: 1
66
BROWSERTEST_OUTPUT_DIRECTORY: /app/results

compose.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ services:
66
volumes:
77
- .:/app:delegated
88
depends_on:
9-
- db
9+
db:
10+
condition: service_healthy
1011
environment:
1112
WEBROOT: /app/public
1213
STAGE_FILE_PROXY_ORIGIN: "${STAGE_FILE_PROXY_ORIGIN}"
@@ -57,12 +58,17 @@ services:
5758
- --max_allowed_packet=512M
5859
- --character-set-server=utf8mb4
5960
- --collation-server=utf8mb4_swedish_ci
61+
- --skip-log-bin
6062
environment:
6163
MYSQL_DATABASE: drupal
6264
MYSQL_USER: drupal
6365
MYSQL_PASSWORD: drupal
6466
MYSQL_INITDB_SKIP_TZINFO: 1
6567
MYSQL_RANDOM_ROOT_PASSWORD: 1
68+
healthcheck:
69+
test: mysqladmin ping -h 127.0.0.1 -u $$MYSQL_USER --password=$$MYSQL_PASSWORD
70+
timeout: 1s
71+
retries: 30
6672
volumes:
6773
- db_volume:/var/lib/mysql
6874
ports:
@@ -71,10 +77,13 @@ services:
7177
- internal
7278
varnish:
7379
container_name: "${COMPOSE_PROJECT_NAME}-varnish"
74-
image: druidfi/varnish:6-drupal
80+
image: wodby/varnish:6.0
7581
environment:
7682
VARNISH_BACKEND_HOST: "${COMPOSE_PROJECT_NAME}-app"
83+
VARNISH_BACKEND_PORT: 8080
7784
VARNISH_CACHE_STATIC_FILES: "1"
85+
VARNISH_ALLOW_UNRESTRICTED_PURGE: "1"
86+
VARNISH_CONFIG_PRESET: "drupal"
7887
depends_on:
7988
- app
8089
networks:

composer.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
"composer/installers": "^2.0",
1212
"cweagans/composer-patches": "^1.6.7",
1313
"drupal/consumer_image_styles": "^4.0",
14-
"drupal/core-composer-scaffold": "^10|^11",
14+
"drupal/core-composer-scaffold": "^11",
1515
"drupal/draggableviews": "^2.0",
1616
"drupal/hdbt": "^6.0",
1717
"drupal/hdbt_admin": "^3.0",
1818
"drupal/helfi_azure_fs": "^2.0",
1919
"drupal/helfi_drupal_tools": "dev-main",
2020
"drupal/helfi_navigation": "^2.0",
21-
"drupal/helfi_platform_config": "^4.0",
21+
"drupal/helfi_platform_config": "^5.0",
2222
"drupal/helfi_proxy": "^3.0",
2323
"drupal/helfi_tunnistamo": "^3.0",
2424
"drupal/json_field": "^1.0@RC",
@@ -71,9 +71,6 @@
7171
"patches": {
7272
"drupal/draggableviews": {
7373
"Save langcode as part of draggableviews data in order to sort by by weight and language": "patches/draggableviews_language.patch"
74-
},
75-
"drupal/scheduler": {
76-
"[#UHF-12387] https://www.drupal.org/i/3458578: Fixes Uncaught TypeError: Cannot read property 'value' of null": "https://www.drupal.org/files/issues/2024-07-02/scheduler-uncaught_type_error_reading_null_on_value-3458578-2.patch"
7774
}
7875
},
7976
"composer-exit-on-patch-failure": true,

0 commit comments

Comments
 (0)