Files
fewo-stommer/pipeline.toml
T
Lars Stommer f5d8be5eaf
Deploy FeWo mit PipelineManager / deploy (push) Failing after 1m59s
FeWo-Pilot mit freigegebenem PipelineManager 0.1.1 ausführen
2026-10-26 14:43:58 +01:00

76 lines
2.5 KiB
TOML

schema = 1
project = "fewo-stommer"
manager = "0.1.1"
[build]
prepare = [
["composer", "install", "--prefer-dist", "--no-interaction", "--no-progress"],
["npm", "ci", "--no-audit", "--no-fund"],
["npm", "run", "build"],
["php", "-r", "copy('.env.example', '.env');"],
["php", "artisan", "key:generate", "--no-interaction"],
]
test = [["php", "-d", "memory_limit=512M", "vendor/bin/phpunit", "--testsuite=Feature", "--no-progress"]]
finalize = [
["composer", "install", "--no-dev", "--prefer-dist", "--optimize-autoloader", "--no-interaction", "--no-progress"],
["php", "artisan", "optimize:clear", "--no-interaction"],
["bash", "-c", '''
set -eu
test -f vendor/autoload.php
find vendor -mindepth 5 -maxdepth 5 -type d -path '*/resources/lang/*' ! -name de ! -name en -exec rm -rf {} +
if [ -d vendor/nesbot/carbon/src/Carbon/Lang ]; then
find vendor/nesbot/carbon/src/Carbon/Lang -type f ! -name 'de*' ! -name 'en*' -delete
fi
find vendor -mindepth 3 -maxdepth 3 -type d \( -name tests -o -name docs -o -name .github \) -exec rm -rf {} +
find vendor -type f \( -iname '*.md' -o -name 'phpunit.xml*' -o -name '.gitattributes' -o -name '.editorconfig' \) -delete
printf 'Vendor-Dateien nach Bereinigung: '
find vendor -type f | wc -l
'''],
]
exclude = [
"node_modules", "tests", "docs", "styles", "scripts", "storage", ".gitea", ".github",
".claude", ".codex", ".ai", ".cursor", "AGENTS.md", "CLAUDE.md", "phpunit.xml",
"pipeline.toml", "boost.json", "vendor/laravel/boost", "vendor/laravel/pao",
]
required = ["artisan", "vendor/autoload.php", "public/index.php", "public/build/manifest.json"]
[build.environment]
APP_ENV = "testing"
DB_CONNECTION = "sqlite"
DB_DATABASE = ":memory:"
DB_URL = ""
MAIL_MAILER = "array"
CACHE_STORE = "array"
SESSION_DRIVER = "array"
QUEUE_CONNECTION = "sync"
[remote]
public = "public"
backup = [["@php", "artisan", "backup:database", "--no-interaction"]]
activate = [
["@php", "artisan", "migrate", "--force", "--no-interaction"],
["@php", "artisan", "optimize", "--no-interaction"],
["@php", "artisan", "filament:optimize", "--no-interaction"],
]
[remote.shared]
".env" = ".env"
storage = "storage"
"public/storage" = "storage/app/public"
[targets.staging]
branch = "develop"
path = "test.fewo-stommer.de"
url = "https://stommer.info"
php = "/opt/RZphp84/bin/php-cli"
enabled = true
[targets.production]
branch = "main"
require_merge = true
source_branch = "develop"
path = "prod.fewo-stommer.de"
url = "https://www.fewo-stommer.de"
php = "/opt/RZphp84/bin/php-cli"
enabled = false