- Create AnsibleDeployStage using framework's Process module for secure command execution - Integrate AnsibleDeployStage into DeploymentPipelineCommands for production deployments - Add force_deploy flag support in Ansible playbook to override stale locks - Use PHP deployment module as orchestrator (php console.php deploy:production) - Fix ErrorAggregationInitializer to use Environment class instead of $_ENV superglobal Architecture: - BuildStage → AnsibleDeployStage → HealthCheckStage for production - Process module provides timeout, error handling, and output capture - Ansible playbook supports rollback via rollback-git-based.yml - Zero-downtime deployments with health checks
27 lines
434 B
Plaintext
27 lines
434 B
Plaintext
# Git
|
|
.git
|
|
|
|
# Dependencies
|
|
node_modules
|
|
vendor
|
|
|
|
# Environment files
|
|
.env*
|
|
!.env.example
|
|
|
|
# IDE
|
|
.vscode
|
|
.idea
|
|
|
|
# OS files
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Storage - Exclude from Docker build to allow Docker volume mounts
|
|
# Docker needs to create these directories fresh during volume mounting
|
|
# Exclude entire storage directory AND any symlinks that might point to it
|
|
storage/
|
|
storage
|
|
**/storage/sessions
|
|
**/storage/analytics
|
|
**/public/uploads |