-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cf042a7
commit 394f6fd
Showing
13 changed files
with
190 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
15 | ||
16 |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
conf/cmi/language/fi/field.field.paragraph.event_list.field_event_location.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
label: Tapahtumapaikka | ||
description: 'Näytä "tapahtumapaikka" -suodatin. Älä käytä yhtä aikaa "Etätapahtumat" -suodattimen kanssa. Tapahtumapaikat pitää valita tapahtumakalenterista ennen kuin kopioit linkin.' | ||
description: 'Näytä "tapahtumapaikka" -suodatin.Tapahtumapaikat pitää valita tapahtumakalenterista ennen kuin kopioit linkin.' | ||
settings: | ||
on_label: Kyllä | ||
off_label: Ei |
2 changes: 1 addition & 1 deletion
2
conf/cmi/language/fi/field.field.paragraph.event_list.field_remote_events.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
label: Etätapahtumat | ||
description: 'Näytä "näytä vain etätapahtumat" -suodatin. Älä käytä yhtä aikaa "Tapahtumapaikka" -suodattimen kanssa.' | ||
description: 'Näytä "näytä vain etätapahtumat" -suodatin.' | ||
settings: | ||
on_label: Kyllä | ||
off_label: Ei |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh | ||
|
||
source /init.sh | ||
|
||
if [ -f "../docker/openshift/preflight/preflight.php" ]; then | ||
echo "Running preflight checks ..." | ||
if ! php ../docker/openshift/preflight/preflight.php; then | ||
exit 1 | ||
fi | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/sh | ||
|
||
# Skip deployment script if ENV var is true | ||
if [ "$SKIP_DEPLOY_SCRIPTS" = "true" ]; then | ||
echo "SKIP_DEPLOY_SCRIPTS is true. Skipping the steps." | ||
return | ||
fi | ||
|
||
source /init.sh | ||
|
||
echo "Starting deploy: $(date)" | ||
|
||
# Populate deploy ID so 20-deploy.sh is skipped. | ||
# @todo Remove this once 20-deploy.sh is removed. | ||
set_deploy_id $OPENSHIFT_BUILD_NAME | ||
|
||
drush state:set system.maintenance_mode 1 --input-format=integer | ||
# Run pre-deploy tasks. | ||
# @see https://github.com/City-of-Helsinki/drupal-module-helfi-api-base/blob/main/documentation/deploy-hooks.md | ||
drush helfi:pre-deploy || true | ||
# Run maintenance tasks (config import, database updates etc) | ||
drush deploy | ||
# Run post-deploy tasks. | ||
# @see https://github.com/City-of-Helsinki/drupal-module-helfi-api-base/blob/main/documentation/deploy-hooks.md | ||
drush helfi:post-deploy || true | ||
# Disable maintenance mode | ||
drush state:set system.maintenance_mode 0 --input-format=integer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh | ||
|
||
# Populate twig caches. | ||
if [ ! -d "/tmp/twig" ]; then | ||
drush twig:compile || true | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters