Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
742f94a
Added CT D11 site install.
richardgaunt Sep 29, 2025
94f27f3
Updated recipe names, .env file for instructions.
richardgaunt Sep 29, 2025
ec1e97d
Added user dependency.
richardgaunt Sep 29, 2025
c304f62
Remove contrib recipes.
richardgaunt Sep 29, 2025
eb7cac8
Added composer to all recipes.
richardgaunt Sep 29, 2025
ab903c0
Added ahoy cmd to install either d11 or CMS.
richardgaunt Sep 29, 2025
37463b7
Added search module dependency.
richardgaunt Sep 29, 2025
05a1edc
Added job to test Drupal CMS installation.
richardgaunt Sep 29, 2025
8664c4a
Added back CT Drupal CMS block adjustments.
richardgaunt Sep 29, 2025
0de1159
Fix location of recipe for drush.
richardgaunt Sep 29, 2025
64ec668
Updated dockerfile to add recipes directory.
richardgaunt Sep 29, 2025
44a6190
Added note for quant provisioning script.
richardgaunt Sep 30, 2025
7db6489
Updated .dockerignore to not ignore recipes dir.
richardgaunt Sep 30, 2025
377ac37
Updated version of CMS.
richardgaunt Sep 30, 2025
f15cb28
Added lint fixes and updated recipe.
richardgaunt Sep 30, 2025
cdce8a0
Updated recipe for drupal cms.
richardgaunt Sep 30, 2025
7cdf859
Updated cms recipe, skipping generated content test.
richardgaunt Oct 1, 2025
3450387
Updated config for new version of modules.
richardgaunt Oct 3, 2025
a8e0d3a
Uninstall unwanted Drupal CMS modules.
richardgaunt Oct 3, 2025
c23d075
Update media setting to match CT requirement.
richardgaunt Oct 3, 2025
5c9c822
Updated setting from linkit update.
richardgaunt Oct 3, 2025
6da15d3
Fix behat tests.
richardgaunt Oct 3, 2025
be2d2da
Updated Media Config.
joshua-salsadigital Oct 6, 2025
3b38d0d
Updated Media Config.
joshua-salsadigital Oct 6, 2025
f5c6f26
Merge branch 'develop' into feature/add-site-install-recipes
joshua-salsadigital Oct 8, 2025
9e86511
Merge branch 'develop' into feature/add-site-install-recipes
joshua-salsadigital Oct 29, 2025
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
12 changes: 11 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,18 @@ DREVOPS_TZ="Australia/Melbourne"
# DRUPAL #
################################################################################

# Drupal Version can be either:
# DRUPAL_VERSION=CMS
# DRUPAL_VERSION=11
DRUPAL_VERSION=11

# Drupal profile name (used only when installing from profile).
DRUPAL_PROFILE=minimal
# Supports two profiles:
# D11
# DRUPAL_PROFILE=/app/recipes/civictheme_starter
# Drupal CMS
# DRUPAL_PROFILE=/app/recipes/drupal_cms_starter
DRUPAL_PROFILE=/app/recipes/civictheme_starter

# Drupal theme name.
DRUPAL_THEME=civictheme
Expand Down
15 changes: 15 additions & 0 deletions .env.local.default
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,21 @@
# Set this variable to "1" to skip the wait.
# AHOY_CONFIRM_WAIT_SKIP=1

# CivicTheme Important Installation settings

# Drupal Version can be either:
# DRUPAL_VERSION=CMS
# DRUPAL_VERSION=11
DRUPAL_VERSION=11

# Drupal profile name (used only when installing from profile).
# Supports two profiles:
# D11
# DRUPAL_PROFILE=/app/recipes/civictheme_starter
# If the version is Drupal CMS then Drupal profie should be:
# DRUPAL_PROFILE=/app/recipes/recipes/drupal_cms_starter
DRUPAL_PROFILE=/app/recipes/civictheme_starter

# Always override DB.
DREVOPS_PROVISION_OVERRIDE_DB=1

Expand Down
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,10 @@ docker-compose.override.yml

# Build artifacts for twig linter.
.twig-cs-fixer.cache

# Ignore recipes directory except specific subdirectories
/recipes/*
!/recipes/civictheme_content_generated_static/
!/recipes/civictheme_drupal_cms_preinstall/
!/recipes/civictheme_drupal_cms_starter/
!/recipes/civictheme_starter/
Comment on lines +66 to +71
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion | 🟠 Major

🧩 Analysis chain

Patterns/order look correct; verify behavior on real paths.

The anchored ignore and explicit exceptions for recipe subdirs are sound. Recommend verifying with git to ensure only the intended paths are tracked.

Run:


🏁 Script executed:

#!/bin/bash
# List files under recipes and show which ones are ignored vs tracked.
fd -H . recipes -t f -0 | xargs -0 -I{} bash -lc 'git check-ignore -v "{}" || echo "TRACKED: {}"'

Length of output: 51807


Remove tracked recipe files from index and adjust ignore patterns
.gitignore entries correctly ignore /recipes/* and unignore the four subdirectories, but existing files remain tracked and children aren’t re‐included by the current exceptions. To apply the ignore rules:

  • Run git rm -r --cached recipes to untrack all recipe files.
  • Commit the updated .gitignore.
  • Add back only desired directories, e.g. include content by changing
    !/recipes/civictheme_content_generated_static/
    to
    !/recipes/civictheme_content_generated_static/**
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
# Ignore recipes directory except specific subdirectories
/recipes/*
!/recipes/civictheme_content_generated_static/
!/recipes/civictheme_drupal_cms_preinstall/
!/recipes/civictheme_drupal_cms_starter/
!/recipes/civictheme_starter/
# Ignore recipes directory except specific subdirectories
/recipes/*
!/recipes/civictheme_content_generated_static/**
!/recipes/civictheme_drupal_cms_preinstall/
!/recipes/civictheme_drupal_cms_starter/
!/recipes/civictheme_starter/
🤖 Prompt for AI Agents
.gitignore around lines 66 to 71: the repository currently has /recipes/*
ignored with exceptions for four subdirectories, but files under recipes are
already tracked so the ignore rules have no effect and the current exceptions
don't re-include children; to fix, remove tracked recipe files from the index
(untrack the whole recipes tree), commit the updated .gitignore, then re-add
only the desired directories or files you want tracked (or adjust the exceptions
to re-include children explicitly) so Git tracks only those allowed subpaths.

1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"composer/installers": "^2.1",
"cweagans/composer-patches": "^1.7",
"drupal/admin_toolbar": "^3.6",
"drupal/cms": "^1.2.5",
"drupal/components": "^3.1",
"drupal/core-composer-scaffold": "^11",
"drupal/core-project-message": "^11",
Expand Down
Loading
Loading