Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
920 commits
Select commit Hold shift + click to select a range
416b992
Merge branch 'development' into industrial-migrate
soda736 Sep 8, 2023
37e4ff4
Merge pull request #184 from dof-dss/industrial-migrate
soda736 Sep 8, 2023
59fcb2c
set up cache warmer
DuttonMa Sep 11, 2023
55b97b0
removed padding on menu
KMDOFNI Sep 11, 2023
4d8a4d9
updated moderation panel
KMDOFNI Sep 11, 2023
ccaa8ed
Merge pull request #185 from dof-dss/cache_warmers
DuttonMa Sep 12, 2023
4f93f79
Merge branch 'development' into lg_menu_padding
KMDOFNI Sep 12, 2023
e061121
Hiding book content type from supervisor
soda736 Sep 12, 2023
96c81b2
Installing unity breadcrumb module
soda736 Sep 12, 2023
aad7b90
Updates to files after module updates
soda736 Sep 12, 2023
8173e9e
Merge pull request #186 from dof-dss/lg_menu_padding
KMDOFNI Sep 12, 2023
0df4abd
Merge branch 'development' into D8UN-2415
KMDOFNI Sep 12, 2023
bb9444f
Merge pull request #187 from dof-dss/D8UN-2415
KMDOFNI Sep 12, 2023
066da2f
Custom breadcrumb module for Board member pages
AdamMcFet Sep 12, 2023
ada2581
View changes for same topic publication list
AdamMcFet Sep 12, 2023
b61da02
Updating site email address
soda736 Sep 12, 2023
dadbb33
Some styling updates
AdamMcFet Sep 12, 2023
b70b8e8
Merge pull request #189 from dof-dss/sem-5
AdamMcFet Sep 12, 2023
cd02720
Merge branch 'development' into library-migrate
soda736 Sep 13, 2023
cf4f5ce
Merge pull request #188 from dof-dss/library-migrate
soda736 Sep 13, 2023
3087c5d
Styling updates to footer
AdamMcFet Sep 13, 2023
b334fe4
Merge branch 'development' into sem-6
AdamMcFet Sep 13, 2023
50c31ae
Merge pull request #190 from dof-dss/sem-6
AdamMcFet Sep 13, 2023
2885abb
Logo & Favicons generated
AdamMcFet Sep 14, 2023
d9f0748
Placing & Configuring blocks
AdamMcFet Sep 14, 2023
3caddc1
Fixing glossary view
soda736 Sep 14, 2023
4da088a
Rmeoving tset patch
soda736 Sep 14, 2023
665363e
Adding publication breadcrumb
soda736 Sep 15, 2023
a762304
Deleting book content type and setting allowed content types
soda736 Sep 15, 2023
db89efb
Updating publication content type
soda736 Sep 15, 2023
24e7046
Allowing supervisors to delete all files
soda736 Sep 15, 2023
2cb1bb7
Theming for glossary page
soda736 Sep 15, 2023
64d7736
Update to glossary view
soda736 Sep 15, 2023
5b058ec
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
soda736 Sep 15, 2023
512a9ce
Merge branch 'development' into library-migrate
soda736 Sep 15, 2023
2ed8b63
Tidying template
soda736 Sep 15, 2023
393df82
Merge pull request #192 from dof-dss/library-migrate
soda736 Sep 15, 2023
3cf9e8a
Merge branch 'development' into nibureau-1
KMDOFNI Sep 18, 2023
ef58cf2
updated lang code
KMDOFNI Sep 18, 2023
d11a62c
Deleting Basic Page & Webform content types, uninstalling webform mod…
AdamMcFet Sep 18, 2023
2ce0e9c
Merge pull request #191 from dof-dss/nibureau-1
AdamMcFet Sep 18, 2023
3061c46
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
AdamMcFet Sep 18, 2023
ddd595f
Merge branch 'development' into press-fixes
AdamMcFet Sep 18, 2023
7eb78e1
Merge branch 'development' into lg_lang_header
KMDOFNI Sep 19, 2023
2a0a513
Merge pull request #193 from dof-dss/lg_lang_header
KMDOFNI Sep 19, 2023
7be5742
Fixing supervisor/author permissions
soda736 Sep 19, 2023
22810cb
Merge branch 'development' into library-migrate
soda736 Sep 19, 2023
c655f61
Merge branch 'development' into press-fixes
AdamMcFet Sep 19, 2023
cfa00c6
Merge pull request #194 from dof-dss/press-fixes
AdamMcFet Sep 19, 2023
799919f
Merge branch 'development' into library-migrate
soda736 Sep 19, 2023
cf42610
Merge pull request #195 from dof-dss/library-migrate
soda736 Sep 19, 2023
6727404
Creating custom twig & styling for browsealoud code
AdamMcFet Sep 19, 2023
38d7d94
Creating the custom block
AdamMcFet Sep 19, 2023
05a45e3
CSP settings updated with browsealoud URLs
AdamMcFet Sep 19, 2023
47b3bf8
Merge pull request #196 from dof-dss/sem-ba-1
AdamMcFet Sep 19, 2023
ba4c252
Search view created
AdamMcFet Sep 19, 2023
c88ed43
Rearranging blocks
AdamMcFet Sep 19, 2023
1b35d16
CSS & theme built
AdamMcFet Sep 19, 2023
2abd8af
Search block placed
AdamMcFet Sep 19, 2023
f8f9f9d
Solr modules installed, Search module uninstalled, Solr server config…
AdamMcFet Sep 19, 2023
a27df8e
Footer link menu created & block placed
AdamMcFet Sep 19, 2023
ac183fe
Board member view, entity queue and theming
AdamMcFet Sep 19, 2023
99fc4e7
Merge pull request #197 from dof-dss/nibureau-5
AdamMcFet Sep 20, 2023
2778471
updated menu and child links
KMDOFNI Sep 21, 2023
0d70b48
Adding a looging entry for IC
soda736 Sep 22, 2023
88f8ea8
Putting IC into production mode
soda736 Sep 22, 2023
84e0b6e
Updating GTM
soda736 Sep 22, 2023
b990c4d
Setting cache max-age to 15mins
soda736 Sep 22, 2023
c212c38
Disabling submissions on webforms
soda736 Sep 22, 2023
75b0881
Updating fastly settings
soda736 Sep 22, 2023
3c5979b
Putting interchange in production mode
soda736 Sep 22, 2023
4efcc02
Setting cache max-age to 15mins
soda736 Sep 22, 2023
00daed8
Merge pull request #198 from dof-dss/industrialcort-post-live
soda736 Sep 22, 2023
626d11d
New template to add extra text on Filter description
soda736 Sep 22, 2023
ff854c4
Adding some extra space on the slider block
soda736 Sep 22, 2023
947aeac
Removing unwanted code from template
soda736 Sep 22, 2023
bfe38f6
Fixing conflict
soda736 Sep 22, 2023
1944445
Merge pull request #199 from dof-dss/interchange-post-live
soda736 Sep 22, 2023
8766dfb
Updated menu and submenu theming
KMDOFNI Sep 22, 2023
1f21e4a
Merge branch 'development' into industrialcourt_postlive_menu
KMDOFNI Sep 22, 2023
ff824bb
Merge pull request #200 from dof-dss/industrialcourt_postlive_menu
KMDOFNI Sep 22, 2023
860ed73
Merge branch 'development' into pacni-updates
soda736 Sep 22, 2023
7fc7716
Merge pull request #201 from dof-dss/pacni-updates
soda736 Sep 22, 2023
49746c0
Adding new logo and updating styles
soda736 Sep 22, 2023
5662320
Adding new logo
soda736 Sep 22, 2023
60bd93f
Adding new logo
soda736 Sep 22, 2023
045eefc
Adding new logo
soda736 Sep 22, 2023
d30eb2e
Adding placeholder logo
soda736 Sep 22, 2023
a378e54
Updating supervisor permission for quick publish
AdamMcFet Sep 25, 2023
47531e6
Merge pull request #203 from dof-dss/press-permission
DuttonMa Sep 25, 2023
b6dda0b
Merge branch 'development' into pacni-updates
soda736 Sep 25, 2023
4f05e87
Merge pull request #202 from dof-dss/pacni-updates
soda736 Sep 25, 2023
023e216
Adding missing logo.png
soda736 Sep 26, 2023
0b74b0e
added sidemenu/updated menu levels
KMDOFNI Sep 26, 2023
150a3c5
Merge branch 'development' into pacni-updates
soda736 Sep 26, 2023
caf77b5
Merge pull request #205 from dof-dss/pacni-updates
soda736 Sep 26, 2023
94b86ab
Removing the webform fax field
soda736 Sep 26, 2023
c04db90
update filelog path
DuttonMa Sep 26, 2023
1e1261d
removed twig/added content dir and twig
KMDOFNI Sep 26, 2023
cf7024f
Merge branch 'development' into ic_update-postlive
KMDOFNI Sep 26, 2023
ce0a5a3
uninstall google tag manager
DuttonMa Sep 26, 2023
f9e3d94
Merge branch 'development' into ic_stray_tag
KMDOFNI Sep 26, 2023
095a109
force correct route for press clippings
DuttonMa Sep 26, 2023
3f7ee3a
Merge pull request #208 from dof-dss/post_launch_checks
DuttonMa Sep 26, 2023
ef306f3
Fixing site email
soda736 Sep 26, 2023
e0a1e0d
Resetting pacni logo
soda736 Sep 26, 2023
4f2dd0e
Merge branch 'development' into library-fax
soda736 Sep 26, 2023
e732b76
Merge pull request #209 from dof-dss/library-fax
soda736 Sep 26, 2023
323993a
Merge branch 'development' into ic_update-postlive
KMDOFNI Sep 26, 2023
30c3421
Merge pull request #206 from dof-dss/ic_update-postlive
KMDOFNI Sep 26, 2023
d64b175
Merge branch 'development' into ic_stray_tag
KMDOFNI Sep 26, 2023
32f0de2
Merge pull request #207 from dof-dss/ic_stray_tag
KMDOFNI Sep 26, 2023
65580b6
Pre-live checks for Library
soda736 Sep 26, 2023
840c237
Merge branch 'development' into library-pre-live
soda736 Sep 26, 2023
f191f95
Updated logo & Custom breadcrumb module
AdamMcFet Sep 26, 2023
a6471bf
Merge pull request #210 from dof-dss/library-pre-live
soda736 Sep 26, 2023
6b0c9f7
Merge branch 'development' into nibureau-3
AdamMcFet Sep 26, 2023
69587b7
removed stray tag
KMDOFNI Sep 27, 2023
2f910a8
Merge pull request #211 from dof-dss/nibureau-3
AdamMcFet Sep 27, 2023
1cb970a
Merge branch 'development' into ic_tag_remove
KMDOFNI Sep 27, 2023
2da9891
Merge pull request #212 from dof-dss/ic_tag_remove
KMDOFNI Sep 27, 2023
96c8ff0
Upgrade modules for release 0.45.1
DuttonMa Sep 27, 2023
60f3e4f
theme rebuild
DuttonMa Sep 27, 2023
5a0f810
Drupal core 9.5.11 upgrade
DuttonMa Sep 27, 2023
2b16a85
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
DuttonMa Sep 27, 2023
ebee74a
Built and Configured contact us form
AdamMcFet Sep 27, 2023
dab53e7
Merge pull request #213 from dof-dss/unity_release_0.45.1
DuttonMa Sep 27, 2023
6dba506
Add Wraith tests for new sites
DuttonMa Sep 27, 2023
02469b8
Update press clippings site email address
DuttonMa Sep 27, 2023
b6c3024
Styling updates and CSS
AdamMcFet Sep 27, 2023
4cce7d0
Logo styling update
AdamMcFet Sep 27, 2023
4641e57
syntax correction
DuttonMa Sep 27, 2023
68bb8a0
site search fix
KMDOFNI Sep 27, 2023
3efb0fa
Update cache warmer
DuttonMa Sep 27, 2023
999e761
Merge branch 'development' into parole-search
KMDOFNI Sep 27, 2023
59b1854
Merge pull request #215 from dof-dss/unity3_wraith_tests
DuttonMa Sep 27, 2023
5d24eaa
Merge branch 'development' into parole-search
KMDOFNI Sep 27, 2023
0943360
Merge pull request #216 from dof-dss/parole-search
KMDOFNI Sep 27, 2023
ffe9402
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
AdamMcFet Sep 27, 2023
4805aba
Merge branch 'development' into bureau-form
AdamMcFet Sep 27, 2023
afabf02
updated lang code
KMDOFNI Sep 27, 2023
3a2c7f7
adjusted menu weight on pub search
KMDOFNI Sep 28, 2023
e234200
Merge pull request #218 from dof-dss/lg_langtags
KMDOFNI Sep 28, 2023
1000046
Merge branch 'development' into parole_menu_weights
KMDOFNI Sep 28, 2023
2fb5bd3
Merge pull request #221 from dof-dss/parole_menu_weights
KMDOFNI Sep 28, 2023
5c9d74b
theme rebuild script, config and package adjustments (#219)
johangant Sep 28, 2023
91394b1
Merge branch 'development' into bureau-form
AdamMcFet Sep 28, 2023
6d1dfab
Merge pull request #217 from dof-dss/bureau-form
AdamMcFet Sep 28, 2023
fbefa72
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
KMDOFNI Sep 29, 2023
78de846
removed map from ckeditor
KMDOFNI Sep 29, 2023
519b884
added fastly to production
KMDOFNI Sep 29, 2023
1fe0578
blacklist fastly
KMDOFNI Sep 29, 2023
502bf2c
updated menu theming
KMDOFNI Sep 29, 2023
57a405c
cache max age
KMDOFNI Sep 29, 2023
10ac940
Configuring news solr index
AdamMcFet Sep 29, 2023
0e5a4f9
User permissions updated correctly
AdamMcFet Sep 29, 2023
c93b6f8
Board member display configured
AdamMcFet Sep 29, 2023
a73d5bb
Content types configured
AdamMcFet Sep 29, 2023
04ceaf1
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
AdamMcFet Sep 29, 2023
cc9e890
ultimate cron file
KMDOFNI Sep 29, 2023
b7b943c
updated hex values to variables
KMDOFNI Sep 29, 2023
790c1bb
Merge pull request #222 from dof-dss/bureau-tidy
AdamMcFet Sep 29, 2023
c56b4a3
Merge branch 'development' into D8UN-2429
KMDOFNI Sep 29, 2023
a6f0d94
Merge pull request #223 from dof-dss/D8UN-2429
KMDOFNI Sep 29, 2023
9a99c87
updated typography
KMDOFNI Oct 2, 2023
ee28041
Add core patch for Book TypeError
DuttonMa Oct 2, 2023
6e364e5
Apply core patch for inconsistent book behaviour
DuttonMa Oct 2, 2023
507b1eb
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
DuttonMa Oct 2, 2023
a436e4c
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
DuttonMa Oct 2, 2023
85ce730
Merge pull request #225 from dof-dss/D8UN-2436
DuttonMa Oct 2, 2023
7b962c1
Merge branch 'development' into D8UN-2428
KMDOFNI Oct 3, 2023
d3cbc68
Merge pull request #224 from dof-dss/D8UN-2428
KMDOFNI Oct 3, 2023
ef8f0b9
Removing additional comments field on webform
AdamMcFet Oct 3, 2023
4ac2d36
Installing custom breadcrumb module & placing block
AdamMcFet Oct 3, 2023
1fdc766
Moderation control turned off display
AdamMcFet Oct 3, 2023
cd0ed09
Adjust ci to pull from latest 9.x branches (#226)
johangant Oct 3, 2023
5a62d23
Merge branch 'development' into bureau-form-1
AdamMcFet Oct 4, 2023
dbf36c4
Merge pull request #227 from dof-dss/bureau-form-1
AdamMcFet Oct 4, 2023
97ea2e8
Merge branch 'development' into press-1
AdamMcFet Oct 4, 2023
f92014e
Merge pull request #228 from dof-dss/press-1
AdamMcFet Oct 4, 2023
3497b5b
upgrade maestro hosting
DuttonMa Oct 4, 2023
bfc0e6c
Maestro shell upgrade
DuttonMa Oct 4, 2023
accf2d3
rebuild routes and set press clippings and info library to have no ww…
DuttonMa Oct 4, 2023
07ec127
Merge pull request #229 from dof-dss/maestro_upgrade_and_route_ration…
DuttonMa Oct 4, 2023
babeca5
Creating user role to allow users to manage user accounts
AdamMcFet Oct 5, 2023
f6a5292
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
AdamMcFet Oct 5, 2023
dc0f855
updated system site
KMDOFNI Oct 5, 2023
2b186c0
added google tag container
KMDOFNI Oct 5, 2023
961e201
updated logo and theming
KMDOFNI Oct 6, 2023
b2879b1
Merge pull request #231 from dof-dss/user-press
AdamMcFet Oct 9, 2023
a9b1705
Merge branch 'development' into D8UN-2429-b
KMDOFNI Oct 9, 2023
92687bc
Merge pull request #232 from dof-dss/D8UN-2429-b
KMDOFNI Oct 9, 2023
551a1f5
Deleting unused menus
soda736 Oct 10, 2023
06b6da1
Liguring config files
soda736 Oct 10, 2023
beada0b
Amending publications menu link
soda736 Oct 10, 2023
e5f4d28
Updating GTM
soda736 Oct 10, 2023
8650d02
Merge pull request #233 from dof-dss/parole-top-up
soda736 Oct 10, 2023
3c47b46
CSS & theming work for homepage
AdamMcFet Oct 11, 2023
286c9ac
Block config & placement
AdamMcFet Oct 11, 2023
291e023
Adding svg version of the logo
soda736 Oct 12, 2023
0839753
Creating feature content type for the homepage blocks
AdamMcFet Oct 12, 2023
26b3167
Merge pull request #235 from dof-dss/pacni-logo
soda736 Oct 12, 2023
0f32a62
Merge branch 'development' into nibureau-theming
AdamMcFet Oct 12, 2023
4ee0a13
Merge pull request #234 from dof-dss/nibureau-theming
AdamMcFet Oct 12, 2023
93b6c52
Add updated script to take sites to build as parameters (#236)
johangant Oct 13, 2023
49470b2
Updating view styles
soda736 Oct 16, 2023
b8276b2
Fastly settings
soda736 Oct 16, 2023
385dd32
Turn off author setting
soda736 Oct 16, 2023
903f87a
Fixing search aggregated fields
soda736 Oct 16, 2023
7647866
Updating views link text
soda736 Oct 16, 2023
c9dddfe
Updating readonly setting
soda736 Oct 16, 2023
3224d33
Pre-live checks semc
soda736 Oct 16, 2023
052f505
Merge pull request #237 from dof-dss/semc-pre-live
soda736 Oct 16, 2023
47b8352
Adjust rebuild theme script to take two optional params for sites dir
DuttonMa Oct 17, 2023
80a8e2b
Merge pull request #239 from dof-dss/parameters-for-site-theme-rebuild
DuttonMa Oct 17, 2023
d87387a
Homepage bundle view, styling & block placed
AdamMcFet Oct 17, 2023
3d40cd8
Removing photo field from feature type
AdamMcFet Oct 19, 2023
84c1e9d
Fixing xml feed date bug
soda736 Oct 19, 2023
ba868f0
Styling & template for homepage cards, disabling news index
AdamMcFet Oct 19, 2023
ff45b98
Merge pull request #240 from dof-dss/nibureau-4
AdamMcFet Oct 19, 2023
dd7e898
Merge branch 'development' into inter-xml
soda736 Oct 20, 2023
498e983
Merge pull request #241 from dof-dss/inter-xml
soda736 Oct 20, 2023
ad6bd4c
Further CSS tweaks
AdamMcFet Oct 23, 2023
27cb463
Merge pull request #242 from dof-dss/nibureau-6
AdamMcFet Oct 24, 2023
80100ae
Fixing views caching semc
soda736 Oct 25, 2023
5844344
Merge pull request #243 from dof-dss/semc-cache
soda736 Oct 25, 2023
167321f
Drupal 10 upgrade
DuttonMa Oct 25, 2023
eb64884
Update core_version_requirement
DuttonMa Oct 25, 2023
8734460
Update node_type plugin
DuttonMa Oct 25, 2023
c7f5fd0
Export D10 config for judiciary
DuttonMa Oct 25, 2023
85a5015
Export D10 config for boundary commission
DuttonMa Oct 25, 2023
00ddf39
Export D10 config for industrialcourt
DuttonMa Oct 25, 2023
368f955
Export D10 config for Pacni
DuttonMa Oct 26, 2023
75b177a
Export D10 config for InterchangeNI
DuttonMa Oct 26, 2023
fb157ab
Update solr config
DuttonMa Oct 27, 2023
d288838
Fixes to news content type & view
AdamMcFet Oct 27, 2023
bd17787
Supervisor bug
AdamMcFet Oct 27, 2023
af91ce4
Check Fastly installed before uninstalling
DuttonMa Oct 27, 2023
f9265cc
Merge pull request #244 from dof-dss/nibureau-7
AdamMcFet Oct 30, 2023
9791cef
Export D10 config for info library
DuttonMa Oct 31, 2023
667b469
Export D10 config for Parole Commissioners
DuttonMa Oct 31, 2023
b484380
Export D10 config for lgbcni
DuttonMa Oct 31, 2023
5ec0ab9
Export D10 config for semcommittee
DuttonMa Oct 31, 2023
d495054
Export D10 config for NIBureau
DuttonMa Nov 1, 2023
1bb2e34
Install jquery modules as dependencies were making config import fail
DuttonMa Nov 1, 2023
8d5f754
Update D10 config for press clipping
DuttonMa Nov 1, 2023
ff6570b
remove illegal update check
DuttonMa Nov 1, 2023
15c7dcf
Merge branch 'development' into 10.x
DuttonMa Nov 1, 2023
6ba56ff
Merge pull request #247 from dof-dss/10.x
DuttonMa Nov 1, 2023
b80aa85
Pull in Drupal 10 branches
DuttonMa Nov 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
39 changes: 15 additions & 24 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,10 @@ commands:
- run:
name: Switch dof-dss packages to HEAD on development branch
command: |
composer require dof-dss/nicsdru_unity_theme:dev-development \
dof-dss/nicsdru_origins_modules:dev-development \
dof-dss/nicsdru_unity_modules:dev-development
composer require dof-dss/nicsdru_unity_theme:dev-10.x-dev \
dof-dss/nicsdru_origins_modules:dev-10.x-dev \
dof-dss/nicsdru_unity_modules:dev-10.x-dev \
dof-dss/nicsdru_unity_profile:dev-10.x-dev
install_psh_cli:
description: "Install the Platform.sh CLI tool"
steps:
Expand Down Expand Up @@ -168,6 +169,7 @@ jobs:
GIT_AUTHOR_NAME: "Circle CI"
EDGE_BUILD_BRANCH: "edge"
PLATFORM_REGION: "uk-1.platform.sh"
CPPFLAGS: "-DPNG_ARM_NEON_OPT=0"
steps:
- hosts_keyscan
- checkout_code
Expand Down Expand Up @@ -202,26 +204,15 @@ jobs:
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
nvm install v15.14.0
for site in `ls -l ~/project/project/sites | grep ^d | awk '{print $9}'`
do
if [[ -d ~/project/project/sites/${site}/themes/${site}_theme ]]; then
echo "*** Building theme for ${site} ***"
cd ~/project/project/sites/${site}/themes/${site}_theme
sed -i -e "s/\"nicsdru_unity_theme.*/\"nicsdru_unity_theme\": \"github:dof-dss\/nicsdru_unity_theme#development\",/" package.json
npm install
npm rebuild node-sass
npm run build

git add *.css
git commit -m "Theme rebuild"
else
echo "No theme folder detected under ~/project/project/sites/${site}/themes/${site}_theme, skipping."
fi
done
nvm install v14.21.3
cd $PROJECT_ROOT
./build-themes.sh --sites-dir $PROJECT_ROOT/project/sites

# Push to fixed, non-integrating build branch. GitHub webhook integration will propagate this
# to platform.sh for later steps to use.
cd $PROJECT_ROOT
git add *.css
git commit -m "Theme rebuild"
git push -f origin $EDGE_BUILD_BRANCH

# Separate task to allow us to sync data on PSH environments, without pauses in other jobs.
Expand Down Expand Up @@ -259,7 +250,7 @@ jobs:
do
result=$(platform drush "st -l ${site}" -y -p $PLATFORM_PROJECT -e $EDGE_BUILD_BRANCH | (grep "Drupal bootstrap : Successful" || true) )
if [[ -n $result ]]; then
result2=$(platform drush "pml -l ${site}" -p $PLATFORM_PROJECT -e $EDGE_BUILD_BRANCH | (grep "Fastly (fastly)" || true) )
result2=$(platform drush "pml --status=enabled -l ${site}" -p $PLATFORM_PROJECT -e $EDGE_BUILD_BRANCH | (grep "Fastly (fastly)" || true) )
if [[ -n $result2 ]]; then
echo "***** Uninstall Fastly - ${site} *****"
platform drush "pmu fastly -l ${site}" -y -p $PLATFORM_PROJECT -e $EDGE_BUILD_BRANCH
Expand Down Expand Up @@ -342,9 +333,9 @@ workflows:
- deprecated_code:
requires:
- build
- check_illegal_updates:
requires:
- build
#- check_illegal_updates:
# requires:
# - build

# A nightly build of the project, using all dof-dss packages at HEAD from development branch.
nightly-edge-build:
Expand Down
175 changes: 175 additions & 0 deletions .lando.base.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
name: unity_base
recipe: drupal9
config:
webroot: web
database: mariadb
php: '8.1'
composer_version: '2.5.8'
config:
php: .lando/config/php.ini
database: .lando/config/my.cnf
compose:
- docker-compose.yml
env_file:
- .env
services:
appserver:
scanner: false
overrides:
environment:
CPPFLAGS: "-DPNG_ARM_NEON_OPT=0"
xdebug: debug
build_as_root:
- /app/.lando/scripts/appserver_build.sh
database:
build_as_root:
- "sh /app/.lando/scripts/create_databases.sh"
redis:
type: redis:5.0
persist: true
config:
server: .lando/config/redis.conf
mailhog:
type: mailhog
portforward: true
hogfrom:
- appserver
tooling:
drupal:
cmd: "/app/vendor/bin/drupal --root=/app/web"
xdebug-on:
service: appserver
description: Enable xdebug
cmd: "docker-php-ext-enable xdebug && /etc/init.d/apache2 reload"
user: root
xdebug-off:
service: appserver
description: Disable xdebug
cmd: "rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && /etc/init.d/apache2 reload"
user: root
npm:
service: appserver
cmd: /usr/bin/npm
yarn:
service: appserver
cmd: yarn
'nightwatch [site] [test]':
service: appserver
description: "Run Nightwatch.js functional tests.\n\n
Usage:\n
> Run a specific test with tag\n
lando nightwatch <site> --tag your-tag\n
> Run a single test suite file, relative to Drupal core location\n
lando nightwatch <site> ../modules/custom/modulename/tests/src/Nightwatch/Tests/yourTestSuite.js\n
> Run all tests except Core\n
lando nightwatch <site> --skiptags core\n"
cmd: "sh /app/.lando/scripts/run_nightwatch.sh"
options:
site:
passthrough: true
description: Multisite to run tests on
alias:
- s
interactive:
type: input
message: Which Unity site (e.g. uregni) ?
weight: 1
test:
passthrough: true
phpunit:
description: "Run PHPUnit tests. You can pass options, e.g. --group=unity, as you require"
service: appserver
cmd: cd /app/web/core && /app/vendor/bin/phpunit -c /app/web/core/phpunit.xml
phpcs:
description: Run PHPCS checks against all custom Drupal 8 code
service: appserver
cmd: /app/phpcs.sh "/app" "/app/web/sites /app/web/modules/origins /app/web/modules/custom /app/web/themes/custom /app/web/profiles/unity"
drck:
description: Run drupal-check for Drupal 9 compatibility e.g. 'lando drck ./'
service: appserver
cmd: /app/vendor/bin/drupal-check
drush:
server: appserver
cmd: drush -r /app/web
'db-export [file]': disabled
'db-import <file>': disabled
'db-export [name]':
service: database
description: Exports database to a file. To export all databases, don't provide the name'
cmd: "sh /app/.lando/scripts/export_database.sh"
user: root
options:
name:
description: Database to export
alias:
- n
'db-import [database] [file]':
service: database
description: Import file to database
cmd: "sh /app/.lando/scripts/import_database.sh"
user: root
options:
database:
passthrough: true
description: Database to import to
alias:
- d
interactive:
type: input
message: Which database to import to?
weight: 1
file:
passthrough: true
description: File to import
alias:
- f
interactive:
type: input
message: Which file to import?
weight: 2
'db-create [name]':
service: database
description: Create a new database
cmd: "sh /app/.lando/scripts/create_database.sh"
user: root
options:
name:
passthrough: true
description: Name of the database to create
alias:
- n
interactive:
type: input
message: What do you want to call this database?
weight: 1
'db-delete [name]':
service: database
description: Delete a database
cmd: "sh /app/.lando/scripts/delete_database.sh"
user: root
options:
name:
passthrough: true
description: Name of the database to delete
alias:
- n
interactive:
type: input
message: Which database do you want to delete?
weight: 1
db-list:
service: database
description: List all databases
cmd: mysql -uroot -e "SHOW DATABASES;"
user: root
rebuild-unity-site-themes:
service: appserver
description: "Re-builds the Unity themes for each sites. Examples:\n\n
> Rebuild all site themes\n
lando rebuild-unity-site-themes\n
> Rebuild single site theme\n
lando rebuild-unity-site-themes --site-names octf\n
> Rebuild site themes specified - comma separated\n
lando rebuild-unity-site-themes --site-names octf,pbni"
cmd: "/app/build-themes.sh"

4 changes: 4 additions & 0 deletions .lando/config/my.cnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[mysqld]
max_allowed_packet=32M
innodb_locks_unsafe_for_binlog = 1
transaction-isolation=REPEATABLE-READ
45 changes: 45 additions & 0 deletions .lando/config/php.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
[PHP]

;;;;;;;;;;;;;;;
; PHP Globals ;
;;;;;;;;;;;;;;;

short_open_tag = Off
output_buffering = 4096
allow_call_time_pass_reference = Off
request_order = "GP"
register_long_arrays = Off
register_argc_argv = Off
magic_quotes_gpc = Off
enable_dl = Off
allow_url_fopen = On
realpath_cache_size = "800K"
realpath_cache_ttl = "86400"
disable_functions =
sendmail_path=/bin/true

[Date]
date.timezone = "UTC"

;;;;;;;;;;;;;;;;;;;;;;
;; PACKAGE SETTINGS ;;
;;;;;;;;;;;;;;;;;;;;;;

; Xdebug
xdebug.start_with_request=yes
xdebug.max_nesting_level = 512
xdebug.client_host="${LANDO_HOST_IP}"

; Globals
expose_php = on
max_execution_time = 180
max_input_time = 900
max_input_vars = 10000
memory_limit = -1
upload_max_filesize = 100M
post_max_size = 200M
error_reporting = E_ALL & ~E_DEPRECATED
ignore_repeated_errors = on
html_errors = off
display_errors = on
log_errors = on
3 changes: 3 additions & 0 deletions .lando/config/redis.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
databases 17
maxmemory 64mb
maxmemory-policy volatile-lru
Loading