Skip to content

Commit 0f81f29

Browse files
Merge pull request #570 from City-of-Helsinki/dev
Release 2023-01-26
2 parents 6d3cc13 + 1491e6c commit 0f81f29

10 files changed

+195
-133
lines changed

composer.lock

Lines changed: 180 additions & 124 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

conf/cmi/core.extension.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ module:
4646
hdbt_admin_tools: 0
4747
hdbt_component_library: 0
4848
hdbt_content: 0
49+
health_check: 0
4950
helfi_announcements: 0
5051
helfi_announcements_tpr: 0
5152
helfi_api_base: 0

conf/cmi/elasticsearch_connector.cluster.kymp.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ name: KYMP
77
url: 'http://elastic:9200'
88
options:
99
multiple_nodes_connection: false
10-
use_authentication: 1
10+
use_authentication: true
1111
authentication_type: Basic
1212
username: ''
1313
password: ''
14-
timeout: '3'
14+
timeout: 3
1515
rewrite:
16-
rewrite_index: 1
16+
rewrite_index: true
1717
index:
1818
prefix: ''
1919
suffix: ''

conf/cmi/external_entities.external_entity_type.helfi_news.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ field_mapper_config:
3535
value: '$.attributes[''short_title'']'
3636
storage_client_id: helfi_news
3737
storage_client_config: { }
38-
persistent_cache_max_age: -1
38+
persistent_cache_max_age: 10800
3939
annotation_entity_type_id: null
4040
annotation_bundle_id: null
4141
annotation_field_name: null

conf/cmi/external_entities.external_entity_type.helfi_news_groups.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ field_mapper_config:
1818
value: '$.attributes["name"]'
1919
storage_client_id: helfi_news_groups
2020
storage_client_config: { }
21-
persistent_cache_max_age: -1
21+
persistent_cache_max_age: 86400
2222
annotation_entity_type_id: null
2323
annotation_bundle_id: null
2424
annotation_field_name: null

conf/cmi/external_entities.external_entity_type.helfi_news_neighbourhoods.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ field_mapper_config:
1818
value: '$.attributes["name"]'
1919
storage_client_id: helfi_news_neighbourhoods
2020
storage_client_config: { }
21-
persistent_cache_max_age: -1
21+
persistent_cache_max_age: 86400
2222
annotation_entity_type_id: null
2323
annotation_bundle_id: null
2424
annotation_field_name: null

conf/cmi/external_entities.external_entity_type.helfi_news_tags.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ field_mapper_config:
1818
value: '$.attributes["name"]'
1919
storage_client_id: helfi_news_tags
2020
storage_client_config: { }
21-
persistent_cache_max_age: -1
21+
persistent_cache_max_age: 86400
2222
annotation_entity_type_id: null
2323
annotation_bundle_id: null
2424
annotation_field_name: null
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
label: Startsida
1+
label: Huvudsida

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ services:
5151
- internal
5252
db:
5353
container_name: "${COMPOSE_PROJECT_NAME}-db"
54-
image: druidfi/mariadb:10.7-drupal
54+
image: druidfi/mariadb:10.9-drupal
5555
volumes:
5656
- db_data:/var/lib/mysql
5757
ports:

docker/openshift/entrypoints/20-deploy.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ if [ ! -n "$OPENSHIFT_BUILD_NAME" ]; then
1313
exit 1
1414
fi
1515

16+
# Generate twig caches.
17+
if [ ! -d "/tmp/twig" ]; then
18+
drush twig:compile || true
19+
fi
20+
1621
# This script is run every time a container is spawned and certain environments might
1722
# start more than one Drupal container. This is used to make sure we run deploy
1823
# tasks only once per deploy.

0 commit comments

Comments
 (0)