Skip to content

Commit 12cb3fe

Browse files
Merge pull request #189 from City-of-Helsinki/dev
Release 2023-01-26
2 parents e05dda3 + 0d6363c commit 12cb3fe

9 files changed

Lines changed: 185 additions & 123 deletions

composer.lock

Lines changed: 173 additions & 117 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
@@ -43,6 +43,7 @@ module:
4343
hdbt_admin_tools: 0
4444
hdbt_component_library: 0
4545
hdbt_content: 0
46+
health_check: 0
4647
helfi_announcements: 0
4748
helfi_announcements_tpr: 0
4849
helfi_api_base: 0

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
@@ -20,7 +20,7 @@ field_mapper_config:
2020
value: '$.attributes["name"]'
2121
storage_client_id: helfi_news_groups
2222
storage_client_config: { }
23-
persistent_cache_max_age: -1
23+
persistent_cache_max_age: 86400
2424
annotation_entity_type_id: null
2525
annotation_bundle_id: null
2626
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
@@ -20,7 +20,7 @@ field_mapper_config:
2020
value: '$.attributes["name"]'
2121
storage_client_id: helfi_news_neighbourhoods
2222
storage_client_config: { }
23-
persistent_cache_max_age: -1
23+
persistent_cache_max_age: 86400
2424
annotation_entity_type_id: null
2525
annotation_bundle_id: null
2626
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
@@ -20,7 +20,7 @@ field_mapper_config:
2020
value: '$.attributes["name"]'
2121
storage_client_id: helfi_news_tags
2222
storage_client_config: { }
23-
persistent_cache_max_age: -1
23+
persistent_cache_max_age: 86400
2424
annotation_entity_type_id: null
2525
annotation_bundle_id: null
2626
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)