-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stack.build.filter.rules
51 lines (41 loc) · 1.26 KB
/
.stack.build.filter.rules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Build artifacts
exclude /src-images-build
# Git metadata
exclude .git
# Runtime files
exclude runtime/*
# Tmp files
exclude /tmp/*
# User data
exclude /.files
# The clean-db skeleton data profile - necessary for creating new data profiles in production
include /dna/db/migration-base/clean-db/data.sql
include /dna/db/migration-base/clean-db/schema.sql
include /dna/db/migration-base/clean-db/media
# Locally synced tenant data
exclude /dna/db/migration-results/*/data.sql
exclude /dna/db/migration-base/*/data.sql
exclude /dna/db/migration-base/*/schema.sql
exclude /dna/db/migration-base/*/media
# Sensitive information
exclude /deploy/config/*secrets.php
exclude /.env
exclude /.*.env
exclude /deployments*
exclude *secrets.php
# Components not deployed via Docker
exclude /ui/angular-frontend/
exclude /ui/angular-frontend-dna/
# Components not necessary to deploy
exclude vendor/yiisoft/yii/docs
exclude vendor/yiisoft/yii/demos
exclude vendor/yiisoft/yii/tests
exclude /dna/vendor/swiftmailer/swiftmailer/test-suite/
exclude /dna/vendor/phpoffice/phppresentation/samples/
exclude /dna/vendor/phpoffice/phpexcel/unitTests/
exclude /dna/vendor/guzzle/guzzle/tests/
# Local components
exclude .sass-cache
exclude /.idea
exclude /tools/code-generator/
exclude /stack/localdb/.db/