-
-
Notifications
You must be signed in to change notification settings - Fork 0
Updated to Vortex 1.36.0 #141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -39,10 +39,12 @@ ARG VORTEX_FRONTEND_BUILD_SKIP="0" | |
| ENV VORTEX_FRONTEND_BUILD_SKIP=${VORTEX_FRONTEND_BUILD_SKIP} | ||
|
|
||
| ENV COMPOSER_ALLOW_SUPERUSER=1 \ | ||
| COMPOSER_CACHE_DIR=/tmp/.composer/cache \ | ||
| SIMPLETEST_DB=mysql://drupal:drupal@database/drupal \ | ||
| SIMPLETEST_BASE_URL=http://nginx:8080 \ | ||
| SYMFONY_DEPRECATIONS_HELPER=disabled | ||
| COMPOSER_CACHE_DIR=/tmp/.composer/cache | ||
|
|
||
| # Allow custom PHP runtime configuration for Drush CLI commands. | ||
| # The leading colon appends to the default scan directories. | ||
| # @see https://github.com/drevops/vortex/issues/1913 | ||
| ENV PHP_INI_SCAN_DIR="${PHP_INI_SCAN_DIR}:/app/drush/php-ini" | ||
|
Comment on lines
41
to
+47
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ❓ Verification inconclusiveScript executed: # Check PHP_INI_SCAN_DIR references in Dockerfiles and env files
rg -n "PHP_INI_SCAN_DIR"
# Also check the base image and early ENV definitions in the cli.dockerfile
cat -n .docker/cli.dockerfile | head -50Repository: drevops/website Repository: drevops/website stdout: uselagoon/php-8.3-cli-drupal PHP_INI_SCAN_DIR environment variable
So PHP uses the compiled default “scan dir” from the official PHP image: If you want to override/extend that at runtime, set
PHP will use the env var if set; otherwise it uses the built-in scan dir. (php.net) Citations:
PHP Docker image default PHP_INI_SCAN_DIR setting In the Docker Official Image
That matches the official image guidance to drop overrides into Note: Sources: [1] [2] Explicitly set PHP_INI_SCAN_DIR to preserve the default scan directory. Line 47 appends to Instead, explicitly include the default: 🤖 Prompt for AI Agents |
||
|
|
||
| # Starting from this line, Docker adds the result of each command as a | ||
| # separate layer. These layers are cached and reused when the project is | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,91 @@ | ||
| # DrevOps Website - Development Guide | ||
|
|
||
| ## Daily Development Tasks | ||
|
|
||
| ```bash | ||
| # Environment | ||
| ahoy up # Start containers | ||
| ahoy down # Stop containers | ||
| ahoy info # Show URLs and status | ||
| ahoy login # Get admin login URL | ||
|
|
||
| # Build & Database | ||
| ahoy download-db # Download fresh database from remote | ||
| ahoy build # Complete site rebuild | ||
| ahoy provision # Re-provision (import DB + apply config) | ||
| ahoy import-db # Import database from file without applying config | ||
| ahoy export-db # Export current local database | ||
|
|
||
| # Drush commands | ||
| ahoy drush cr # Clear cache | ||
| ahoy drush updb # Run database updates | ||
| ahoy drush cex # Export configuration to code | ||
| ahoy drush cim # Import configuration from code | ||
| ahoy drush uli # Get one-time login link | ||
| ahoy drush status # Check site status | ||
|
|
||
| # Composer | ||
| ahoy composer install | ||
| ahoy composer require drupal/[module_name] | ||
|
|
||
| # Code quality | ||
| ahoy lint # Check code style | ||
| ahoy lint-fix # Auto-fix code style | ||
|
|
||
| # PHPUnit testing | ||
| ahoy test # Run PHPUnit tests | ||
| ahoy test-unit # Run PHPUnit Unit tests | ||
| ahoy test-kernel # Run PHPUnit Kernel tests | ||
| ahoy test-functional # Run PHPUnit Functional tests | ||
| ahoy test -- --filter=TestClassName # Run specific PHPUnit test class | ||
|
|
||
| # Behat testing | ||
| ahoy test-bdd # Run Behat tests | ||
| ahoy test-bdd -- --tags=@tagname # Run Behat tests with specific tag | ||
| ``` | ||
|
|
||
| ## Before Starting Any Task | ||
|
|
||
| 1. **Check cached docs first.** Before investigating any topic, check `.data/ai-artifacts/docs-[topic].md` for existing cached documentation. Do not search the codebase or fetch from the web if a cached doc already exists. | ||
| 2. **Check project docs.** Before making implementation decisions, check the relevant file in `docs/` for project-specific conventions. | ||
| 3. **Fetch and cache if missing.** If no cached doc exists for the topic, fetch from https://www.vortextemplate.com/docs and save to `.data/ai-artifacts/docs-[topic].md` (see [Documentation](#documentation) for format). | ||
|
|
||
| ## Critical Rules | ||
|
|
||
| - **Never modify** `scripts/vortex/` - use `scripts/custom/` for your scripts | ||
| - **Never use** `ahoy drush php:eval` - use `ahoy drush php:script` instead | ||
| - **Always export config** after admin UI changes: `ahoy drush cex` | ||
|
|
||
| ## Key Directories | ||
|
|
||
| - `web/modules/custom/` - Custom modules | ||
| - `web/themes/custom/` - Custom themes | ||
| - `config/default/` - Drupal configuration | ||
| - `scripts/custom/` - Project scripts | ||
| - `patches/` - Module patches | ||
|
|
||
| ## Documentation | ||
|
|
||
| This project uses two documentation sources: | ||
|
|
||
| ### Project-specific documentation (`docs/`) | ||
|
|
||
| The `docs/` directory contains **what** applies to this project: | ||
|
|
||
| - `docs/testing.md` - Testing conventions and agreements | ||
| - `docs/ci.md` - CI provider and configuration | ||
| - `docs/deployment.md` - Hosting provider and deployment rules | ||
| - `docs/releasing.md` - Version scheme and release process | ||
| - `docs/faqs.md` - Project-specific FAQs | ||
|
|
||
| **Always check these files first** to understand project-specific decisions. | ||
|
|
||
| ### Vortex documentation (vortextemplate.com) | ||
|
|
||
| For **how** to perform operations, fetch from https://www.vortextemplate.com/docs. | ||
|
|
||
| Use the sitemap to discover available pages: https://www.vortextemplate.com/sitemap.xml | ||
|
|
||
| **Caching:** Save fetched docs to `.data/ai-artifacts/docs-[topic].md` with header | ||
| `<!-- Source: [URL] | Cached: [YYYY-MM-DD] -->`. | ||
| Re-fetch if user reports docs are outdated. |
Uh oh!
There was an error while loading. Please reload this page.