Skip to content
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
f3ac199
[#2703] Turned '.dockerignore' and '.gitignore' into deny lists.
AlexSkrypnyk Jul 8, 2026
c1954f8
Updated snapshots.
AlexSkrypnyk Jul 8, 2026
08cfabd
[#2703] Excluded tooling dev artifacts from the image build context.
AlexSkrypnyk Jul 8, 2026
e9532e9
[#2703] Excluded '.DS_Store' files from the image build context.
AlexSkrypnyk Jul 8, 2026
b5421ef
Updated snapshots.
AlexSkrypnyk Jul 8, 2026
d4feb4c
[#2703] Ignored scaffold README files instead of disabling their scaf…
AlexSkrypnyk Jul 8, 2026
9e6618a
[#2703] Removed '.gitignore' migration assertions from the installer …
AlexSkrypnyk Jul 8, 2026
684ce84
Updated snapshots.
AlexSkrypnyk Jul 8, 2026
4f44579
[#2703] Reworded the scaffold comment to survive tool-removal scrubbing.
AlexSkrypnyk Jul 8, 2026
2789e14
Updated snapshots.
AlexSkrypnyk Jul 8, 2026
3c49dbd
Re-triggered CI to clear a flaky check.
AlexSkrypnyk Jul 9, 2026
29a05f8
[#2703] Turned '.gitignore.artifact' into a deny list.
AlexSkrypnyk Jul 9, 2026
97a0a57
Updated snapshots.
AlexSkrypnyk Jul 9, 2026
2ecd85a
[#2703] Aligned '.dockerignore' and '.gitignore.artifact' section ord…
AlexSkrypnyk Jul 9, 2026
f00b123
Updated snapshots.
AlexSkrypnyk Jul 9, 2026
5e6b33b
[#2703] Reconciled wildcard and anchoring patterns across the ignore …
AlexSkrypnyk Jul 9, 2026
cada4d7
Updated snapshots.
AlexSkrypnyk Jul 9, 2026
fc7bab5
[#2703] Excluded CI cache-key files, in-tree harness and dev configs …
AlexSkrypnyk Jul 9, 2026
3a26cda
Updated snapshots.
AlexSkrypnyk Jul 9, 2026
bd2b288
[#2703] Fenced dev-only and CI-provider-specific artifact exclusions.
AlexSkrypnyk Jul 9, 2026
62e4c0a
Updated snapshots.
AlexSkrypnyk Jul 9, 2026
95d1e65
Updated snapshots.
AlexSkrypnyk Jul 9, 2026
aa35ba0
[#2703] Documented the deny-list ignore files, one section per file.
AlexSkrypnyk Jul 9, 2026
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
106 changes: 45 additions & 61 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,73 +1,57 @@
# Ignore everything but a whitelist of files.
# Deny list of paths excluded from the container image build context.
# Everything not listed here is included into the image.
#
# It is very important to only add production assets to the container during
# the build. Adding anything else, like tests files or packages, has potential
# security implications.

# Ignore everything.
*

# Do not ignore web.
#; @todo: Add support for renamed web.
!web

# Do not ignore config.
!config

# Do not ignore recipes.
!recipes

# But still ignore Drupal directories generated by Composer.
# Never let VCS internals, secrets, local overrides, database dumps or
# host-installed dependencies enter the image: they leak data, bloat the
# context and override the in-image build results.

# VCS, IDE and OS files.
.git
.idea
.vscode
**/.DS_Store

# Local override files - may contain credentials.
.env.local
.ahoy.local.yml
docker-compose.override.yml
web/sites/*/settings.local.php
web/sites/*/services.local.yml

# Local data, logs, caches and temporary artifacts.
.artifacts
.data
.logs
.phpunit.cache
.twig-cs-fixer.cache

# Dependencies are installed during the image build.
vendor
node_modules
web/themes/**/node_modules

# Drupal directories generated by Composer during the image build.
web/core
web/libraries
web/modules/contrib
web/themes/contrib
web/profiles/contrib
web/libraries
!drush
drush/contrib/
web/themes/contrib
drush/Commands/contrib

# Do not ignore other required files.
!.circleci
!.docker/config
!.docker/scripts
!.env
!.eslintignore
!.eslintrc.json
!.prettierignore
!.prettierrc.json
!.sass-lint.yml
!.stylelintrc.js
!.twig-cs-fixer.php
!auth.json
!behat.yml
!composer.json
!composer.lock
!gherkinlint.json
!jest.config.js
!package-lock.json
!package.json
!patches
!patches.lock.json
!phpcs.xml
!phpstan.neon
!phpunit.xml
!postcss.config.js
!rector.php
!scripts
!tests
!yarn.lock
# Content files and test artifacts.
web/sites/*/files
web/sites/simpletest

#;< HOSTING_ACQUIA
!hooks
#;> HOSTING_ACQUIA
#;< HOSTING_LAGOON
!.lagoon.env.*
#;> HOSTING_LAGOON
# Theme build assets are compiled during the image build.
web/themes/**/build

#;< VORTEX_DEV
# In-tree tooling package; consumer sites get it from packagist.
!.vortex
# In-tree test harness; consumer sites get tooling from packagist.
.vortex/*
!.vortex/tooling
.vortex/tooling/tests
.vortex/tooling/playground
.vortex/tooling/vendor
.vortex/tooling/.logs
.vortex/tooling/.phpunit.cache
#;> VORTEX_DEV
76 changes: 33 additions & 43 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,55 +1,43 @@
# To ignore OS temporary files use global .gitignore
# https://help.github.com/articles/ignoring-files/#create-a-global-gitignore

# Ignore Drupal webroot, but preserve custom modules, themes and settings.
# To add an override file, explicitly un-ignore it below and add to the
# repository (useful for robots.txt and .htaccess file overrides).
# Deny list of generated, downloaded and local-only files. Everything not
# listed here is tracked.

#; To simplify maintenance of Vortex, we support only 'web' document root
#; defined explicitly here.
web/*
!web/sites/
web/sites/*
!web/modules/
web/modules/*
!web/modules/custom/
!web/themes/
web/themes/*
!web/themes/custom/
!web/profiles/
web/profiles/*
!web/profiles/custom/
!web/sites/default/
web/sites/default/*
!web/sites/default/settings.php
!web/sites/default/services.yml
#;< MIGRATION
!web/sites/default/settings.migration.php
#;> MIGRATION
!web/sites/default/example.settings.local.php
!web/sites/default/example.services.local.yml
!web/sites/default/default.settings.local.php
!web/sites/default/default.services.local.yml
!web/sites/default/includes
# Preserve default settings files to use them in Functional test.
!web/sites/default/default.settings.php
!web/sites/default/default.services.yml
# Allow Drupal Scaffold files. @see https://github.com/drupal-composer/drupal-scaffold#limitation
!web/.editorconfig
!web/.eslintignore
!web/.gitattributes
!web/.htaccess
!web/autoload.php
!web/index.php
!web/update.php
# Drupal directories generated by Composer.
web/core
web/libraries
web/modules/contrib
web/profiles/contrib
web/themes/contrib
drush/Commands/contrib

# Ignore all recipes by default. Custom recipes should be added explicitly.
# Drupal scaffold files copied into the webroot during the build. The README
# files are kept scaffolded because they materialize otherwise-empty extension
# directories that the Drupal core test bootstrap requires to exist.
web/modules/README.txt
web/profiles/README.txt
web/sites/README.txt
web/sites/development.services.yml
web/themes/README.txt

# Local settings overrides.
web/sites/*/settings.local.php
web/sites/*/services.local.yml

# Content files and test artifacts.
web/sites/*/files
web/sites/simpletest

# Composer installs contrib recipes into 'recipes/', next to custom recipes,
# so recipes stay an allow list: un-ignore custom recipes explicitly.
recipes/*
!recipes/page

#;< AI_CODE_INSTRUCTIONS
# Ignore all Claude files by default. Custom files should be added explicitly.
Comment thread
coderabbitai[bot] marked this conversation as resolved.
!.claude
.claude/*
!.claude/settings.json
#;> AI_CODE_INSTRUCTIONS
Expand All @@ -61,20 +49,22 @@ recipes/*
!.claude/skills/
#;> VORTEX_DEV

# Ignore dependencies cache files.
# Dependencies.
/vendor
/node_modules
web/themes/**/node_modules

# Assets.
# Theme build assets.
web/themes/**/build

# Caches, data, logs and temporary artifacts.
.artifacts
.data
.logs
.phpunit.cache
.twig-cs-fixer.cache

# Ignore local override files.
# Local override files.
/docker-compose.override.yml
/.env.local
/.ahoy.local.yml
Original file line number Diff line number Diff line change
@@ -1,57 +1,46 @@
# Ignore everything but a whitelist of files.
# Deny list of paths excluded from the container image build context.
# Everything not listed here is included into the image.
#
# It is very important to only add production assets to the container during
# the build. Adding anything else, like tests files or packages, has potential
# security implications.
# Never let VCS internals, secrets, local overrides, database dumps or
# host-installed dependencies enter the image: they leak data, bloat the
# context and override the in-image build results.

# Ignore everything.
*
# VCS, IDE and OS files.
.git
.idea
.vscode
**/.DS_Store

# Do not ignore web.
!web
# Local override files - may contain credentials.
.env.local
.ahoy.local.yml
docker-compose.override.yml
web/sites/*/settings.local.php
web/sites/*/services.local.yml

# Do not ignore config.
!config
# Local data, logs, caches and temporary artifacts.
.artifacts
.data
.logs
.phpunit.cache
.twig-cs-fixer.cache

# Do not ignore recipes.
!recipes
# Dependencies are installed during the image build.
vendor
node_modules
web/themes/**/node_modules

# But still ignore Drupal directories generated by Composer.
# Drupal directories generated by Composer during the image build.
web/core
web/libraries
web/modules/contrib
web/themes/contrib
web/profiles/contrib
web/libraries
!drush
drush/contrib/
web/themes/contrib
drush/Commands/contrib

# Content files and test artifacts.
web/sites/*/files
web/sites/simpletest

# Do not ignore other required files.
!.circleci
!.docker/config
!.docker/scripts
!.env
!.eslintignore
!.eslintrc.json
!.prettierignore
!.prettierrc.json
!.sass-lint.yml
!.stylelintrc.js
!.twig-cs-fixer.php
!auth.json
!behat.yml
!composer.json
!composer.lock
!gherkinlint.json
!jest.config.js
!package-lock.json
!package.json
!patches
!patches.lock.json
!phpcs.xml
!phpstan.neon
!phpunit.xml
!postcss.config.js
!rector.php
!scripts
!tests
!yarn.lock
# Theme build assets are compiled during the image build.
web/themes/**/build
Loading