-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.gcloudignore
124 lines (101 loc) · 3.07 KB
/
.gcloudignore
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
#
# .gcloudignore
#
# Defines the files *not* sent to Cloud Build.
#
# Note: we could go with the default (that is built by '.gitignore' files), but there
# are some other, unnecessary paths that don't need to be in the build.
#
# Default (follow the '.gitignore's):
#
.gcloudignore
.git
.gitignore
#!include:.gitignore
# ^-- Note: '#!include' is a command; not a comment!
/.gitmodules
/ci/
/first/
# Global '.gitignore' (of the author); not observed by Cloud Build defaults
#
/.idea/
.DS_Store
# Subpackage '.gitignore's
#
# NOTE: These are NOT observed by default by 'gcloud', and the '#!include' syntax does NOT allow paths in subdirectories.
#
# We can live with this. It's still nice to have '.gitignore' in the 'packages/*' subfolders, since they are so
# autonomous. They are the truth - list here should reflect them. If it doesn't, no big harm - just more stuff gets
# shipped at CI/CD builds.
#
# #!include:packages/app/.gitignore
# #!include:packages/app-deploy-ops/.gitignore
# #!include:packages/backend/.gitignore
# ^-- ERROR: "May only include files in the same directory." (Google Cloud SDK 332.0.0)
#.firebase/
#.firebaserc
database-debug.log
firebase-debug.log
firestore-debug.log
ui-debug.log
.screenshots/
stats.html
*.~
packages/backend/tmp/*
packages/backend/gym/
packages/app/dist/*
packages/app/tmp/*
# Development files; not intended for CI
packages/app/.env*
packages/app/dc.base.yml
packages/app/dc.cypress.yml
packages/app/dc.prod.serve.yml
packages/app/docker-compose.local.yml
packages/app/docker-compose.online.yml
packages/app/docker-compose.tools.local.yml
packages/app/tools/gen-vite-env-online.js
#packages/app/tools/gen-vite-env-local.js # used in CI tests
packages/app/tools/gen-vite-env-prod.js
# Case B (not using stock 'cypress/included' image) in CI needs:
#packages/app/tools/cypress.dc/Dockerfile
packages/app/tools/serve.dc/Dockerfile
# Docs & users needed for dev experience
packages/app/local/*.js
# {docs|users}.js,
# Note: 'packages/app/dev' is needed for CI tests
packages/backend/firebase.js
packages/backend/dc.base.yml
packages/backend/docker-compose.yml
packages/backend/docker-compose.app.yml
packages/backend/docker-compose.tools.yml
packages/backend/tools/fireport.js
# CI runs use pre-built Docker images, but having '/dc/' ignored a) creates warnings from Makefile, b) disallows
# using Cloud Build for building that pre-built image. Thus, let it in.
#/dc/
# v-- Might not be accurate, any more... #cleanup
# Unfortunately, 'roll/out/*' also wipes out the '.gitkeep' (and thus the folder). We compensate this by creating
# the folder in the root level (if CI run is involved).
/ops.sandbox*/
# Branding
#
# The '/branding/favicon.png' is needed, and since '.gcloudignore' doesn't seem to support exclusion by '!', we
# use the naming of other files in there.
#
/branding/icon_*
# Documentation-like folders (irrelevant for build)
#
DEVS/
/docs/
/**/.images/
*.md
.editorconfig
*.disabled
*.delme
/_Scrap/
node_modules.tmp
# Possible left-overs
*.tgz
# Final. Keep at the bottom of the list
!.gitkeep
packages/backend/logs/
packages/backend/logs.app/