Skip to content
Closed

Demo1 #183

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions .lagoon.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
docker-compose-yaml: docker-compose.yml

project: drupal-base
project: michidemo1

tasks:
pre-rollout:
Expand All @@ -12,19 +12,26 @@ tasks:
# when: LAGOON_ENVIRONMENT_TYPE=="production"

post-rollout:
- run:
name: drush updb
# This will only run if the database does NOT exists.
command: |
if [[ $(drush status --field=Database) != "Connected" ]]; then drush sql-sync -y @lagoon.michidemo1-main @self; fi
service: cli
shell: bash
- run:
name: drush updb
# This will only run if the database exists.
command: |
if [[ $(drush status --field=Database) == "Connected" ]]; then drush -y updb; fi
service: cli
shell: bash
# - run:
# name: drush cim
# # Enable once config sync has been setup.
# command: drush -y cim
# service: cli
# shell: bash
- run:
name: drush cim
# Enable once config sync has been setup.
command: drush -y cim
service: cli
shell: bash
- run:
name: drush cr
# This will only run if the database exists.
Expand Down
5 changes: 5 additions & 0 deletions config/sync/announcements_feed.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
_core:
default_config_hash: 0G5pZBcxbg8ONYzNLd1RJIsvuFFewm9htnS4I-ABKJ8
max_age: 86400
cron_interval: 21600
limit: 10
3 changes: 3 additions & 0 deletions config/sync/automated_cron.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
_core:
default_config_hash: fUksROt4FfkAU9BV4hV2XvhTBSS2nTNrZS4U7S-tKrs
interval: 10800
22 changes: 22 additions & 0 deletions config/sync/block.block.claro_breadcrumbs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: edd18897-8a74-4736-9797-7ffa0851ee05
langcode: en
status: true
dependencies:
module:
- system
theme:
- claro
_core:
default_config_hash: NjcxOBrPOiK5-38t56DwFBDVY4yer7YSlbRWXFuHe7A
id: claro_breadcrumbs
theme: claro
region: breadcrumb
weight: 0
provider: null
plugin: system_breadcrumb_block
settings:
id: system_breadcrumb_block
label: Breadcrumbs
label_display: '0'
provider: system
visibility: { }
22 changes: 22 additions & 0 deletions config/sync/block.block.claro_content.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: 092c7a88-6ef2-4b9e-9575-a8133c0e5470
langcode: en
status: true
dependencies:
module:
- system
theme:
- claro
_core:
default_config_hash: a0Yyx1GeyKarZ4T_yXQBR_ZFKnXiFLtxAb6gWLd8nr0
id: claro_content
theme: claro
region: content
weight: 0
provider: null
plugin: system_main_block
settings:
id: system_main_block
label: 'Main page content'
label_display: '0'
provider: system
visibility: { }
22 changes: 22 additions & 0 deletions config/sync/block.block.claro_help.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: 47d5088e-843f-4aa1-a20d-614ca16c565e
langcode: en
status: true
dependencies:
module:
- help
theme:
- claro
_core:
default_config_hash: jccFSSVqV0WCDb6NtML1VWAWTtDbZ-zn5YgTRMgMrIM
id: claro_help
theme: claro
region: help
weight: 0
provider: null
plugin: help_block
settings:
id: help_block
label: Help
label_display: '0'
provider: help
visibility: { }
32 changes: 32 additions & 0 deletions config/sync/block.block.claro_help_search.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
uuid: a641a752-cb5d-4f75-a116-0879c86ba9a3
langcode: en
status: true
dependencies:
module:
- search
- system
theme:
- claro
enforced:
config:
- search.page.help_search
_core:
default_config_hash: 2ToeZLvlHKTeFY74gpgu1PejLoFyCECLO_gw6rAZwqw
id: claro_help_search
theme: claro
region: help
weight: -4
provider: null
plugin: search_form_block
settings:
id: search_form_block
label: 'Search help'
label_display: visible
provider: search
page_id: help_search
visibility:
request_path:
id: request_path
negate: false
context_mapping: { }
pages: /admin/help
20 changes: 20 additions & 0 deletions config/sync/block.block.claro_local_actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: 1f42a169-4a0a-4683-93e3-853a52a6d9c5
langcode: en
status: true
dependencies:
theme:
- claro
_core:
default_config_hash: CdXfDmRgAvms7EQovxxWPdYi0GitxeRbVtScYK16ZH0
id: claro_local_actions
theme: claro
region: content
weight: -10
provider: null
plugin: local_actions_block
settings:
id: local_actions_block
label: 'Primary admin actions'
label_display: '0'
provider: core
visibility: { }
22 changes: 22 additions & 0 deletions config/sync/block.block.claro_messages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: 07f998cd-71f0-4cc8-937c-26b5eae5e25e
langcode: en
status: true
dependencies:
module:
- system
theme:
- claro
_core:
default_config_hash: '-Ac3ISpIT0PQ-whzD7_dw0SdKi6dAbRFNWdSjOiVDqg'
id: claro_messages
theme: claro
region: highlighted
weight: 0
provider: null
plugin: system_messages_block
settings:
id: system_messages_block
label: 'Status messages'
label_display: '0'
provider: system
visibility: { }
20 changes: 20 additions & 0 deletions config/sync/block.block.claro_page_title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: 926625fb-65a0-4573-bbe7-e56cb79980f2
langcode: en
status: true
dependencies:
theme:
- claro
_core:
default_config_hash: fNwDdW063tk_ktzSWzZVeQS9wzvLooVO280BQ9WrsIs
id: claro_page_title
theme: claro
region: header
weight: -30
provider: null
plugin: page_title_block
settings:
id: page_title_block
label: 'Page title'
label_display: '0'
provider: core
visibility: { }
22 changes: 22 additions & 0 deletions config/sync/block.block.claro_primary_local_tasks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: fe5358d0-bc13-4c61-977f-61889c1e15d5
langcode: en
status: true
dependencies:
theme:
- claro
_core:
default_config_hash: ACjBZI5shAMiiUpsz-inLYVXDqNNXRnSzAWV3kV_8Hw
id: claro_primary_local_tasks
theme: claro
region: header
weight: 0
provider: null
plugin: local_tasks_block
settings:
id: local_tasks_block
label: 'Primary tabs'
label_display: '0'
provider: core
primary: true
secondary: false
visibility: { }
22 changes: 22 additions & 0 deletions config/sync/block.block.claro_secondary_local_tasks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: 9560e0c2-8589-45c0-b582-93eae9d89440
langcode: en
status: true
dependencies:
theme:
- claro
_core:
default_config_hash: 2L0geP-ixCbCkEpW6BVF6H7vDUZN4ea07_Y9CociQm4
id: claro_secondary_local_tasks
theme: claro
region: pre_content
weight: 0
provider: null
plugin: local_tasks_block
settings:
id: local_tasks_block
label: 'Secondary tabs'
label_display: '0'
provider: core
primary: false
secondary: true
visibility: { }
27 changes: 27 additions & 0 deletions config/sync/block.block.olivero_account_menu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
uuid: 0e827316-4b30-481c-95af-28e9ee258c0b
langcode: en
status: true
dependencies:
config:
- system.menu.account
module:
- system
theme:
- olivero
_core:
default_config_hash: gmxYWWHmgbe0Pnv8y48ZLSLH5mEHejOjAP6RLxUfdzU
id: olivero_account_menu
theme: olivero
region: secondary_menu
weight: -4
provider: null
plugin: 'system_menu_block:account'
settings:
id: 'system_menu_block:account'
label: 'User account menu'
label_display: '0'
provider: system
level: 1
depth: 1
expand_all_items: false
visibility: { }
22 changes: 22 additions & 0 deletions config/sync/block.block.olivero_breadcrumbs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: 33ffe6da-ce7b-4b14-8f28-b1b8c3d036a0
langcode: en
status: true
dependencies:
module:
- system
theme:
- olivero
_core:
default_config_hash: VhBzWb7lMRtIOg9G7VSw_0uopi-7zXeHq4vXqqV1HFE
id: olivero_breadcrumbs
theme: olivero
region: breadcrumb
weight: 0
provider: null
plugin: system_breadcrumb_block
settings:
id: system_breadcrumb_block
label: Breadcrumbs
label_display: '0'
provider: system
visibility: { }
22 changes: 22 additions & 0 deletions config/sync/block.block.olivero_content.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: 867519af-0950-43a6-ae80-7d2b3f2595ab
langcode: en
status: true
dependencies:
module:
- system
theme:
- olivero
_core:
default_config_hash: erQSEZF2XUjNmgTl0uNRBzmg18ZGXwUcw2FhApoeuHk
id: olivero_content
theme: olivero
region: content
weight: 0
provider: null
plugin: system_main_block
settings:
id: system_main_block
label: 'Main page content'
label_display: '0'
provider: system
visibility: { }
22 changes: 22 additions & 0 deletions config/sync/block.block.olivero_help.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: 8a1a6984-d4a1-4ada-bb46-fac9e78f5e00
langcode: en
status: true
dependencies:
module:
- help
theme:
- olivero
_core:
default_config_hash: VfPFqqxfkomud5CO8DUijw85QIl9GIxh_nIxLOYESxg
id: olivero_help
theme: olivero
region: content_above
weight: 0
provider: null
plugin: help_block
settings:
id: help_block
label: Help
label_display: '0'
provider: help
visibility: { }
27 changes: 27 additions & 0 deletions config/sync/block.block.olivero_main_menu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
uuid: a8c5bc04-9d48-4e45-b23c-0efd73b8ed1e
langcode: en
status: true
dependencies:
config:
- system.menu.main
module:
- system
theme:
- olivero
_core:
default_config_hash: KWAiziL39uEzmOJEql_wbUP2RtqGceL3WM2CfxhMelE
id: olivero_main_menu
theme: olivero
region: primary_menu
weight: 0
provider: null
plugin: 'system_menu_block:main'
settings:
id: 'system_menu_block:main'
label: 'Main navigation'
label_display: '0'
provider: system
level: 1
depth: 2
expand_all_items: true
visibility: { }
Loading