Skip to content

Commit 511449f

Browse files
authored
Merge pull request #598 from City-of-Helsinki/update-configuration
Automatic update
2 parents 88879b1 + ff7c6ae commit 511449f

8 files changed

Lines changed: 103 additions & 129 deletions

File tree

composer.lock

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

conf/cmi/image.style.1.5_1298w_866h_LQ.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

conf/cmi/image.style.1.5_649w_433h.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

conf/cmi/responsive_image.styles.liftup_left_right.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ status: true
44
dependencies:
55
config:
66
- image.style.1.5_1011w_674h
7-
- image.style.1.5_1022w_682h_LQ
8-
- image.style.1.5_1200w_800h_LQ
9-
- image.style.1.5_1298w_866h_LQ
7+
- image.style.1.5_1120w_746h_LQ
8+
- image.style.1.5_1183w_789h
9+
- image.style.1.5_1470w_980h_LQ
1010
- image.style.1.5_1726w_1152h_LQ
1111
- image.style.1.5_2022w_1348h_LQ
12-
- image.style.1.5_511w_341h
13-
- image.style.1.5_600w_400h
14-
- image.style.1.5_649w_433h
12+
- image.style.1.5_2366w_1578h_LQ
13+
- image.style.1.5_560w_373h
14+
- image.style.1.5_735w_490h
1515
- image.style.1.5_863w_576h
1616
module:
1717
- helfi_image_styles
1818
_core:
19-
default_config_hash: 5tEd-yvxl-DMt_Sq4YfnYOt00gvTrUIkB2KrYO2_SQQ
19+
default_config_hash: ZLqwSHVmZdWTF3DGj7pyo4F6FROSfKeYm3wBcNLVNjg
2020
id: liftup_left_right
2121
label: 'Liftup Left/Right'
2222
image_style_mappings:
@@ -32,42 +32,42 @@ image_style_mappings:
3232
multiplier: 2x
3333
-
3434
image_mapping_type: image_style
35-
image_mapping: 1.5_863w_576h
35+
image_mapping: 1.5_1183w_789h
3636
breakpoint_id: helfi_image_styles.l
3737
multiplier: 1x
3838
-
3939
image_mapping_type: image_style
40-
image_mapping: 1.5_1726w_1152h_LQ
40+
image_mapping: 1.5_2366w_1578h_LQ
4141
breakpoint_id: helfi_image_styles.l
4242
multiplier: 2x
4343
-
4444
image_mapping_type: image_style
45-
image_mapping: 1.5_649w_433h
45+
image_mapping: 1.5_863w_576h
4646
breakpoint_id: helfi_image_styles.m
4747
multiplier: 1x
4848
-
4949
image_mapping_type: image_style
50-
image_mapping: 1.5_1298w_866h_LQ
50+
image_mapping: 1.5_1726w_1152h_LQ
5151
breakpoint_id: helfi_image_styles.m
5252
multiplier: 2x
5353
-
5454
image_mapping_type: image_style
55-
image_mapping: 1.5_600w_400h
55+
image_mapping: 1.5_735w_490h
5656
breakpoint_id: helfi_image_styles.s
5757
multiplier: 1x
5858
-
5959
image_mapping_type: image_style
60-
image_mapping: 1.5_1200w_800h_LQ
60+
image_mapping: 1.5_1470w_980h_LQ
6161
breakpoint_id: helfi_image_styles.s
6262
multiplier: 2x
6363
-
6464
image_mapping_type: image_style
65-
image_mapping: 1.5_511w_341h
65+
image_mapping: 1.5_560w_373h
6666
breakpoint_id: helfi_image_styles.xs
6767
multiplier: 1x
6868
-
6969
image_mapping_type: image_style
70-
image_mapping: 1.5_1022w_682h_LQ
70+
image_mapping: 1.5_1120w_746h_LQ
7171
breakpoint_id: helfi_image_styles.xs
7272
multiplier: 2x
7373
breakpoint_group: helfi_image_styles

docker/openshift/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ RUN composer install --no-progress --profile --prefer-dist --no-interaction --no
77

88
# Copy custom entrypoints.
99
# @see https://github.com/City-of-Helsinki/drupal-docker-images/tree/main/openshift/drupal
10-
RUN mkdir -p /crons /entrypoints /deploy
10+
RUN mkdir -p /crons /entrypoints /hooks/deploy /hooks/post-db-replace
1111
COPY docker/openshift/entrypoints/ /entrypoints
1212
COPY docker/openshift/crons/ /crons
13-
COPY docker/openshift/deploy /deploy
14-
RUN chmod +x /entrypoints/* /deploy/* /crons/*
13+
COPY docker/openshift/deploy /hooks/deploy
14+
COPY docker/openshift/post-db-replace /hooks/post-db-replace
15+
RUN chmod +x /entrypoints/* /hooks/deploy/* /crons/* /hooks/post-db-replace/*
1516

1617
COPY docker/openshift/init.sh /
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
3+
# Run drush deploy after the database has been replaced.
4+
drush deploy
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/sh
2+
3+
if [ ! -z "$NO_OBFUSCATE_DATA" ]; then
4+
echo "NO_OBFUSCATE_DATA is set. Skipping the step."
5+
return
6+
fi
7+
8+
# Obfuscate user data
9+
drush sql:sanitize
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
3+
drush locale-check
4+
drush locale-update

0 commit comments

Comments
 (0)