Skip to content

Commit

Permalink
Merge pull request #1215 from dof-dss/D8UN-uat
Browse files Browse the repository at this point in the history
Release to production
  • Loading branch information
ooneill547 authored Mar 21, 2022
2 parents 52afb94 + 2255c91 commit 5654355
Show file tree
Hide file tree
Showing 215 changed files with 33,804 additions and 615 deletions.
15 changes: 14 additions & 1 deletion .platform.app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ hooks:
do
echo "****** $site deployment ******"
cd /app/web/sites/$site
# Disable Fastly logging
drush cset fastly.settings logging FALSE --input-format=yaml
# Readonlymode module should be installed on all sites,
# but we'll just make sure.
drush en readonlymode -l $site -y
Expand All @@ -118,11 +120,13 @@ hooks:
export FASTLY_API_SERVICE=$temp
# For each multi site - clear cache (including Fastly cache)
for site in uregni odscni fiscalcommissionni urologyservicesinquiry mahinquiry niauditoffice nifiscalcouncil octf employmenttribunalsni independentreviewofeducation nipolicingboard pbni
for site in uregni odscni fiscalcommissionni urologyservicesinquiry mahinquiry niauditoffice nifiscalcouncil octf employmenttribunalsni independentreviewofeducation nipolicingboard investnireview pbni
do
echo "****** $site cache clear ******"
cd /app/web/sites/$site
drush -l $site -y cache-rebuild
# Enable Fastly logging
drush cset fastly.settings logging TRUE --input-format=yaml
done
# The configuration of app when it is exposed to the web.
Expand Down Expand Up @@ -227,3 +231,12 @@ crons:
cscsreviewni:
spec: '10 * * * *'
cmd: 'cd web/sites/cscsreviewni ; drush core-cron'
attorneygeneralni:
spec: '10 * * * *'
cmd: 'cd web/sites/attorneygeneralni ; drush core-cron'
pbni:
spec: '10 * * * *'
cmd: 'cd web/sites/pbni ; drush core-cron'
pcsps:
spec: '10 * * * *'
cmd: 'cd web/sites/pcsps ; drush core-cron'
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@
},
"drupal/readonlymode": {
"Fatal typerror fix": "https://www.drupal.org/files/issues/2020-12-23/readonlymode-string_not_array-3115119-9.patch"
},
"drupal/fastly": {
"Allow disabling of logging": "https://git.drupalcode.org/project/fastly/-/merge_requests/6.patch"
}
},
"drupal-scaffold": {
Expand Down
44 changes: 22 additions & 22 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions config/attorneygeneralni/config/block.block.breadcrumbs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
uuid: f5107a39-5450-4981-a973-425bab1aec71
langcode: en
status: true
dependencies:
module:
- system
theme:
- attorneygeneralni_theme
id: breadcrumbs
theme: attorneygeneralni_theme
region: breadcrumb
weight: 0
provider: null
plugin: system_breadcrumb_block
settings:
id: system_breadcrumb_block
label: Breadcrumbs
provider: system
label_display: '0'
visibility:
request_path:
id: request_path
pages: '<front>'
negate: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
uuid: 7df1dd36-c9ef-4ed5-90af-dffd44654c21
langcode: en
status: true
dependencies:
config:
- views.view.news_search
module:
- system
- views
theme:
- attorneygeneralni_theme
id: exposedformnews_searchnews_search_page
theme: attorneygeneralni_theme
region: search_facets
weight: -5
provider: null
plugin: 'views_exposed_filter_block:news_search-news_search_page'
settings:
id: 'views_exposed_filter_block:news_search-news_search_page'
label: ''
provider: views
label_display: '0'
views_label: ''
visibility:
request_path:
id: request_path
pages: "/news-search\r\n/news-search/date/*"
negate: false
context_mapping: { }
8 changes: 7 additions & 1 deletion config/attorneygeneralni/config/block.block.pagetitle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ uuid: 2bb1768f-5088-4a77-9f3b-b9b66b941fd7
langcode: en
status: true
dependencies:
module:
- system
theme:
- attorneygeneralni_theme
id: pagetitle
Expand All @@ -15,4 +17,8 @@ settings:
label: 'Page title'
provider: core
label_display: '0'
visibility: { }
visibility:
request_path:
id: request_path
pages: "/search\r\n/news-search\r\n/news-search/date/*\r\n/node/*/revisions/view/*"
negate: true
29 changes: 29 additions & 0 deletions config/attorneygeneralni/config/block.block.publisheddate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
uuid: 25454e1f-8b7d-48e9-a0c6-ad4f28eb7aed
langcode: en
status: true
dependencies:
config:
- facets.facet.published_date
module:
- facets
- system
theme:
- attorneygeneralni_theme
id: publisheddate
theme: attorneygeneralni_theme
region: search_facets
weight: -4
provider: null
plugin: 'facet_block:published_date'
settings:
id: 'facet_block:published_date'
label: 'Published date'
provider: facets
label_display: visible
block_id: publisheddate
visibility:
request_path:
id: request_path
pages: "/news-search\r\n/news-search/date/*"
negate: false
context_mapping: { }
25 changes: 25 additions & 0 deletions config/attorneygeneralni/config/block.block.sidemenu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
uuid: aaec2fec-2aeb-40e0-bcaf-9b9a8f9aad61
langcode: en
status: true
dependencies:
config:
- system.menu.main
module:
- system
theme:
- attorneygeneralni_theme
id: sidemenu
theme: attorneygeneralni_theme
region: sidebar_second
weight: 0
provider: null
plugin: 'system_menu_block:main'
settings:
id: 'system_menu_block:main'
label: 'In this section'
provider: system
label_display: visible
level: 1
depth: 0
expand_all_items: false
visibility: { }
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies:
id: sitebranding
theme: attorneygeneralni_theme
region: header
weight: 0
weight: -6
provider: null
plugin: system_branding_block
settings:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
uuid: 35e8eda7-da2b-4807-b86e-aa2ac91404c2
langcode: en
status: true
dependencies:
config:
- views.view.latest_news
module:
- system
- views
theme:
- attorneygeneralni_theme
id: views_block__latest_news_latest_news_list
theme: attorneygeneralni_theme
region: sidebar_second
weight: 0
provider: null
plugin: 'views_block:latest_news-latest_news_list'
settings:
id: 'views_block:latest_news-latest_news_list'
label: ''
provider: views
label_display: visible
views_label: ''
items_per_page: none
context_mapping: { }
visibility:
request_path:
id: request_path
pages: '/news/*'
negate: false
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ id: production
label: production
description: 'Used for production site.'
folder: ../config/attorneygeneralni/production
module: { }
module:
fastly: 0
theme: { }
blacklist: { }
graylist: { }
blacklist:
- fastly.settings
graylist:
- attorneygeneralni_theme.settings
graylist_dependents: true
graylist_skip_equal: true
weight: 0
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ entity_type: node
bundle: page
label: 'Title (Main heading)'
description: ''
required: false
required: true
translatable: true
default_value: { }
default_value_callback: ''
Expand Down
Loading

0 comments on commit 5654355

Please sign in to comment.